Login  Register

Re: 3D object counter : extract data from the windows Statistics ...

Posted by Thomas Boudier on Nov 26, 2014; 3:02am
URL: http://imagej.273.s1.nabble.com/3D-object-counter-extract-data-from-the-windows-Statistics-tp5010619p5010629.html

Dear MLB,

The function getStatistics works only for 2D images, for 3D images use :

Stack.getStatistics(voxelCount, mean, min, max, stdDev) ; // no ""

then

maxcontrol=max;

Best,

Thomas


On 25/11/14 19:29, MLB wrote:

> Hi,
>
> I have one object per image (16 bits), and would like to extract the max of the image to treat other images with these data ?
>
> How do I  extract this information from the windows Statistics about objects automatically ?
>
> run("3D object counter...", "threshold=1 slice=56 min.=1 max.=963664 statistics summary");
> maxcontrol=getStatistics("Max");
>
> I suppose it's obvious, but ... not easy to find this information.
> thank you for your help,
>
> MLB
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
   /***************************************************************/
      Thomas Boudier, Associate Professor, UPMC,
      Université Pierre et Marie Curie, Paris, France.
      BioInformatics Institute (BII)/IPAL, Singapore.
/**************************************************************/

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