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: Image RGB values
Replies: 2   Last Post: Aug 31, 2014 10:26 PM

Advanced Search

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

Posts: 1
Registered: 8/27/14
Image RGB values
Posted: Aug 27, 2014 11:09 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I was wondering how I would go about calculating the average amount of red, green and blue in a given image? I want to write a function for this. My function takes as an input a 3D array containing and RGB image and returns three scalar outputs detailing the average amount of red green and blue. Thanks for any hints!

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.