Open-Deep-ML / DML-OpenProblem

Other
182 stars 50 forks source link

New Problem: Image Contrast Calculator(CV) #180

Open rittik9 opened 2 days ago

rittik9 commented 2 days ago

Implement a function calculate_contrast(img) that determines the contrast of a grayscale image by finding the difference between the brightest and darkest pixels. The image is represented as a 2D matrix with values between 0-255.

moe18 commented 1 day ago

Sounds like a good addition