Re: Important! Regarding Objects [message #41353 is a reply to message #41350] |
Tue, 26 October 2004 20:22   |
praveshsubramanian
Messages: 15 Registered: September 2004
|
Junior Member |
|
|
Thanks for that response, david.
Though i have a feeling that find_boundary will not work for regions
with holes.
Can u tell me how to go about using objects! keeping in mind the
scenario i put in front of u in the last mail!
using objects seems much simpler. please tell me asap.
Thanks
PRavesh
David Fanning <david@dfanning.com> wrote in message news:<MPG.1be8778b1109eab49896be@news.frii.com>...
> 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.
|
|
|