Dear JDing,
You could store each position of your tray in the ROI manager and save this. Threshold your image, open the tray ROI selections, select the first one, analyse particles and add to manager, select second, analyse particles, etc. till all are selected. Somewhere during this you have to delete the tray positions from the ROI manager and you should have all your kernels in order in the ROI manager.
Hope this makes sense.
Best wishes
Kees
Dr Ir K.R. Straatman
Senior Experimental Officer
Centre for Core Biotechnology Services
University of Leicester
http://www.le.ac.uk/biochem/microscopy/home.htmlImageJ workshops 29 and 30 July 2013:
http://www.le.ac.uk/biochem/microscopy/ImageJ2013.html-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of JDing
Sent: 17 June 2013 17:18
To:
[hidden email]
Subject: changing default labels on ROI Manager
Hello
I am working on a macro to measure individual corn kernels placed in a 6x8 tray. I am able to start with a scan of the tray and get measurements for each individual kernel using the "Analyze particles" function, but I'd like an automated way for the ROI Manager to label each kernel (A1, A2, ... , F8), or at least number them in order (label the kernel in A1 as 1, the kernel in A2 as 2, the kernel in F8 as 48), without having to manually relabel them myself.
From observation, it seems like the default for the ROI Manager is to label in order of smallest to greatest y coordinate. If there was some way to change the default to label based on both y and x coordinates, then maybe it would work. However, I am unfamiliar with programming (I have been exclusively using the "Record Macro" function so far), so any suggestions on how to change the labelling or any other ways would be great.
Thanks
JDing
--
View this message in context:
http://imagej.1557.x6.nabble.com/changing-default-labels-on-ROI-Manager-tp5003493.htmlSent from the ImageJ mailing list archive at Nabble.com.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html