C# Class ImageProcessor.Imaging.Filters.EdgeDetection.ConvolutionFilter

The convolution filter for applying gradient operators to detect edges within an image.
Mostra file Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Public Methods

Method Description
ConvolutionFilter ( IEdgeFilter edgeFilter, bool greyscale ) : System

Initializes a new instance of the ConvolutionFilter class.

Process2DFilter ( Image source ) : Bitmap

Processes the given bitmap to apply the current instance of I2DEdgeFilter.

ProcessFilter ( Image source ) : Bitmap

Processes the given bitmap to apply the current instance of IEdgeFilter.

Method Details

ConvolutionFilter() public method

Initializes a new instance of the ConvolutionFilter class.
public ConvolutionFilter ( IEdgeFilter edgeFilter, bool greyscale ) : System
edgeFilter IEdgeFilter /// The to apply. ///
greyscale bool /// Whether to produce a greyscale output. ///
return System

Process2DFilter() public method

Processes the given bitmap to apply the current instance of I2DEdgeFilter.
public Process2DFilter ( Image source ) : Bitmap
source Image The image to process.
return System.Drawing.Bitmap

ProcessFilter() public method

Processes the given bitmap to apply the current instance of IEdgeFilter.
public ProcessFilter ( Image source ) : Bitmap
source Image The image to process.
return System.Drawing.Bitmap