Re: Adding arrows in each frame

Posted by jmutterer on
URL: http://imagej.273.s1.nabble.com/Adding-arrows-in-each-frame-tp5024427p5024428.html

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