Hello,
I have 500 images in a folder and I want to measure it's grey value (min, max and mean) for each ROIs labelled 1,2,3,4. Is it possible to run a Macro from Batch Process that can measure each ROI and return four individual ROI results like a set of measurements for 1 in one table then a set of measurements for 2 and so on? I found exactly the same question answered in the following link, however, when I run this macro, it says error, which is attached as screenshot. Can anyone help me out to fix this error? http://imagej.1557.x6.nabble.com/ImageJ-How-to-measure-multiple-ROI-in-Batch-Process-using-Macro-and-save-each-ROI-s-result-in-indivie-td5014612.html Thanks in advance Anu -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Anu,
concerning the error message: Mail programs tend to break long lines apart, but the ImageJ macro language requires that a command must be in a single line. Here, the command contains round brackets, they must open and close in the same line. So you have to join these two lines. Michael ________________________________________________________________ On 05/06/2018 21:22, anusuya pal wrote: > Hello, > > I have 500 images in a folder and I want to measure it's grey value (min, > max and mean) for each ROIs labelled 1,2,3,4. Is it possible to run a Macro > from Batch Process that can measure each ROI and return four individual ROI > results like a set of measurements for 1 in one table then a set of > measurements for 2 and so on? > > I found exactly the same question answered in the following link, however, > when I run this macro, it says error, which is attached as screenshot. Can > anyone help me out to fix this error? > > http://imagej.1557.x6.nabble.com/ImageJ-How-to-measure-multiple-ROI-in-Batch-Process-using-Macro-and-save-each-ROI-s-result-in-indivie-td5014612.html > > Thanks in advance > Anu > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Thanks Michael for the reply!
It works perfectly fine now.. Anu On Wed, Jun 6, 2018 at 3:48 AM, Michael Schmid <[hidden email]> wrote: > Hi Anu, > > concerning the error message: > Mail programs tend to break long lines apart, but the ImageJ macro > language requires that a command must be in a single line. > > Here, the command contains round brackets, they must open and close in the > same line. > > So you have to join these two lines. > > Michael > ________________________________________________________________ > > On 05/06/2018 21:22, anusuya pal wrote: > > Hello, > > > > I have 500 images in a folder and I want to measure it's grey value (min, > > max and mean) for each ROIs labelled 1,2,3,4. Is it possible to run a > Macro > > from Batch Process that can measure each ROI and return four individual > ROI > > results like a set of measurements for 1 in one table then a set of > > measurements for 2 and so on? > > > > I found exactly the same question answered in the following link, > however, > > when I run this macro, it says error, which is attached as screenshot. > Can > > anyone help me out to fix this error? > > > > http://imagej.1557.x6.nabble.com/ImageJ-How-to-measure-multi > ple-ROI-in-Batch-Process-using-Macro-and-save-each-ROI-s- > result-in-indivie-td5014612.html > > > > Thanks in advance > > Anu > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |