Posted by
Herbie on
Jan 07, 2016; 1:22pm
URL: http://imagej.273.s1.nabble.com/how-to-mark-single-pixel-in-a-overlay-tp5015334p5015335.html
Dear Jeremy,
let's face it: A pixel has no extension, it is a (point with an
associated) number.
What you call a pixel, is part of a zero-order interpolation of an array
of points (numbers), i.e. an area of equal gray-level or colour.
How this area is positioned with respect to the underlying number is a
matter of taste. The area may be centered to the number or the number
may be on its upper left corner.
Guess what is the case when displaying images in ImageJ...
I know, all this won't help with your problem, but perhaps it makes the
issue clearer.
Best
Herbie
::::::::::::::::::::::::::::::::::::::::::
Am 07.01.16 um 13:45 schrieb Jeremy Adler:
> 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>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html