Posted by
Sidnei Paciornik on
URL: http://imagej.273.s1.nabble.com/Measure-without-displaying-results-tp5004809.html
Dear all,
In an automation routine with a Clojure macro, I use a loop over all
objects in an image with "DoWand", "Convex Hull" and then "Measure", so
that I can get the convex perimeter of each object, calculate the
Convexity, and then get the average Convexity from all objects in the field.
However, the "Measure" command always displays the results in the standard
output port, what creates an unnecessary delay in the routine. The "Analyze
Particles" does have the "Display" option, but "Measure" apparently does
not have such an option. I have actually used "Analyze Particles" instead
of "Measure" (iterating over the objects) but that is much slower still.
Is there a way to suppress the results display in "Measure"?
Is there a lower level command I could use to replace "Measure" in such a
Clojure macro?
For that matter, is there such a lower level command for "Set Measurements"
and/or "Analyze Particles"?
Thank you!
Prof. Sidnei Paciornik
Grupo de Análise de Imagens e Microscopia Digital
DEMa <
http://www.dema.puc-rio.br/> - Departamento de Engenharia de Materiais
PUC-Rio <
http://www.puc-rio.br/>
Rua Marquês de São Vicente 225
Prédio Leme, Sala 501L
Gávea - Rio de Janeiro - RJ
22451-900 - Brasil
tel: (55)(21)3527-1243
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html