AForge.Imaging.Filters.BaseInPlaceFilter.ApplyInPlace C# (CSharp) Method

ApplyInPlace() public method

Apply filter to an unmanaged image.
The method applies the filter directly to the provided source unmanaged image.
Unsupported pixel format of the source image.
public ApplyInPlace ( UnmanagedImage image ) : void
image UnmanagedImage Unmanaged image to apply filter to.
return void
        public void ApplyInPlace( UnmanagedImage image )
        {
            // check pixel format of the source image
            CheckSourceFormat( image.PixelFormat );

            // process the filter
            ProcessFilter( image );
        }

Same methods

BaseInPlaceFilter::ApplyInPlace ( Bitmap image ) : void
BaseInPlaceFilter::ApplyInPlace ( BitmapData imageData ) : void