Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Difficult L...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 8 Topic 5670 of 6020
Post > Topic >>

Re: Difficult Label_region question

by "mgalloy@[EMAIL PROTECTED] " <mgalloy@[EMAIL PROTECTED] > Apr 24, 2008 at 10:55 AM

On Apr 24, 6:32=A0am, moxam...@[EMAIL PROTECTED]
 wrote:
> On 24 =C1=F0=F1, 02:33, Gaurav <selfishgau...@[EMAIL PROTECTED]
> wrote:
>
> > But, of course, you will benefit greatly by reading about the WHERE
> > function. It will cut a lot of your processing time if you are running
> > loops (as it appears to be from the subscripts in your code).
>
> > Cheers
> > Gaurav
>
> Thank you for the help. Your suggestions are good, but I think you did
> not understand what I wanted exactly. I want to use the label_region
> in order the imnew to contain three segments. The first segment
> contains pixels from the first channel, the second segment contain
> pixels from the second channel, and the third segment contains pixels
> from the third channel. Having used the label_region I can tv the
> imnew by giving one pseudo color to each segment (I do not know how to
> do that as will).
>

Not sure what you want, but is this close?

m =3D max(im, ind, dimension=3D3)
band =3D ind / (300 * 300)

device, decomposed=3D0

tvlct, 255, 0, 0, 0
tvlct, 0, 255, 0, 1
tvlct, 0, 0, 255, 2

tv, band

Mike
--
Tech-X Cor****ation
Software Developer II
 




 8 Posts in Topic:
Difficult Label_region question
moxament@[EMAIL PROTECTED  2008-04-23 19:21:08 
Re: Difficult Label_region question
Jonathan Dursi <ljdurs  2008-04-23 21:33:29 
Re: Difficult Label_region question
Gaurav <selfishgaurav@  2008-04-23 23:11:25 
Re: Difficult Label_region question
Gaurav <selfishgaurav@  2008-04-24 01:33:20 
Re: Difficult Label_region question
moxament@[EMAIL PROTECTED  2008-04-24 05:32:17 
Re: Difficult Label_region question
"mgalloy@[EMAIL PROT  2008-04-24 10:55:02 
Re: Difficult Label_region question
moxament@[EMAIL PROTECTED  2008-04-24 16:43:00 
Re: Difficult Label_region question
Gaurav <selfishgaurav@  2008-04-25 00:09:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:11:19 CDT 2008.