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.

 Doom9's Forum Is this the correct way to do linear blend deinterlacing with MaskTools?
 Register FAQ Calendar Search Today's Posts Mark Forums Read

27th February 2024, 16:20   #1  |  Link
orion44
None

Join Date: Jul 2007
Location: The Background
Posts: 307
Is this the correct way to do linear blend deinterlacing with MaskTools?

I'm using an old version of MaskTools (v1.5.8).

Are the following parameters correct for performing linear blend deinterlacing:

Code:
`YV12Convolution("1","1 2 1")`
It looks ok, but I just want to be sure if any additional parameters should be added.

From documentation:

Quote:
 YV12Convolution (clip, string "horizontal", string "vertical", int "total", bool "automatic", bool "saturate") This filters computes the convolution product between the picture and the kernel defined by the multiplication of horizontal by vertical. These two strings represent vectors. They must have an odd number of integer or real numbers, separated by single spaces. total is a normalization factor, by which the result of the product is divided. If automatic is set to 'true', total is the sum of the coefficients of the matrix. It means that, that way, overall brightness of the picture isn't touched. Saturate allows to choose the behavior of the filter when the result is a negative number. saturate = true : negative values are zeroed. saturate = false : negative values are inverted. If total is not defined, it is set to the sum of the coefficients of the convolution kernel, thus allowing a good normalization for bluring / sharpening kernels. If one of the coefficients of horizontal or vertical is a real number, all the computations will be made with floats, so the filter will be slower. Defaults are : horizontal = "1 1 1", vertical = "1 1 1" and automatic = false, saturate = true.