Login  Register

Re: Macro for automatically detecting/setting a scale

Posted by DavidG on Sep 28, 2018; 5:41pm
URL: http://imagej.273.s1.nabble.com/Macro-for-automatically-detecting-setting-a-scale-tp5021253p5021259.html

Brandon,

Thanks so much for the quick response!  I really am starting from nothing
when it comes to ImageJ.  My background is in molecular biology, so I
haven't had much exposure to computer science yet.    The project is sort of
a citizen science project.  Participants will be all be given a grid printed
on a poster on which they will arrange the leaves before taking pictures and
sending them in.  The poster will include a scale/object from which we will
set the scale.  

I think I follow along with your explanation for setting the scale for a
single image in your first paragraph, but let me make sure I'm following
along with the second part.  Please tell me if I am misunderstanding.

It sounds like it would be difficult to write a script that will have to
reset the scale before analyzing each new image.  But, if I set it up to
take a measurement of the length of the object being used for scale and the
area of the leaf (both measurements in pixels) and outputting those values
for each individual image, then a calculation could be done for leaf area
taking into account the unique scaling factor for each image?

I think this method makes sense and I'll see if I can get it to work this
afternoon.  Thanks again!

David



--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html