write voxel on composite image stack

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

write voxel on composite image stack

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