Login  Register

Re: Calculating atan2 on pixels from two input images in a macro

Posted by bnorthan on May 16, 2014; 11:56pm
URL: http://imagej.273.s1.nabble.com/Calculating-atan2-on-pixels-from-two-input-images-in-a-macro-tp5007758p5007773.html

Hi Adam

You can try runMacro("nameofmacro").  If your script is in the fiji macros
directory it should find it without the directory name... if it is
somewhere else you have to include the directory name.




On Fri, May 16, 2014 at 7:15 PM, [hidden email] <[hidden email]>wrote:

> I did look into creating arrays from the images and that method is still
> very
> slow.
>
> I think I'll try to create a jython script to perform the atan2
> calculation,
> as I've done some python programing. Would I be able to call this script
> from my existing macro or would I need to convert the entire macro to a
> jython script?
>
> Thanks,
> Adam
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/Calculating-atan2-on-pixels-from-two-input-images-in-a-macro-tp5007758p5007772.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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