The question was earlier "How to choose the best contrast image in OpenCV", but as suggested by @Rook I am changing it.
I am going to use OpenCV + Visual Studio 2010 in my project. I just want to know how OpenCV can make this easier for me. I extracted about a thousand frames from the video, and I need to find out which one has the best contrast. At best, I find quality between the highest and the lowest contrast.
I searched the Internet for link codes, but so far I have not found it.
UPDATE: Basically, I need to measure contrast and compare values ββbetween images. By the way, this is a video of observations on Mars through a telescope, and I'm going to use the frames extracted from it.
Masochist
source share