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
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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!