http://imagej.273.s1.nabble.com/Using-overlays-on-image-channels-tp5003054p5003109.html
> Rasband, Wayne (NIH/NIMH) [E] wrote
>> imp.setMode(CompositeImage.GRAYSCALE);
>> overlay = new Overlay();
>> // add rectangle that will be displayed on channel 1 of all 10 frames
>> rect1 = new Roi(100, 100, 100, 100);
>> rect1.setPosition(1, 1, 0);
>> overlay.add(rect1);
>>
>
> Thanks Wayne, very nice example.
>
> Please could you steer me towards the Java API equivalent of
> imp.setMode(CompositeImage.GRAYSCALE);?
>
> I've tried looking at the ImagePlus and Stack api docs, but not found the
> way to actually do it to the imageplus i'm trying to work with.
>
> Thanks,
> Ed
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/Using-overlays-on-image-channels-tp5003054p5003107.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html