Re: Align images by ROI

Posted by Stephan Saalfeld on
URL: http://imagej.273.s1.nabble.com/Advice-for-GUI-plugin-development-tp5001300p5001369.html

Riccardo,

a single line segment makes only two points.  You can just set the start
and end-point of the line and then estimate a translation (shift only),
rigid transformation (shift and rotation), or similarity transformation
(shift, rotation, and isotropic scale).  For higher order
transformations, you need more points that are not on a single line.

If you have more than one line segment, you can convert them to start
and end points each and you will be fine.

Read about the Roi methods---it's probably fairly easy to do.

Best,
Stephan




On Fri, 2013-01-11 at 15:09 +0100, Riccardo Cabbri wrote:

> Hi Stephan,
> thanks for the advice!
> Your plugin works very well, but I don't have so many secure
> correspondence points on my images, so I am thinking about the
> possibility of converting some lines in a group of points.
> Do you think that a couple of lines would generate enough points for the
> plugin?(maybe it is possible to have one point for every pixel of the line).
> Is there a way to do this in imagej?
> Many thanks!
> Riccardo
>
> On 07/01/2013 00:21, Stephan Saalfeld wrote:
> > Hi Riccardo,
> >
> > have you checked this:
> >
> > http://fiji.sc/wiki/index.php/Landmark_Correspondences
> >
> > ?  Instead of a line you would use points, but that shouldn't make it
> > more difficult.  The benefit is that the plugin offers more choices for
> > the desired transformation model and that it can handle all types of
> > images.
> >
> > Best,
> > Stephan
> >
> >
> >
> >
> >
> >
> > On Sat, 2013-01-05 at 16:22 +0100, Riccardo Cabbri wrote:
> >> Hi everybody,
> >> My goal is to use ImageJ/Fiji to compare images of the same object taken
> >> in different times, so I want to align them using ROI.
> >> I found thishttp://fiji.sc/wiki/index.php/Align_Image_by_line_ROI  that
> >> is almost pefect but can't handle RGB images.
> >> Are there any alternatives?
> >> Thanks in advance!
> >>
> >> --
> >> ImageJ mailing list:http://imagej.nih.gov/ij/list.html
> > --
> > ImageJ mailing list:http://imagej.nih.gov/ij/list.html
> >
> > ____________________________________________________________________________________
> > Your personal email. Anytime, anywhere.
> > Ridiculously affordable at $19.95. No contracts.
> > http://www.getpeek.com/lavabit.html
> > ____________________________________________________________________________________
>
>

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