Problem 48955. Gray Image
Transform the image that you can get from the url to grayscale. Next return the pixel sum of it 25th row.
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 3 Nov 2022
It seems the image in the first test was changed, which now results in a different value (-5 units). The test suite needs to be updated. Using images from Matlab's database for tests or generating them on the fly is better.
Christian Schröder
on 17 Nov 2022
On top of what Rafael said, the third image also seems to be inaccessible by now.
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
We love vectorized solutions. Problem 1 : remove the row average.
802 Solvers
-
Sum the elements in either diagonal of a square matrix
208 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1009 Solvers
-
Back to basics - mean of corner elements of a matrix
398 Solvers
-
736 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!