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
The mixing formula of RGB
Posted: Jan 14, 2013 7:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, all

I am trying to interpret RGB image format. Currently, I read the .bmp image with Matlab, and I can see it three layers of red, green, and blue. But when I try to composite the layers to recover the original image, the result is significantly different from the original one.

What I do is simply add the pixel values of red, green and blue, and divide it by 3. But seems it is not the correct approach.

May I know what is the mixing formula?

Thank you very much for your kindly 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.