Login  Register

Re: Help with macro

Posted by Kenton Arkill on Nov 30, 2018; 2:31pm
URL: http://imagej.273.s1.nabble.com/Help-with-macro-tp5021508p5021511.html

Ah... sorry just saw the projection.
Resizing z to one slice (not that long computaionally) and then drawing
your lines?
Kenton

On Fri, 30 Nov 2018, 14:25 Aleksandr Mironov <
[hidden email] wrote:

> Thanks Kenton,
>
> But wouldn't it be computationally expensive if you need to reorient the
> whole stack for that purpose? Another consideration is that some
> features needs preferable orientation of cutting to be recognizable.
>
> Sincerely,
>
> Alex
>
>
> On 30/11/2018 14:14, Kenton Arkill wrote:
> > Hi
> > The way I would do it is by rotation the stack by the angle of the
> profile
> > line... so the profile is now along the x axis.
> > I'd then rotate (transformJ) 90 around the x axis.
> > Best
> > Kenton
> >
> > On Fri, 30 Nov 2018, 14:02 Aleksandr Mironov <
> > [hidden email] wrote:
> >
> >> Dear Listers,
> >>
> >> I just wonder will it be possible by means of ImageJ macro language do
> >> the following:
> >>
> >> in the stack of images to create arbitrary (random angles) 2 parallel
> >> lines that go through several slices. I would like projection of these
> >> lines to be drawn on slices. In general it should not be too hard but I
> >> cannot get my head around how to calculate these projections if you have
> >> random (but known) angles in all 3 axes (X,Y,Z).
> >>
> >> Sincerely,
> >>
> >> Alex
> >>
> >> --
> >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >>
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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