write voxel on composite image stack

Posted by Philippe Mailly on
URL: http://imagej.273.s1.nabble.com/write-voxel-on-composite-image-stack-tp5012080.html

Hi,

it appears that setVoxel (x, y, z, i) does not work in a  image
composite stack :

imgMaxLocalMerge is a composite image stack with 2 channels this doesn't
work

imgMaxLocalMerge.setC(2);
imgMaxLocalMerge.getStack().setVoxel(max.get(i).getX(),
max.get(i).getY(), max.get(i).getZ(), 0);


imgMaxLocalproj is a composite image with 2 channels, this works

imgMaxLocalproj.setC(2);
imgMaxLocalproj.getProcessor().putPixel(max.get(i).getX(),
max.get(i).getY(), 0);


Philippe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html