Login  Register

Re: »Ø¸´: draw ROIs on different slices

Posted by Fred Damen on Oct 13, 2020; 6:56pm
URL: http://imagej.273.s1.nabble.com/draw-ROIs-on-different-slices-tp5024033p5024044.html

Greetings Ping,

I assume that you are trying to create what I know as a map, i.e., a
separate dataset that is conceptually the same as the original with the
pixel values representing properties of the underlying pixel data -
intended to use as a color overlay of the original data/image. If this is
the case...

With the source dataset current and no rois present,
Image>Duplicate
Process>Math>Set...  (either nan or 0 or don't do by choice).

Draw the roi on the source image then go to the map image and Ctrl-Shift-E.
With the map dataset current Process>Math>Set... to the desired number.
Repeat until happy.

Note:
1) Set the display range appropriately for the map dataset or you will not
detect your contrast.
2) The above works on a one roi on one slice at a time basis. I do not
know how to do a distinct roi on each slice in one shot basis; this would
be nice to know how to do.

If my suspicion about you intentions are correct you may want to look into:
https://imagej.net/Colorizer_Overlay

Enjoy,

Fred


On Tue, October 13, 2020 9:30 am, Wang Ping wrote:

> Hi Kees,
>
> Thank you so much for your email,
> For the first question, would it be possible to save the ROIs (drawn on
> different slices) into a mask image volume, with the slice information
> matching the original image volume?
>
> For the second question, I meant to see if it is possible to assign a
> different label to different ROI, for example, I draw one ROI and label
> all the pixels inside with "1", and another ROI with all pixels labeled
> with "2", this way I can recognize different ROIs.
>
> Thanks again,
> Ping
>
> ________________________________
> ·¢¼þÈË: ImageJ Interest Group <[hidden email]> ´ú±í Straatman, Kees
> (Dr.) <[hidden email]>
> ·¢ËÍʱ¼ä: 2020Äê10ÔÂ13ÈÕ 16:23
> ÊÕ¼þÈË: [hidden email] <[hidden email]>
> Ö÷Ìâ: Re: draw ROIs on different slices
>
> Dear Ping,
>
> Check in the ROI Manager menu under More > Options if 'Associate "Show
> All" Rois with slices' is selected.
>
> I am not sure what you mean with your second question about label images.
>
> Best wishes
>
> Kees
>
>
> Dr Ir K.R. Straatman
> Advanced Imaging Facility
>
> University of Leicester
> www.le.ac.uk/advanced-imaging-facility<http://www.le.ac.uk/advanced-imaging-facility<http://www.le.ac.uk/advanced-imaging-facility<http://www.le.ac.uk/advanced-imaging-facility>>
>
>
> ________________________________
> From: Wang Ping <[hidden email]>
> Sent: 13 October 2020 03:48
> To: [hidden email] <[hidden email]>
> Subject: draw ROIs on different slices
>
> Hello everyone,
>
> I wondered if ImageJ is able to draw ROIs on different slices and it also
> remembers the slice information. Currently it does not seems that ImageJ
> include the slice# information, all the ROIs basically are overlapped.
> Also not sure if ImageJ is able to make label images.
>
> Thanks for any hints.
> Ping
>
> --
> ImageJ mailing list:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C6df5029f721a4c64d35a08d86f228cff%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C1%7C637381541472428945&amp;sdata=x6uzNo18o9RJofPYgzN17mYPp7I232ro4xVa0jbfv1s%3D&amp;reserved=0
>
> --
> 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