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

Home » Public Forums » archive » Problems with contour function
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
Problems with contour function [message #14117] Thu, 21 January 1999 00:00
Christophe Marque is currently offline  Christophe Marque
Messages: 11
Registered: January 1999
Junior Member
Hi,
I have some troubles in using function contour.
I want to contour isophots at one level (255 for example).
The problem occurs when I have two contours, one included in the outer,
without any contact. The screen display is good. So I want to save it in
a file, using:

CONTOUR, hole_img, LEVELS=[255], PATH_FILENAME='contour.tmp'

When I read the file, and display it, using the plot function, the inner
contour is now out of the previous outer contour!
I defined a structure such as:
C_H={CONTOUR_HEADER, TYPE:0B, HIGH:0B, LEVEL:0,NUM:0L, VALUE:0.0}
for the supposed outer contour, I have:
C_H.type: 1
C_H.High: 1
C_H.value: 255

and for the supposed inner contour, I have:
C_H.type: 1
C_H.High: 0
C_H.value: 255
The latter C_H.value seems to say this contour is below the outer,
but in fact it should be at the same level, no?
What's wrong?
(I use IDL5.0 running on Alpha Digital Unix)
--
Christophe Marque

____________________________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problem solved
Next Topic: [IDL,OpenVMS] Problem with call_external

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

Current Time: Wed Oct 08 19:20:55 PDT 2025

Total time taken to generate the page: 0.00620 seconds