Login  Register

Re: automatic detection out-of-focus images

Posted by Daniel James White on Mar 14, 2011; 3:46pm
URL: http://imagej.273.s1.nabble.com/JACoP-parameter-and-PSF-tp3685080p3685090.html

Hi Elizabeth,


On Mar 14, 2011, at 4:37 PM, Crowell Elizabeth wrote:

> Hello ImageJ list members, Dan, Gabriel,
>
> Gabriel Landini a écrit :
>>
>>> Has anyone developed an algorithm in ImageJ for determining if an image
>>> is out-of-focus?
>>>    
>>
>> In addition to the links that Dan provided, be aware that there is no method
>> to say with certainty if one single arbitrary photo is in focus unless you
>> know in advance the image contents.
>> For example, a photo of a field that has no high frequency features might be
>> impossible to tell apart from another which is out of focus
> I think I understand the problem: if my image does not contain any real objects, then it cannot be determined if it is in-focus.  The first step in my screening procedure is to eliminate "empty" images, so hopefully this should not be an issue?
> However, I am not working with stacks, actually, but with a set of 2D images!
> I apologize for not having specified this in my first email.  In the image set, I simply want to eliminate the out-of-focus images (i.e. blurry enough to confound analysis) and keep only the sharp ones for analysis.
>
> I have tried the extended depth-of-field plugin and it is very easy to use, and gave me beautiful results on the first try.  This is far superior to generating simple projections, evidently.  I wish I were erudite enough to understand how it works, so that I could apply this principle to my current problem.  My problem is not to sort blurry pixels from sharp pixels in the same image, but to sort blurry images from sharp images.
>
> Is there a way to apply the wavelet transform concept to sort my images?

Where there is a will there is a way. It would probably require some scripting, and resources to get that done.
Out of the box, well there might be... but I'm not sure myself.

maybe there is something in CellProfiler that looks for blurry images to throw them out....
indeed maybe there is...

http://cellprofiler.org/forum/viewtopic.php?f=2&t=233&hilit=blur

cheers

Dan



>
> Thanks again,
> Elizabeth
>
>
>> In microscopy the problem is worse than standard photography because we deal
>> with semi transparent objects in different z planes, so one might not be
>> focusing exactly the same thing at various z distances. In such instances,
>> defining depth from focus fails (that is there might be highly focused regions
>> in more than one z plane).
>>
>> Cheers
>>
>> Gabriel
>>  
>
>
> --
>
> Elizabeth CROWELL
>
> ----------------------------------------------------------------------
> Membrane Traffic and Cell Division Research Group
> Institut Pasteur
> 28 rue du Dr Roux
> 75015 PARIS, France
>
> Tel :  01.44.38.94.07
> Fax : 01.45.68.89.54
> ----------------------------------------------------------------------

Dr. Daniel James White BSc. (Hons.) PhD
Senior Microscopist / Image Visualisation, Processing and Analysis
Light Microscopy and Image Processing Facilities
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstrasse 108
01307 DRESDEN
Germany

+49 (0)15114966933 (German Mobile)
+49 (0)351 210 2627 (Work phone at MPI-CBG)
+49 (0)351 210 1078 (Fax MPI-CBG LMF)

http://www.bioimagexd.net  BioImageXD
http://pacific.mpi-cbg.de                Fiji -  is just ImageJ (Batteries Included)
http://www.chalkie.org.uk                Dan's Homepages
https://ifn.mpi-cbg.de  Dresden Imaging Facility Network
dan (at) chalkie.org.uk
( white (at) mpi-cbg.de )