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 > RGB False color...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 203 of 233
Post > Topic >>

RGB False color Representation

by "rpertaub@[EMAIL PROTECTED] " <rpertaub@[EMAIL PROTECTED] > Oct 30, 2007 at 07:56 AM

Hello,
I tried to post sthng earlier, but didn't work it seems. Anyway, my
problem is with the display of a false color and my lack of
understanding how it works.
I have been a bit intrigued by color display I am using, as I am not
sure how it is being processed. I have 3 image frames for the 3
channels- RGB. This is how I am using them and displaying them:

maxes=lonarr(3)
maxes[0]=max(final_red)
maxes[1]=max(final_grn)
maxes[2]=max(final_blu)
final_image=lonarr(3,1272,1052)
final_Image[0,*,*] = bytscl(final_blu,max=maxes[2])
final_Image[1,*,*] = bytscl(final_red,max=maxes[0])
final_Image[2,*,*] = bytscl(final_grn,max=maxes[1])

window,3,title='Reconstructed RGB Image',xsize=1200,ysize=900
tvscl,final_image,true=1

I unfortunately cannot display the image here, but I get a not too bad
RGB image. Then I look at one area that is clearly blue. I click on
the pixel to get the intensities of the three channels. Here is what I
get:
450nm (blue-ish): 3871
550nm (green-ish): 12512
650nm (red-ish): 14212

Here, the int of the red channel is the greatest and blue channel is
the smallest. However, my image is clearly BLUE. I am thoroughly
confused how the color is processed when doing
tvscl,final_image,true=1

Can anyone help me understand and maybe fix my problem...

Thanks,
RP
 




 1 Posts in Topic:
RGB False color Representation
"rpertaub@[EMAIL PRO  2007-10-30 07:56:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Oct 11 12:36:51 CDT 2008.