Login  Register

Re: method setAutoThreshold(java.lang.String,boolean,int) related

Posted by Md Tamjidul Hoque on Jun 25, 2010; 1:45am
URL: http://imagej.273.s1.nabble.com/method-setAutoThreshold-java-lang-String-boolean-int-related-tp3687825p3687826.html

Please ignore this public request - got the answer, many thanks to Wayne.


Md Tamjidul Hoque wrote:

> Dear All
>
> Line #1 ImageProcessor ip = imp.getProcessor();
> Line #2: ip.setAutoThreshold("Default", false, 1); //
> 1=BLACK_AND_WHITE_LUT
> could not figure out why line number #2 is not working,
> complier says:  cannot find symbol "method
> setAutoThreshold(java.lang.String,boolean,int)"
> location: class ij.process.ImageProcessor, and the methods exists in
> the source (http://rsb.info.nih.gov/ij/developer/source/).
>
> But, Line #3: ip.setAutoThreshold("Default"); is fine to the complier.
>
> Any help is much appreciated.
>
> Thanks
> Tamjid
>