[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contours driving me mad



I wrote:

[Probelms with contours]

Solved. I wasn't aware of the high_low tag in the info structure
CONTOUR() returns back. It tells whether the contour surrounds the
object or is inside the object. My first approach was to find the
surrounding contour, create the difference image between my original
image and the are inside the contour, and handle the remaining holes
then. But now a single call to CONTOUR() is all I need.

Yeah, sometimes I really like IDL.

        Alex
-- 
  Alex Schuster     Wonko@weird.cologne.de          PGP Key available
                    alex@pet.mpin-koeln.mpg.de