Re: REGION_GROW Syntax [message #78069] |
Tue, 25 October 2011 04:13 |
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  |
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.")
|
|
|