The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 at NCTM 1994-2018. All Rights Reserved.