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

Home » Public Forums » archive » How to get info about ROI from iTools IIMage?
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: How to get info about ROI from iTools IIMage? [message #38450 is a reply to message #38335] Fri, 05 March 2004 12:34 Go to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
mvukovic@taz.telusa.com (Mirko Vukovic) wrote in message news:<d96c8f7c.0403031542.6020b330@posting.google.com>...
> Hi,
>
> In analyzing an image, I would like to display it using iTools and
> draw several rectangular ROI's in it.
>
> I would then like to query the IImage for the location and dimension
> of the ROIs. Any clues on how to do that?
>
> Thanks,
>
> Mirko

Hey Mirko,

I know that some may consider it funny to talk to myself, but for
future reference here is a somewhat unsatisfactory way of extracting
ROI vertices from an iImage:

oSys = _IDLitSys_GetSystem()
oVertices = oSys -> GetByIdentifier('/DATA MANAGER/VERTICES')
fSuccess = oVertices -> GetData(mVertices)

The problem with this method is that if there are multiple VERTICES
objects in the Data Manager, it retrieves only the first one. I could
not figure out how to get the other ones. But this method will have
to do for now.

bye

Mirko
[Message index]
 
Read Message
Read Message
Previous Topic: Re: arrays vs. functions conflicts
Next Topic: arrays vs. functions conflicts

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

Current Time: Wed Oct 08 16:08:44 PDT 2025

Total time taken to generate the page: 0.00478 seconds