Image Processing and Microscope Autofocus

Hello!
I am new to programming, and am having some trouble with a program I'm working on. I'm attempting to write a plugin to autofocus a lab microscope in MATLAB. I have so far written one function that, given the name of an image as a string, will compute the image's "focus index," and a second function that, given a list of image names as strings, will return an array with the focus index of the associated image as the respective element of the array (for example, the "focus index" of the 7th image in the list will be the seventh entry of the array). Ideally, this program should be able to take a set of images, determine which is the most focused, and then move the objective lens to the z-position of that image. While the function can successfully assign the largest focus index to the best focused image, I'm completely lost on where to go from there. Any help or suggestions would be very much appreciated! :) (and if it's relevant, the microscopy software I'm using is ValeLabs' micro-manager)
-Baonai

댓글 수: 1

Shlok Sharma
Shlok Sharma 2020년 1월 20일
any chance you figured out an algorithm that works?
pls let me know iam also working on a similar project.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2012년 5월 30일

0 개 추천

Go here for a description of how to attain focus automatically: http://en.wikipedia.org/wiki/Auto-focus For example you could look for maximum contrast - that's one of the methods it discusses.

카테고리

도움말 센터File Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

질문:

2012년 5월 29일

댓글:

2020년 1월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by