Depending on their value, different operations are applied to each plane:
![faerie tale raymond e feist movie faerie tale raymond e feist movie](https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1333533404i/43919._UY475_SS475_.jpg)
Is the same as Subtract, also works in YV12, but should be a bit faster (because MMX optimised).Īll the above filters take 3 additional parameters: Y, U and V (except the FitPlane filters, where obviously the name tells what is processed). Takes 3 clips and applies a weighted merge between first and second clips depending on the mask represented by the third clip.Ĭreates a mask of the motion on the picture.Ĭompares 2 clips based on luminance and chrominance thresholds, and outputs whether pixels are close or not (close to what ColorKeyMask does).Īllows you to convolve the picture by the matrix of your choice. These filters are look-up tables, allowing to apply fastly a function to every pixel of the picture. Performs most typical logical operations (in fact, the ones provided by MMX mnemonics, though C functions are still available, mainly because of the picture dimensions limits). out = 255 - in) this can be also used to apply a 'solarize' effect to the picture. Theoritically, the first mask should be inside the second one, but it can work if it isn't true (though results will be less interesting). Dedicated to Phil Katz.Ĭreates a mask from two masks. 'Inflates' the high values in a plane, by putting in the output plane either the average of the 8 neighbours if it's higher than the original value, otherwise the original value. 'Expands' the high values in a plane, by putting in the output the maximum value in the 3x3 neighbourhood around the input pixel. Resizes Y plane and replaces UV/U/V plane(s) by the result of the resize (you can specify your resizer filter, even one that isn't built-in AviSynth) the opposite functions are FitU2Y and FitV2Y. Similar as DEdgeMask with predefined kernels.įitY2UV / FitY2U / FitY2V / FitU2Y / FitV2Y Outputs a mask which gives areas that presents combing.īuilds a mask of the edges of a clip, applying thresholdings (proper values will enable or disable them).īuilds a mask of the edges of a clip, applying thresholdings (proper values will enable or disable them). This Avisynth 2.5 YV12-only plugin offers several functions manipulating clips as masks:īinarizes the input picture depending on a threshold and a command MaskTools deals with the creation, the enhancement and the manipulating of such mask for each component of the YV12 colorspace. Now consider that you write on an image pixels from smooth that you want to keep as white pixels, and the other ones from source as black pixels. You may therefore want to only keep filtered pixels and discard those where there are big differences of color or brightness.
![faerie tale raymond e feist movie faerie tale raymond e feist movie](https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1333533404l/43919.jpg)
Most of the noise from source has disappeared in smooth, but so have details. Say, you have a clip named smooth that is the result of a smoothing ( blur() for instance) on a clip named source.
![faerie tale raymond e feist movie faerie tale raymond e feist movie](https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1384442121l/317503.jpg)
After a processing, you may need to keep only a part of the output.