Calculate the sum of the pixel values for the blue color, with a picture as an input.
NOTE: The picture will be provided as a matrix of size Height*Width*Colors
To test your algorithm, you can import the picture to MATLAB with the command 'inputImage=imread('http://static0.therichestimages.com/wp-content/uploads/2014/02/san-sebastian.jpg')'; and introduce 'inputImage' in your algorithm. The output should be '54784197'

Solution Stats

211 Solutions

68 Solvers

Last Solution submitted on Feb 26, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers68

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!