Cody

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

Solution 2774488

Submitted on 4 Aug 2020
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   Fail
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));

y = 54784197

Assertion failed.

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));

y = 120866847

Suggested Problems