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

Home » Public Forums » archive » Re: IDL: XROI and data saving
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
Re: IDL: XROI and data saving [message #39069] Mon, 26 April 2004 07:15
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Francois Leduc writes:

> The command
>> xroi, image, statistics = S, /block
> allows to draw ROIs and to save statistics (count, min. max, mean, stdev)
> into a variable S.
>
> But how to save ROI original pixel values for a further use ? In order, for
> example, to be able to compute other statistics based on the histogram like
> entropy, kurtosis, etc ?

Use the REGIONS_OUT keyword to obtain a copy of the IDLanROI object
that XROI creates. Then you can manipulate the region data any way
you like. Here is an example:

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

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL: XROI and data saving
Next Topic: Re: IDLcomIDispatch question (newbie alert!)

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

Current Time: Sat Oct 11 03:35:56 PDT 2025

Total time taken to generate the page: 1.44290 seconds