|
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
|