new plugin: Align_4

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

new plugin: Align_4

Gabriel Landini
I wrote a plugin to align manually up to 4 images.

http://imagejdocu.tudor.lu/imagej-documenation-wiki/plugins/align_4

Let me know of any problems.
Cheers,

Gabriel
Reply | Threaded
Open this post in threaded view
|

Re: new plugin: Align_4

Malgorzata Swider
Is it possible to rotate one of the image during the alignment?
How to move faster one of the image to align to the other?
MS

----- Original Message -----
From: "Gabriel Landini" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 22, 2006 11:44 AM
Subject: new plugin: Align_4


>I wrote a plugin to align manually up to 4 images.
>
> http://imagejdocu.tudor.lu/imagej-documenation-wiki/plugins/align_4
>
> Let me know of any problems.
> Cheers,
>
> Gabriel
Reply | Threaded
Open this post in threaded view
|

Specify and position an ROI

Henry Barwood
In reply to this post by Gabriel Landini
When I use the specify tool to create a ROI, it appears to place the center
of the ROI on the specified X,Y coordinates. Is there a way to place the
left or right side (Maximum X or Minimum X coordinate) of the ROI at a
specific position? Thanks.

Henry Barwood
Associate Professor of Science, Earth Sciences
Department of Math and Physics
MSCX 312G
Troy University
Troy, Alabama
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Specify and position an ROI

Wayne Rasband
> When I use the specify tool to create a ROI, it appears to place the
> center  of the ROI on the specified X,Y coordinates. Is there a way
> to place the left or right side (Maximum X or Minimum X coordinate)
> of the ROI at a specific position? Thanks.

Use the Edit>Selection>Specify command. It places the center of the
selection at the specified coordinates if "Centered" is checked,
otherwise it places places it at the upper left corner at the specified
coordinates.

-wayne
Reply | Threaded
Open this post in threaded view
|

Simple way to locate the center of a circle or arc?

Henry Barwood
I need to locate the X,Y coordinates of the center of a circle or arc. Is
there a macro or plugin that does this? Thanks.

Henry Barwood
Associate Professor of Science, Earth Sciences
Department of Math and Physics
MSCX 312G
Troy University
Troy, Alabama
[hidden email]

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Wayne
Rasband
Sent: Friday, September 22, 2006 12:08 PM
To: [hidden email]
Subject: Re: Specify and position an ROI

> When I use the specify tool to create a ROI, it appears to place the
> center  of the ROI on the specified X,Y coordinates. Is there a way
> to place the left or right side (Maximum X or Minimum X coordinate)
> of the ROI at a specific position? Thanks.

Use the Edit>Selection>Specify command. It places the center of the
selection at the specified coordinates if "Centered" is checked,
otherwise it places places it at the upper left corner at the specified
coordinates.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: Simple way to locate the center of a circle or arc?

Jonathan Hilmer
An issue related to this came up once before, and since there were no
replies, it might be that no plugin exists for this.  However, the
math is pretty simple:

With a center of x0, y0 and three points of x1,y1 etc:

a = [[x1,y1,1], [x2,y2,1], [x3,y3,1]]
d = -[[x1^2+y1^2, y1, 1], [x2^2+y2^2, y2, 1], [x3^2+y3^2, y3, 1]]
e = [[x1^2+y1^2, x1, 1], [x2^2+y2^2, x2, 1], [x3^2+y3^2, x3, 1]]

x0 = -d/(2*a)
y0 = -e/(2*a)

Jonathan


On 9/22/06, Henry Barwood <[hidden email]> wrote:

> I need to locate the X,Y coordinates of the center of a circle or arc. Is
> there a macro or plugin that does this? Thanks.
>
> Henry Barwood
> Associate Professor of Science, Earth Sciences
> Department of Math and Physics
> MSCX 312G
> Troy University
> Troy, Alabama
> [hidden email]
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Wayne
> Rasband
> Sent: Friday, September 22, 2006 12:08 PM
> To: [hidden email]
> Subject: Re: Specify and position an ROI
>
> > When I use the specify tool to create a ROI, it appears to place the
> > center  of the ROI on the specified X,Y coordinates. Is there a way
> > to place the left or right side (Maximum X or Minimum X coordinate)
> > of the ROI at a specific position? Thanks.
>
> Use the Edit>Selection>Specify command. It places the center of the
> selection at the specified coordinates if "Centered" is checked,
> otherwise it places places it at the upper left corner at the specified
> coordinates.
>
> -wayne
Reply | Threaded
Open this post in threaded view
|

Re: new plugin: Align_4

Gabriel Landini
In reply to this post by Malgorzata Swider
On Friday 22 September 2006 17:41, Malgorzata Swider wrote:
> Is it possible to rotate one of the image during the alignment?

Not at the moment. One problem is that each time the image is rotated it is
interpolated so it becomes fuzzy quite quickly (see the Align_Slice plugin
which can do this).
I wrote this to align successive shots in a microscope with a xy stage (which
keeps coordinates aligned, so no rotation is needed). I'll think about adding
this.

> How to move faster one of the image to align to the other?

Two ways:
1) Increase the step size with the slide bar (the default is 1 pixel, but one
can increase it), or

2) use fiducial points (draw a line from the point to move in the active image
to the target point in the rest of the image and press "Fiducial").

Cheers,

Gabriel