Adding arrows in each frame

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

Adding arrows in each frame

Dipanjana Ghosh
Dear all,

Can anyone give some hint about how to add arrows in each frame to label a
particular structure over a series of time frames?

Thanking you

Regards,
Dipanjana

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Adding arrows in each frame

jmutterer
Hi,

This tool could be used to do that task:

  var color="#ffa05d";
  var strokeWidth = 2;
  var style="filled";
  macro "Arrows In Stack Tool - C037L00ffLfff8Lff8f" {
    getCursorLoc(x, y, z, flags);
    makeArrow(x-50, y-50, x, y, style);
    Roi.setStrokeWidth(strokeWidth);
    Roi.setStrokeColor(color);
    run("Add Selection...");
    run("Next Slice [>]"); // or comment his out and switch slices manually.
  }

Open a new macro editor with Plugin>New>Macro
Paste the code above and install the tool with the install button in the
editor toolbar.
Then use the tool by clicking in the image stack.

Jerome.



On Wed, 3 Feb 2021 at 14:30, Dipanjana Ghosh <[hidden email]> wrote:

> Dear all,
>
> Can anyone give some hint about how to add arrows in each frame to label a
> particular structure over a series of time frames?
>
> Thanking you
>
> Regards,
> Dipanjana
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Adding arrows in each frame

Krs5
In reply to this post by Dipanjana Ghosh
Dear Dipanjana,

I have written a macro that allows you to set arrows or any other annotation on any frame you want. Unfortunately, my Uni has made changes to the website late last year and that means that a lot of info, including the macros, are currently not online. But if you contact me off list, I can send you the macro.

Best wishes

Kees


Dr Ir K.R. Straatman FRMS

Advanced Imaging Facility

University of Leicester
www.le.ac.uk/advanced-imaging-facility<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.le.ac.uk%2Fadvanced-imaging-facility&data=04%7C01%7Ckrs5%40leicester.ac.uk%7C485530d84c0e42d1de5608d88a42a407%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637411366106508827%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I6oSweJYMVqx%2B%2B3VtQ8cXgHDUy4%2F6zDmx%2FSd2lGC8bc%3D&reserved=0>


[hidden email]

________________________________

Subject: Adding arrows in each frame

Dear all,

Can anyone give some hint about how to add arrows in each frame to label a
particular structure over a series of time frames?

Thanking you

Regards,
Dipanjana

--
ImageJ mailing list: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&amp;data=04%7C01%7Ckrs5%40leicester.ac.uk%7C4b5c831d4fc34b367d5b08d8c847c14d%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C637479557804641577%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Muf2XLuVkw2iqt6LdsbsFCJVH1RKUYo6%2FrzWX4tjsFQ%3D&amp;reserved=0

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