Re: creating a fixed line segment and movable image

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/creating-a-fixed-line-segment-and-movable-image-tp3698825p3698831.html

Hi Robert,

On Mon, 16 Jul 2007, Robert Barton wrote:

> I'm a fairly new ImageJ user (~4months) and have been trying to figure
> out if it is possible to draw a line segment on an image and then elect
> to keep the segment fixed in it's position while moving the image
> underneath it.
>
> I'd like to be able to move the image and have a real-time plot profile
> eventually.

I think you cannot do that without writing a plugin.  If you are
proficient in Java, you might want to look at
http://rsb.info.nih.gov/ij/plugins/graphic-overlay.html for an example how
to draw a line without destroying the underlying image.

Hth,
Dscho