Cody

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

Solution 405726

Submitted on 18 Feb 2014 by Inigo San Aniceto
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

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!