how to get the maxima pixel value of an image using macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to get the maxima pixel value of an image using macro

Du, Guanghua
Hello, erverybody,

I have a problem to get the maximun pixel value in an image. I do not want
to use the run{"measurement"}, because it add a new collum to the
resultstable, which I have used for other purpose.
is there a simple to do it like this in a macro:

maxiPixel=getMax(imageID);

Thanks a lot to the group.

Guanghua Du
Reply | Threaded
Open this post in threaded view
|

Re: how to get the maxima pixel value of an image using macro

Gluender-2
Please carefully study the ij-Macro functions manual !


>Hello, erverybody,
>
>I have a problem to get the maximun pixel value in an image. I do not want
>to use the run{"measurement"}, because it add a new collum to the
>resultstable, which I have used for other purpose.
>is there a simple to do it like this in a macro:

You may consider:

getStatistics(area, mean, min, max, std, histogram)


>maxiPixel=getMax(imageID);
>
>Thanks a lot to the group.
>
>Guanghua Du

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>