I processed depth maps using avisynth 2.5.8 and I found out it causes color degradation
I have a depth map (from http://vision.middlebury.edu/stereo/data/scenes2001/data/imagehtml/sawtooth.html)
They have slightly different colors.
I have a depth map (from http://vision.middlebury.edu/stereo/data/scenes2001/data/imagehtml/sawtooth.html)
And two scripts
1) just_show.avs
v = ImageSource( "depth.jpg" ).Trim(0, -1)2) overlay.avs
return v
v = ImageSource( "depth.jpg" ).Trim(0, -1)
return overlay( v, v, mode = "blend", opacity = 0.80)
They have slightly different colors.
just show
overlay
Overlay has chroma component
The cause was in wrong color conversion in avisynth 2.5.8. I downloaded AVS 2.6.0 Alpha 4 [130114] and the problem gone. http://sourceforge.net/projects/avisynth2/files/AviSynth_Alpha_Releases/AVS%202.6.0%20Alpha%204%20%5B130114%5D/