Login  Register

Re: I need your help

Posted by Wayne Rasband on Dec 22, 2005; 2:24pm
URL: http://imagej.273.s1.nabble.com/I-need-your-help-tp3704195p3704196.html

> I've got a problem and don't know how to solve it,
> so I would like you to help me
>
> Before explaining my problem,
> what I do is :
> I capture an image at an regular interval
> and pass the image as a parameter to
> ParticleAnalyzer.analyze(ImagePlus imp, ImageProcessor ip) method.
> I use the result to process my own task then.
>
> This program worked quite well and seemed there
> was no problem at first.
>
> (from here is my problem)
> But suddenly an error occured and the error dialog says
> "A thresholded image or an 8-bit binary image is
> required. Refer to Image->Adjust->Threshold
> or to Process->Binary->Threshold"

Are you setting the threshold levels using ij.setThreshold()?

-wayne