How to identify black/dark image in C#. Is there any API to check the image visibility or darkness ratio? In my application, while copying images, I want to check each image and want to discard black images.
Any Idea how to achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An idea to get the image darkness/brightness can be:
Maybe consider dark images as ones with brightness less than 0.1 (or any other value relevant)