Nothing I can think of is quick. So there is definitely a better way.
When you have your lines you can duplicate (so just the volume of interest).
along axes which might be helpful.
> I need the stack still to be full stack, so it will be possible to go
> through all the slices. This problem is just a subset of bigger task -
> to have 3 sets of parallel lines (sets oriented ortogonally to each
> other in 3D: X,Y,Z) in a stack. So, the stack should be preserved.
>
> Sincerely,
> Alex
>
>
> On 30/11/2018 14:31, Kenton Arkill wrote:
> > 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>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>