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.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th May 2010, 14:39   #1  |  Link
-horn-
Registered User
 
Join Date: Oct 2005
Posts: 8
Video-codec rater by image comparison algorithm?

Hi,

perhaps anyone knows if this is possible.
comparing image quality is almost imposible to describe without subjective influences. When someone rates an image quality as good there is at least one person, that doesn't think so.
human preferences are always different.

So, I would like to know if there is away to "rate" the image quality by an algorithm that compares the original image to the produced one in following issues

- colour change(difference pixel by pixel
- blur rate
- artifacts and macroblocking

the first one would be the easiest one because you could check just the diffeence in colours and can give 3 values in +- of each hex-value
both last once I don't know if this is possible, but the blocking could be detected by edge-finding.

and the king's quest would be to do that for more then just one image, because video is done with several frames.

perhaps you expert programmers could tell me, if such an automated algo can be done to bring some objective measurement divice into rating image quality. this could perhaps calm down some h.264 is better than x264 and better than vp8 and blaaah people

Andreas

1st posted here http://www.hdtvtotal.com/PNphpBB2-viewtopic-t-1795.html
__________________
www.hdtvtotal.com | Your European Total Source To HDTV!
-horn- is offline   Reply With Quote
Old 27th May 2010, 17:17   #2  |  Link
pandy
Registered User
 
Join Date: Mar 2006
Posts: 1,050
some thing are common and quite independent - search for some books for psycho-optics - they describe characteristic of the human vision - all you need to to do is translate what we know about us (our perception) to the algorithm + add some magic yet undiscovered by science
pandy is offline   Reply With Quote
Old 27th May 2010, 17:26   #3  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
PSNR, SSIM ...

It's all well known stuff.
Guest is offline   Reply With Quote
Old 27th May 2010, 23:54   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
Some interesting reading:
http://www.ece.uwaterloo.ca/~z70wang...ions/SPM09.pdf
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 28th May 2010, 00:25   #5  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
Although people might disagree with visual comparison, mathematical comparison where the actual differences are calculated can also be unsuitable. If you had an original image or video, and compressed/encoded it with Psy optimisations on (with various adjustments), and had the same image or video with those optimisations off, but otherwise had them compressed to roughly the same file size, the human and mathematical comparisons should actually give opposite results!

The mathematical comparison gives the truest results in the difference between the original and the encoding, which favours the image with psy off. Visually people will most likely favour the encoding with psy on. The reason for this is psy uses tricks to improve perceptible quality and encoding efficiency and results in altering the output from the original.
burfadel is offline   Reply With Quote
Reply

Tags
algorithm, comparision, image-quality, rater, video-codecs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.