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

Home » Public Forums » archive » Re: Important! Regarding Objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Important! Regarding Objects [message #41356 is a reply to message #41353] Tue, 26 October 2004 15:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pravesh writes:

> now, i want to get the geometric area and perimeter of this region.
> How is it possible?

You could try Find_Boundary:

http://www.dfanning.com/ip_tips/boundary.html

> Moreover, is it
> necessary to use objects?

It is not "necessary", although it is often convenient.

> In that case, I am not able to initialize
> objects as it says that params x and y supplied to obj_new should have
> (2,n) or (3,n) dimensions. now, assuming image is the original image
> array and newroipixels are the locations of my roi in image. how do
> get the geom. area of my roi?

You could contour it, and use the contours as the
input to an IDLanROI object.

> Also, is it possible to output data from a program to another window.

Not with the GUI Builder, probably. :-(

Cheers,

David

P.S. Just open another window from your event handler
and dump the data into it.

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: GUI Programming in IDL
Next Topic: Using Objects-Urgent (To David et al)

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

Current Time: Sun Oct 12 03:04:01 PDT 2025

Total time taken to generate the page: 2.56051 seconds