Quote:
Originally Posted by Iron_Mike
well Brian, a "fundamental requirement" is to read posts properly... or to put 1+1 together
I was referring to weighing the chroma plane results ( if dist had different css than ref) when combining them with the Y plane result for a total GMSD/SSIM score based on all three planes...............
|
But to compare different css you have to resize the chroma plane to match the same clip format for ssim/gmsd. It's similar to a rgb and yuv clip, one has to be converted wich alters your final score a little bit.
hmm a score based on all three planes... For that I tried to see how the video looks like if you extremely blur the chroma plane. Surprisingly only the colors are a bit off.
I guess the final score could be as simple as Plane1 80% + P2 10% + P3 10% ... I don't know what a good weighted total score should look like.
Code:
c2_1 = mvf.GetPlane(c2, 1).std.BoxBlur(hradius=5, vradius=5)
c2_2 = mvf.GetPlane(c2, 2).std.BoxBlur(hradius=5, vradius=5)
c2 = core.std.ShufflePlanes(clips=[mvf.GetPlane(c2, 0), c2_1, c2_2], planes=[0, 0, 0], colorfamily=vs.YUV)
a = mvf.GetPlane(c, 1)
b = mvf.GetPlane(c2, 1)
#a=c
#b=c2
c = muf.SSIM(b,a).text.FrameProps()
c.set_output()
p.s the ssim score for the blurred chroma plane is 0.8