Login  Register

setSlice(int) method

Posted by cihat eldeniz on Jun 03, 2009; 1:19pm
URL: http://imagej.273.s1.nabble.com/setSlice-int-method-tp3692295.html

Hello,

After some processing on an image, I open a new image with 700 slices. Then,
I do:

newImage.setSlice(sliceNo);

where sliceNo is calculated to be 350. [I also entered 350 by hand while
debugging.] But when I call

newImage.getSlice()

it gives 1 [rather than 350]. Do you think this is a bug?

Thanks.