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: Very compli...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 5680 of 6258
Post > Topic >>

Re: Very complicated visualization problem

by khaldanr@[EMAIL PROTECTED] Apr 27, 2008 at 05:09 PM

On Apr 25, 10:53 pm, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
> khald...@[EMAIL PROTECTED]
 writes:
> > Please give me more details, I did not understand how to do that.
> > Actually I am beginner in IDL and I do not know yet so much. Please I
> > need more details.
>
> Well, then why are starting with heart surgery? I'd learn
> to suture a cut first.
>
> But, anyway, you have a handful of "regions", right?
> They don't overlap. So make a 500x500 byte array.
> Assign each of your regions a number (1 to 7, if you
> like). In turn, take the the pixels that make up a region
> and assign them a number in the byte array. You will get
> a 2D array that has the regions all identified by a different
> number. Load a color table with that many colors, and just
> display it.
>
>   display = Bytarr(500, 500)
>   display[region_1] = 1
>   display[region_2] = 2
>   etc.
>   Loadct, 13, NCOLORS=nregions, BOTTOM=1
>   TV, display
>
> It turns your "complicated" visualization problem into
> something a whole lot simpler.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Se****e ma de ni thui. ("Perhaps thou speakest truth.")

Thank you very much David. I really appreciate your help!.

Khaldan
 




 5 Posts in Topic:
Very complicated visualization problem
khaldanr@[EMAIL PROTECTED  2008-04-25 18:31:24 
Re: Very complicated visualization problem
David Fanning <news@[E  2008-04-25 19:43:48 
Re: Very complicated visualization problem
khaldanr@[EMAIL PROTECTED  2008-04-25 19:16:52 
Re: Very complicated visualization problem
David Fanning <news@[E  2008-04-25 22:53:07 
Re: Very complicated visualization problem
khaldanr@[EMAIL PROTECTED  2008-04-27 17:09:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon Oct 13 8:42:21 CDT 2008.