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

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('')'; and introduce 'inputImage' in your algorithm. The output should be '54791054'

Solution Stats

39.6% Correct | 60.4% Incorrect
Last Solution submitted on May 02, 2020

Problem Comments

Problem Recent Solvers34

Suggested Problems

Problem Tags