IJ.run("")

‹ Previous Topic Next Topic ›
 
classic Classic list List threaded Threaded
♦
♦
1 message Options
Reply | Threaded
Open this post in threaded view
♦
♦
|

IJ.run("")

M.Gbarin
Hallo everyone,

I used this code to make a stack binary;

IJ.selectWindow("Stack1");
IJ.run("Make Binary","calculate black");
ip     =  stack.getProcessor(10); // stack is longer than 10
pixel =  ip.getPixels();

the problem that my pixel Array has not only the values 0 or 255!!!!

can someone help me??

best regards,
Gbarin