comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Homogenity of an area
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Homogenity of an area [message #27681] Mon, 05 November 2001 02:16
Martin Downing is currently offline  Martin Downing
Messages: 136
Registered: September 1998
Senior Member
Hi Moritz,

I guess it depend on *how* homogenous you want it to be. If you want *exact*
then

IF min(array) EQ max(array) THEN print, "homogenous"

where array is the values of the area pixels: e.g. image[indices],or
image[x0:x1,y0:y1]

Otherwise you could test if its variance, skewness etc were sufficiently low

IF variance(array) LT THRESHOLD THEN ........


martin

"Moritz von Schwedler" <mschwedler@gmx.de> wrote in message
news:9s5fo0$10rj0j$1@ID-112900.news.dfncis.de...
> Hello!
>
> How can I test wether an area is homgeneous or not? I am using IDL 5.2.
>
> thanks,
> Moritz
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Homogenity of an area
Next Topic: Re: improving animation/mpeg quality

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:36:03 PDT 2025

Total time taken to generate the page: 0.00548 seconds