Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: The mixing formula of RGB
Replies: 6   Last Post: Jan 18, 2013 4:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Wenlong

Posts: 51
Registered: 3/2/12
Re: The mixing formula of RGB
Posted: Jan 16, 2013 5:30 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, Eugenijus

Thank you for your reply.

I know little about computer graphic. My problem is that I need the pixel value of pixels in a colorized image (.BMP format), and use the value for some data analysis. I have the grayscale version of the same image, and I see it is a 2D matrix. So I can specify the coordinates of a pixel and get its pixel value.

But when I come to colorized version of the image, it is a 3D matrix that, as you said, combined by red, green and blue. I think there could be a way to extract the pixel value, not in three individual channels but a single metric?

Thank you very much for your help.

Best regards
Wenlong



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.