MathGroup Archive 2007

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

Search the Archive

Re: locating max value on the image

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75340] Re: locating max value on the image
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 25 Apr 2007 05:44:39 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <f0kbkn$que$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

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