Hi everyone,
after quite some time using NIH image/ SCION image we would like to switch over to imagej. We need to measure lenght (segmented line) and area/ perimeter (polygon selection) in TIFF movie files of microvascular structures. The problem is that after measuring the lenght the program overrides this measurement when measuring area/perimeter. We need to obtain up to 100 corresponding data pairs of lenght and perimeter from one file before saving the measurement table. Any ideas for a workaround? I couldn´t find any macro/ plugin that would work for us. Best regards, Malte Schröder Universitätsklinikum Hamburg-Eppendorf Universityhospital Hamburg, Germany |
Hi Malte,
it looks like a task for a macro. I do not know your exact requirements, but I see two possibilities: (1) If you need several measurements in one frame: Add all selections to the ROI Manager (simply type "t"). Then a macro could loop over all rois, determine the selection type, do the measurement, read the values from the Results table and enter the values into an array. (Note one of the nice features of the ROI Manager: it remembers which stack slice a selection belongs to). (2) If you need exactly one measurement per frame: Write a macro that loops over the frames, calls "waitForUser" for each slice, then the user selects the first roi and clicks "ok". The macro does the measurement, enters the result into an array. The same for the second type of measurement. The advantage of this method: the macro could tell the user exactly what to do, set the appropriate slice and selection tool, etc. (nevertheless, the user can, e.g. jump back one slice to do a selection again for correction). In both cases, finally the macro should print all the values from the array(s) into a window. For some of the relevant macro functions, see http://rsb.info.nih.gov/ij/developer/macro/functions.html#roiManager http://rsb.info.nih.gov/ij/developer/macro/ functions.html#selectionType http://rsb.info.nih.gov/ij/developer/macro/functions.html#getResult http://rsb.info.nih.gov/ij/developer/macro/functions.html#nSlices http://rsb.info.nih.gov/ij/developer/macro/functions.html#waitForUser http://rsb.info.nih.gov/ij/developer/macro/functions.html#print You will have to do a bit of macro programming (- fortunately, that's not too difficult, there are plenty of sample macros and the Plugins>Macros>Record function will help you. Hope this helps a bit, Michael ________________________________________________________________ On 11 Sep 2008, at 18:30, Malte Schröder wrote: > Hi everyone, > > after quite some time using NIH image/ SCION image we would like to > switch > over to imagej. We need to measure lenght (segmented line) and area/ > perimeter (polygon selection) in TIFF movie files of microvascular > structures. The problem is that after measuring the lenght the program > overrides this measurement when measuring area/perimeter. We need > to obtain > up to 100 corresponding data pairs of lenght and perimeter from one > file > before saving the measurement table. > Any ideas for a workaround? I couldn´t find any macro/ plugin that > would > work for us. > > Best regards, > > > Malte Schröder > > Universitätsklinikum Hamburg-Eppendorf > > Universityhospital Hamburg, Germany > -- > View this message in context: http://n2.nabble.com/multiple- > measurements-in-one-results-table-tp1083056p1083056.html > Sent from the ImageJ mailing list archive at Nabble.com. |
In reply to this post by Malte Schröder
On Sep 11, 2008, at 12:30 PM, Malte Schröder wrote:
> Hi everyone, > > after quite some time using NIH image/ SCION image we would like to > switch > over to imagej. We need to measure lenght (segmented line) and area/ > perimeter (polygon selection) in TIFF movie files of microvascular > structures. The problem is that after measuring the lenght the program > overrides this measurement when measuring area/perimeter. We need to > obtain > up to 100 corresponding data pairs of lenght and perimeter from one > file > before saving the measurement table. > Any ideas for a workaround? I couldn´t find any macro/ plugin that > would > work for us. The ImageJ 1.41l daily build allows area and line measurements to be recorded in the same Results window. Upgrade by running the Plugins>Utilities>Update ImageJ command and selecting "daily build" from the drop down menu. -wayne |
Free forum by Nabble | Edit this page |