Best autofocus method for subsampled images
- From: "Levenspiel" <img.proc@xxxxxxxxx>
- Date: 25 Sep 2005 16:58:27 -0700
Hello, are you aware of focusing algorithms that works fine on small
portions of an image? I found an article "Autofocusing in Computer
Microscopy: Selecting the Optimal Focus Algorithm" by Y.Sun, S.Duthaler
and B.J.Nelson, with a roundup of focus algorithms: it points out that
the best way of focusig subsampled images is by Tenenbaum Gradient
(Tenengrad). Have you got any experience on the matter?
Tenengrad approach isn't illustrated in details (the article refers to
another source, "Focusing" by Krotkov, a document that I couldn't
retrieve by University), so I had perplexities coding it. Basically it
convolves the image with Sobel operators and then sums the square of
the gradient vector components. When doing such an operation I don't
know the legal values that the result can assume: in other words,
ignoring the theory behind this algorithm, I dunno if the values
returned by this operations must range between 0 and 255 (since I am
analyzing a 256 grey level image) or not.
Any help is higly appreciated and welcome. Thanks in advance.
Best regards.
.
- Follow-Ups:
- Re: Best autofocus method for subsampled images
- From: Martin Leese
- Re: Best autofocus method for subsampled images
- Prev by Date: Re: RGB conversion to 8 bit gray scale
- Next by Date: Fastest shape detection algorithm
- Previous by thread: RGB conversion to 8 bit gray scale
- Next by thread: Re: Best autofocus method for subsampled images
- Index(es):