Cody

Problem 2195. Sum of the pixel values for the blue color

Solution 2942560

Submitted on 13 Sep 2020 by 泽丰 张
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x=imread('http://static0.therichestimages.com/wp-content/uploads/2014/02/san-sebastian.jpg'); y_correct = 54791054; assert(isequal(your_fcn_name(x),y_correct));

2   Pass
x=imread('http://grxworkshop.com/wp-content/uploads/2013/11/223-126-guggenheim-large.jpg'); y_correct=120866847; assert(isequal(your_fcn_name(x),y_correct));

Suggested Problems

Community Treasure Hunt

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

Start Hunting!