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

Home » Public Forums » archive » nonexclusive button goup woes...
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: None [message #44392 is a reply to message #21809] Wed, 08 June 2005 08:46 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Rainnie, JA (John) wrote:
> Hi Benjamin
>
> What sort of ROI did you have in mind - a rectangular ROI defined by 2
> points or a freehand type?

Freehand, but it would be nice to have a selection of tools for
rectangle, ellipse, polygon and freehand.

Benjamin


>
> John
>
> -----Original Message-----
> From: Benjamin Hornberger [mailto:benjamin.hornberger@stonybrook.edu]
> Posted At: 03 June 2005 18:45
> Posted To: idl-pvwave
> Conversation: defining regions of interest in widget programs
> Subject: defining regions of interest in widget programs
>
>
> Hi all,
>
> It's the first time I'm trying to define and use ROIs, so I have the
> basic question of what's the best way to do it. Basically, I want to
> allow the user to define a ROI in a widget program, be able to display
> it with some kind of color shading (possibly the original image shining
> through) and manipulate the image pixels within the ROI. I checked the
> IDL help and the newsgroup archive and drew the following conclusions
> (without doing much testing yet):
>
> 1. DEFROI is not for widget programs.
>
> 2. CW_DEFROI is meant to do what I want, but is kind of clunky.
> According to the source code, it's been written 1993 and never updated.
>
> 3. XROI would actually work well, but (1) opens the image in its own
> window, while I would prefer to define the ROI in my existing draw
> widget, and (2) offers tons of options which will confuse the user
> (statistics, histogram, multiple ROIs, even loading a new image) and
> which I would preferably not offer to him.
>
> 4. David recommends to write your own code to define ROIs. As I
> understand it, I would include some code to draw a freehand or polygon
> path and then use POLYFILLV to get all indices of the ROI.
>
> I'd appreciate any comments and recommendations. Does anyone has
> home-made code to do the job?
>
> Thanks,
> Benjamin
>
[Message index]
 
Read Message
Read Message
Previous Topic: None
Next Topic: Satellite data programming help

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

Current Time: Sun Oct 12 11:01:43 PDT 2025

Total time taken to generate the page: 2.95962 seconds