Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th October 2020, 11:14 | #1 | Link |
Registered User
Join Date: Jun 2020
Posts: 303
|
Tools for image analysis ?
What software would you suggest to get stats/info from video screenshots, photos/pictures and do comparisons between them ?
Tools could be GUI, command-line, script, or Python Library, but should be easy to use. I would like to have at least Y, R, G, B histogram display and color palette information available. ex: Xnview classic is an image viewer that provides some basic useful info jpg 1280x720x24 The mouse gives (x, y) position and can be used as a RGB color picker (CTRL+Shift+I). L: displays the Luminance histogram It can also give the unique color count of the image and show the R,G,B plane images. >> Something a bit more complete/advanced would do fine.
__________________
bShaders: realtime Effects/filters for video players Last edited by butterw2; 15th October 2020 at 16:30. |
14th October 2020, 16:06 | #2 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Avisynth might have something, for example:
* http://avisynth.nl/index.php/Histogram * http://avisynth.nl/index.php/Histogr...ogramRGBParade
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
14th October 2020, 17:37 | #4 | Link |
Registered User
Join Date: Jun 2020
Posts: 303
|
I should have mentionned I did write a script for source video histogram with Avisynth:
https://github.com/butterw/bShaders/...aHistogram.avs It does also work with images, but I'm not convinced it's the right tool for the job. I'm hoping there is some free GUI tool (based on one of the image libraries), that can handle all basic needs. Avisynth + GUI: AvsPmod Issues: language/syntax limitations, no command line text output. I was trying to do a simple script to combine 2 png screenshots for split screen comparison. IIRC, the issue was handling user input, errors and output filename... Vapoursynth might do better.
__________________
bShaders: realtime Effects/filters for video players Last edited by butterw2; 15th October 2020 at 08:41. Reason: more details |
19th October 2020, 12:36 | #5 | Link |
Registered User
Join Date: Jun 2020
Posts: 303
|
- ImageMagick is command-line + batch script (or API). No decent GUI available for windows.
- for Python(3), the following would be a starting point: OpenCV (cv2) + matplotlib (plt) + numpy (np) For now, I just used Gimp: Windows > Dockable Dialogs > Histogram It allows histogram of selected area, has basic stats for selected bins. I just needed to paste in my screenshots from clipboard. ! RGB to Grayscale conversion likely isn't sRGB.
__________________
bShaders: realtime Effects/filters for video players |
Thread Tools | Search this Thread |
Display Modes | |
|
|