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

Home » Public Forums » archive » Difficult Label_region question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Difficult Label_region question [message #59986] Wed, 23 April 2008 19:21 Go to previous message
moxament is currently offline  moxament
Messages: 26
Registered: April 2008
Junior Member
Dear All,

I have a difficult label_region question (at least for me).

I have an image/array im[300, 300, 3] and I want to compare the the
value of of each element in each channel and write the bigger in a new
array imnew[300,300] keeping the information from which channel is the
element value in the new array.

for example if im[i, j, 0] qt im[i, j, 1] and im[i, j, 0] qt im[i, j,
2] then imnew[i, j] = im[i, j, 0]

and finally display the new array by giving red color for the elements
from the first channel, green color for elements from the second
channel, and blue color for elements from the third channel.

I have tried the label_region function, but I could not understand how
it work. It is so confusing function.

Thank you in advance,

MD
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL Workbench Ignoring Breakpoints
Next Topic: Re: Difficult Label_region question

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

Current Time: Thu Oct 09 20:50:59 PDT 2025

Total time taken to generate the page: 0.24090 seconds