Login  Register

Re: SIFT features and stats

Posted by Koen Hufkens on Nov 05, 2013; 4:13pm
URL: http://imagej.273.s1.nabble.com/SIFT-features-and-stats-tp5005446p5005454.html

Thanks Rainer,

I'm new to ImageJ so I'm really unfamiliar with the options and syntax /
available functions.

Cheers,
Koen




On Tue, Nov 5, 2013 at 4:46 AM, Rainer M. Engel <[hidden email]> wrote:

> Am 04.11.2013 21:25, schrieb Koen Hufkens:
> > Sadly, although I can read the
> > features in to bUnwarpJ I cannot access the statistics as produced by the
> > SIFT procedure as there is no text output.
>
> Well you could write one yourself with a script language, or the built
> in macro language since SIFT creates a multi point selection you could
> read the position of these points.
>
> //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> //run SIFT between two images (also poss. from stack)
>
> type = selectionType();
> if (type==10) {
>         getSelectionCoordinates(xArr, yArr);
>         print("SIFT found: "+xArr.length+" corresponding points");
>         print("printing coordinates:");
>         for (i=0; i<xArr.length; i++) {
>                 showProgress(i+1, xArr.length);
>                 print(xArr[i]+","+yArr[i]);
>         }
> } else {
>         print("No correspondencies could be found.");
> }
> //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Best regards,
> Rainer
>
>
> --
> Rainer M. Engel, Dipl. Digital Artist
> scientific|Media GbR
> Pichelsdorfer Str. 143
> 13595 Berlin
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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