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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Md Tamjidul Hoque
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
Reply | Threaded
Open this post in threaded view
|

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

Md Tamjidul Hoque
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
>