Sets the number of neurons in the predictor neural network. If the source was heavily low-pass filtered before interlacing then aliasing will be low and a large x_diameter setting wont be needed, and vice versa. However, what setting to use really depends on the amount of aliasing (lost information) in the source. Larger y_diameter settings will result in sharper output.įor deinterlacing larger x_diameter settings will allow connecting lines of smaller slope.
Possible settings (x_diameter x y_diameter):įor image enlargement it is recommended to use 0 or 4. Sets the size of the local neighborhood around each pixel that is used by the predictor neural network. Parameters for nnedi3 nsize int nsize = 0