Login  Register

how to mark single pixel in a overlay

Posted by Jeremy Adler on Jan 07, 2016; 12:45pm
URL: http://imagej.273.s1.nabble.com/how-to-mark-single-pixel-in-a-overlay-tp5015334.html

I am want to use the overlay to mark a single pixel in an image that has been zoomed to show individual pixels - within a macro.

But I cannot see how to mark a single pixel in the overlay.
Overlay.drawRect   marks an area of 2x2 pixels centred on my target pixel but 1x1
Overlay.drawLine  with the two positions set the same, marks a single pixel offset

I can mark a single pixel using the ROI manager and then move it and convert it to an overlay, but this seems unduly cumbersome, is there a better way of marking single pixels in a overlay ?


Dr Jeremy Adler
Senior res engineer
BioVis
Dag Hammarskjölds väg 20
Uppsala Universitet,  752 37 Uppsala ,Sweden



+46 70 1679349

http://www.biovis.uu.se




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