Posted by
CARL Philippe (LBP) on
Oct 13, 2020; 5:29pm
URL: http://imagej.273.s1.nabble.com/draw-ROIs-on-different-slices-tp5024033p5024042.html
Dear Ping,
For your second request, either you are programming in macro language and use the Roi.setProperty(key, value) and Roi.getProperty(key) methods:
http://wsr.imagej.net/developer/macro/functions.html#Ror in java and use the setProperty(java.lang.String key, java.lang.String value) and getProperty(java.lang.String property) methods:
https://imagej.nih.gov/ij/developer/api/ij/gui/Roi.htmlMy best regards,
Philippe
Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 42 89
----- Mail original -----
De: "Wang Ping" <
[hidden email]>
À: "imagej" <
[hidden email]>
Envoyé: Mardi 13 Octobre 2020 16:30:36
Objet: 回复: draw ROIs on different slices
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&data=02%7C01%7Ckrs5%40leicester.ac.uk%7C6df5029f721a4c64d35a08d86f228cff%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C1%7C637381541472428945&sdata=x6uzNo18o9RJofPYgzN17mYPp7I232ro4xVa0jbfv1s%3D&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