MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: locating max value on the image


Hi,

what image  RGB ? GrayLevel ??? and what maximum point ?
The pixel coordinates of the highest gray values, since
the image data are usual 8 bit integer you will find
several points with the same highest gray level 255
And

img=Import["someImage.png"];
bm=img[[1,1]]

Position[bm, Max[Flatten[bm]]]

will do that.

Regards
   Jens

essedra wrote:
> How can I obtain where the maximum point is located on the image?
> 
> Appreciate any comments.
> 


  • Prev by Date: ordering a large matrix and referring to the named rows later
  • Next by Date: Re: What's wrong?
  • Previous by thread: Re: locating max value on the image
  • Next by thread: Re: locating max value on the image