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

Home » Public Forums » archive » Re: REGION_GROW Syntax
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: REGION_GROW Syntax [message #78069] Tue, 25 October 2011 04:13
Steffen Reich is currently offline  Steffen Reich
Messages: 8
Registered: October 2011
Junior Member
Am 24.10.2011 14:20, schrieb David Fanning:
> Where do you read that REGION_GROW supports a channel? I
> don't find it anywhere.
>
> But, if it did support a channel, I suppose you would
> have to pull the channel out of the RGB image and
> grow it individually.
>
> red = rbg[0,*,*]
> grow = REGION_GROW(red, ...)
>
> Cheers,
>
> David
>
>
>
Thank you for your answer, I will try your suggestion. Perhaps I
apprehend the Region Grow Properties false, but there is a property
called "for an RGB(A) image use" with the following control type:

String List: If the image has separate color channels, use the selected
channel when growing the region. Choose from these values:

Luminosity: Luminosity values
Red Channel: Red values
Green Channel: Green values
Blue Channel: Blue values
Alpha Channel: Transparency values.
Default = Luminosity

Kind regards
Steffen
Re: REGION_GROW Syntax [message #78087 is a reply to message #78069] Mon, 24 October 2011 05:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Steffen Reich writes:

> I have got a question about the region_grow Syntax. The region_grow
> function support the possibility to choose a channel if you want to grow
> a region of RGB image. Unfortunately the API doesn`t describe how to
> choose the channel, only that it is possible. Therefore could somebody
> write a example how to choose/select a channel with that function.

Where do you read that REGION_GROW supports a channel? I
don't find it anywhere.

But, if it did support a channel, I suppose you would
have to pull the channel out of the RGB image and
grow it individually.

red = rbg[0,*,*]
grow = REGION_GROW(red, ...)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Coyote graphics /WINDOW problem in 8.1?
Next Topic: Re: Binary images with these formates: *.cor, *.unw, *.hgt

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

Current Time: Wed Oct 08 15:58:06 PDT 2025

Total time taken to generate the page: 0.00452 seconds