creating a fixed line segment and movable image

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

creating a fixed line segment and movable image

Barton, Robert
Hi,

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.

Thanks for any help.
Reply | Threaded
Open this post in threaded view
|

Re: creating a fixed line segment and movable image

Rotella, Anthony M. (GRC)[]
Robert,

        Just curious, but why does the line have to stay fixed, and the
image move, and not vice versa?

Tony

>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On
>Behalf Of Robert Barton
>Sent: Monday, July 16, 2007 3:20 PM
>To: [hidden email]
>Subject: creating a fixed line segment and movable image
>
>Hi,
>
>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.
>
>Thanks for any help.
>
Reply | Threaded
Open this post in threaded view
|

Re: creating a fixed line segment and movable image

Barton, Robert
Eventually, I'd like to be able to compare two images to each other using an x- and a y- profile.  I figure it will be easiest to incorporate two fixed line segements along with fixing one image.  That would allow me to have a constant x- and y- profile of the fixed image and I could move the other image and observe it's real-time profile to align it with the fixed image.
 
I guess at this point I'm just trying to take one small step towards a much larger solution.

________________________________

From: ImageJ Interest Group on behalf of Rotella, Anthony M. (GRC)[]
Sent: Mon 7/16/2007 3:52 PM
To: [hidden email]
Subject: Re: creating a fixed line segment and movable image



Robert,

        Just curious, but why does the line have to stay fixed, and the
image move, and not vice versa?

Tony

>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On
>Behalf Of Robert Barton
>Sent: Monday, July 16, 2007 3:20 PM
>To: [hidden email]
>Subject: creating a fixed line segment and movable image
>
>Hi,
>
>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.
>
>Thanks for any help.
>
Reply | Threaded
Open this post in threaded view
|

memory limit of JVM

Aryeh Weiss
In reply to this post by Barton, Robert
In previous posts about the memory limit of the JVM, people noted that they
could not start ImageJ with limits over 1700MB. On my machine, it is about 1408
(1472 already does not work). Is there any way around this (eg, a more recent
JVM, or an option that can be set)?
Since I now have 3GB or RAM, it would be nice if ImageJ could use it.
Also, is the situation any better under Linux?

Thanks in advance for any information on this subject.
--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384050
Reply | Threaded
Open this post in threaded view
|

Re: creating a fixed line segment and movable image

dscho
In reply to this post by Barton, Robert
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
Reply | Threaded
Open this post in threaded view
|

Re: memory limit of JVM

Nicola Gisbert
In reply to this post by Aryeh Weiss
Hello Aryeh,

we had the same problem under Win2000. In spite of the 4 GB RAM only 1400
MB could be used in ImageJ. One reason for this situation is the advers
location of the OS libraries of the 32-bit Windows OS. Using Linux (in
particular Fedora Core 5) now 2700 MB can be used in one ImageJ-Task.

Hope that will help you a little.
Bye,

Nicola Gisbert
holography und lasertechnology

caesar research center
Ludwig-Erhard-Allee 2
D-53175 Bonn
Reply | Threaded
Open this post in threaded view
|

Re: memory limit of JVM

Aryeh Weiss
Nicola Gisbert wrote:
> Hello Aryeh,
>
> we had the same problem under Win2000. In spite of the 4 GB RAM only 1400
> MB could be used in ImageJ. One reason for this situation is the advers
> location of the OS libraries of the 32-bit Windows OS. Using Linux (in
> particular Fedora Core 5) now 2700 MB can be used in one ImageJ-Task.
>

Thank you for the reply. With a very helpful hint from Wayne, I am now able
to allocate at least 2700MB (I actually allocate 2300MB). This is done by using
the JRockit 6 JVM, and adding a /3GB flag in the windows Boot.ini file. This is
a link that told me how to do it

http://dev2dev.bea.com/blog/hstahl/archive/2005/12/how_to_get_almo.html

So far ImageJ works with the JRockit JVM but I have not done anything really
extensive with it.

--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384050
Reply | Threaded
Open this post in threaded view
|

Re: memory limit of JVM

ctrueden
Thanks Aryeh, I have added that link to the ImageJ wiki's "How do I
increase the memory in ImageJ" FAQ entry.

-Curtis

On 7/17/07, Aryeh Weiss <[hidden email]> wrote:

> Nicola Gisbert wrote:
> > Hello Aryeh,
> >
> > we had the same problem under Win2000. In spite of the 4 GB RAM only 1400
> > MB could be used in ImageJ. One reason for this situation is the advers
> > location of the OS libraries of the 32-bit Windows OS. Using Linux (in
> > particular Fedora Core 5) now 2700 MB can be used in one ImageJ-Task.
> >
>
> Thank you for the reply. With a very helpful hint from Wayne, I am now able
> to allocate at least 2700MB (I actually allocate 2300MB). This is done by using
> the JRockit 6 JVM, and adding a /3GB flag in the windows Boot.ini file. This is
> a link that told me how to do it
>
> http://dev2dev.bea.com/blog/hstahl/archive/2005/12/how_to_get_almo.html
>
> So far ImageJ works with the JRockit JVM but I have not done anything really
> extensive with it.
>
> --aryeh
> --
> Aryeh Weiss
> School of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph:  972-3-5317638
> FAX: 972-3-7384050
>
Reply | Threaded
Open this post in threaded view
|

Re: memory limit of JVM

Michael Weber-4
Dear all,

the "AggressiveHeap" command (as mentioned in the Wiki) works fine for
me. I used around 7 GB in ImageJ on a 8 GB machine (Windows and Java
64bit) for making movies out of tif-files.

cheers,
Michael


Curtis Rueden schrieb:

> Thanks Aryeh, I have added that link to the ImageJ wiki's "How do I
> increase the memory in ImageJ" FAQ entry.
>
> -Curtis
>
> On 7/17/07, Aryeh Weiss <[hidden email]> wrote:
>> Nicola Gisbert wrote:
>> > Hello Aryeh,
>> >
>> > we had the same problem under Win2000. In spite of the 4 GB RAM only
>> 1400
>> > MB could be used in ImageJ. One reason for this situation is the advers
>> > location of the OS libraries of the 32-bit Windows OS. Using Linux (in
>> > particular Fedora Core 5) now 2700 MB can be used in one ImageJ-Task.
>> >
>>
>> Thank you for the reply. With a very helpful hint from Wayne, I am now
>> able
>> to allocate at least 2700MB (I actually allocate 2300MB). This is done
>> by using
>> the JRockit 6 JVM, and adding a /3GB flag in the windows Boot.ini
>> file. This is
>> a link that told me how to do it
>>
>> http://dev2dev.bea.com/blog/hstahl/archive/2005/12/how_to_get_almo.html
>>
>> So far ImageJ works with the JRockit JVM but I have not done anything
>> really
>> extensive with it.
>>
>> --aryeh
>> --
>> Aryeh Weiss
>> School of Engineering
>> Bar Ilan University
>> Ramat Gan 52900 Israel
>>
>> Ph:  972-3-5317638
>> FAX: 972-3-7384050
>