GreyC

Abstract

author: Alexander Balakhnin (Fizick)
version: 0.1
download: http://avisynth.org.ru/
category: Misc plugins
requirements: YV12, RGB24 color space
license: GPL

Information

GreyC plugin - anisotropic blur, inpaint and resize.

Uses GREYCstoration and Cimg library (http://www.greyc.ensicaen.fr/~dtschump/greycstoration)

GREYCstoration is an image regularization algorithm which is able to process a color image by locally removing small variations of pixel intensities while preserving significant global image features, such as edges and corners. The most direct application of image regularization is image denoising. By extension, it can also be used to inpaint or resize images. Anyway, all these modes are based on the same idea : locally smooth the image preferably along the image structures.

Syntax and parameters

GreyCBlur function

GreycBlur(clip, float "dt", int "iter", float "p", float "a", float "alpha", float "sigma", bool "fast", float "prec", float "dl", float "da", int "interp", int "tile", int "btile", int "threads")

GreycInpaint(clip, clip "mask", int "x", int "y", int "init", float "dt", int "iter", float "p", float "a", float "alpha", float "sigma", bool "fast", float "prec", float "dl", float "da", int "interp", int "tile", int "btile", int "threads")

GreycResize(clip, int "width", int "height", int "init", bool "anchor", float "dt", int "iter", float "p", float "a", float "alpha", float "sigma", bool "fast", float "prec", float "dl", float "da", int "interp", int "tile", int "btile", int "threads")

first parameter is the source clip.

mask is mask clip for inpaint (white pixels will be masked)

x, y is position of mask frame on source frame

init is Inpainting init (0=black, 1=white, 2=noise, 3=unchanged, 4=smart), default 4;
or resize Initial estimate (1=block, 3=linear, 5=bicubic), default 5.

anchor is to Anchor original pixels on resize

iter is number of iteration, default = 1 (in the

For other parameters see greycstoration doc and source code. http://www.greyc.ensicaen.fr/~dtschump/greycstoration/guide.html

Discussion

It is very slow (uses float internally), but can be faster with many tiles and threads.

doom9 forum

License

This plugin is free software released under the GNU GPL license. See file gpl.txt.

GREYCstoration library is distributed under the CeCILL License (compatible with GPL)
The C++ Template Image Processing Library is under CeCILL-C License. http://www.cecill.info
Copyright : David Tschumperle - http://www.greyc.ensicaen.fr/~dtschump/

Revisions

Version 0.1 (08.01.2008)

Download GreyC version 0.1