Base class for filters, which may be applied directly to the source image or its part.

The abstract class is the base class for all filters, which can be applied to an image producing new image as a result of image processing or applied directly to the source image (or its part) without changing its size and pixel format.

Inheritance: IFilter, IInPlaceFilter, IInPlacePartialFilter, IFilterInformation
        public Processor()
        {
            initGlyphs();

            // resizeFilter = new ResizeNearestNeighbor(1920, 1080);
            // resizeFilter = new ResizeBicubic(1920, 1080);
            resizeFilter = new ResizeBilinear(1920, 1080);
            gaussianFilter = new GaussianSharpen(4, 11);
            sharpenFilter = new Sharpen();
            brightnessFilter = new ContrastCorrection(15);

            autoEvent = new AutoResetEvent(false);

            Thread thread = new Thread(process);
            thread.Start();
        }