redfordxx
15th March 2005, 23:54
I started the discussion in another thread, but this was definitely off topic, so I made new thread of it.
OK, here is my problem... real challenge.
I use MSU Deblocker for deblocking my LOTR TTT EE (I have a special blocky version:(). As MSUDeblocker is VDMod plugin, I am forced to go to RGB32:
deblocked=orig.ConvertToRGB32(matrix="pc.601").MSUDeBlock(1,1,1).ConvertBackToYUY2(matrix="pc.601").ConvertToYV12()
MSUDeblocker works mostly perfectly, but sometimes produces ugly artefacts, as follows...
I show you pictures 3 frames with color analysis.
Here are the expressions explained:
o=original
d6=deblocked with MSU in RGB via 601
d7=deblocked with MSU in RGB via 709
s6=Subtract(o,d6)
s7=Subtract(o,d7)
s67=MergeChroma(s7,s6,0.5)
Frame with badly processed areas:
Matrix (how the captures are placed):
...o d6 d7 (YUV)
s67 s6 s7 (contrastU=4096)
s67 s6 s7 (contrastV=4096)
s67 s6 s7 (contrastY=4096)
http://img175.exs.cx/img175/566/frame101900210hz.th.png (http://img175.exs.cx/my.php?loc=img175&image=frame101900210hz.png)
http://img175.exs.cx/img175/566/frame101900210hz.png
As you see mostly on sky are big areas of totally disorted color.
Interesting is that when I merge pc.601 and pc.709 converted frames, some disorted areas are anihilated. (Visible especially on the V-channel)
Frame with badly processed areas:
.o d7 (YUV)
s6 s7 (contrastU=4096)
s6 s7 (contrastV=4096)
s6 s7 (contrastY=4096)
http://img34.exs.cx/img34/7205/frame103300350mc.th.png (http://img34.exs.cx/my.php?loc=img34&image=frame103300350mc.png)
http://img34.exs.cx/img34/7205/frame103300350mc.png
Here is interesting that artefacts in the sky in U(s6) reappear in V(s7) and Y(s7) in the same shape...
Correctly processed frame:
.o d7 (YUV)
s6 s7 (contrastU=4096)
s6 s7 (contrastV=4096)
s6 s7 (contrastY=4096)
http://img34.exs.cx/img34/7234/frame442034220il.th.png (http://img34.exs.cx/my.php?loc=img34&image=frame442034220il.png)
http://img34.exs.cx/img34/7234/frame442034220il.png
Now I want to find a way how to detect the bad areas a replace them. I suppose to use MaskTools, I have only to figure out the exact way. One thing I know for sure, it will be slowww.
Well, don't know theter it is clear. Just wanna keep deblocking effect and remove artefacts.
OK, here is my problem... real challenge.
I use MSU Deblocker for deblocking my LOTR TTT EE (I have a special blocky version:(). As MSUDeblocker is VDMod plugin, I am forced to go to RGB32:
deblocked=orig.ConvertToRGB32(matrix="pc.601").MSUDeBlock(1,1,1).ConvertBackToYUY2(matrix="pc.601").ConvertToYV12()
MSUDeblocker works mostly perfectly, but sometimes produces ugly artefacts, as follows...
I show you pictures 3 frames with color analysis.
Here are the expressions explained:
o=original
d6=deblocked with MSU in RGB via 601
d7=deblocked with MSU in RGB via 709
s6=Subtract(o,d6)
s7=Subtract(o,d7)
s67=MergeChroma(s7,s6,0.5)
Frame with badly processed areas:
Matrix (how the captures are placed):
...o d6 d7 (YUV)
s67 s6 s7 (contrastU=4096)
s67 s6 s7 (contrastV=4096)
s67 s6 s7 (contrastY=4096)
http://img175.exs.cx/img175/566/frame101900210hz.th.png (http://img175.exs.cx/my.php?loc=img175&image=frame101900210hz.png)
http://img175.exs.cx/img175/566/frame101900210hz.png
As you see mostly on sky are big areas of totally disorted color.
Interesting is that when I merge pc.601 and pc.709 converted frames, some disorted areas are anihilated. (Visible especially on the V-channel)
Frame with badly processed areas:
.o d7 (YUV)
s6 s7 (contrastU=4096)
s6 s7 (contrastV=4096)
s6 s7 (contrastY=4096)
http://img34.exs.cx/img34/7205/frame103300350mc.th.png (http://img34.exs.cx/my.php?loc=img34&image=frame103300350mc.png)
http://img34.exs.cx/img34/7205/frame103300350mc.png
Here is interesting that artefacts in the sky in U(s6) reappear in V(s7) and Y(s7) in the same shape...
Correctly processed frame:
.o d7 (YUV)
s6 s7 (contrastU=4096)
s6 s7 (contrastV=4096)
s6 s7 (contrastY=4096)
http://img34.exs.cx/img34/7234/frame442034220il.th.png (http://img34.exs.cx/my.php?loc=img34&image=frame442034220il.png)
http://img34.exs.cx/img34/7234/frame442034220il.png
Now I want to find a way how to detect the bad areas a replace them. I suppose to use MaskTools, I have only to figure out the exact way. One thing I know for sure, it will be slowww.
Well, don't know theter it is clear. Just wanna keep deblocking effect and remove artefacts.