C# Class Accord.Imaging.Filters.FastBoxBlur

Fast Box Blur filter.
Reference: http://www.vcskicks.com/box-blur.php
Inheritance: BaseInPlacePartialFilter
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
FastBoxBlur ( ) : System.Collections.Generic

Initializes a new instance of the FastBoxBlur class.

FastBoxBlur ( byte horizontalKernelSize, byte verticalKernelSize ) : System.Collections.Generic

Initializes a new instance of the FastBoxBlur class.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Private Methods

Method Description
HorizontalBoxBlur ( UnmanagedImage &image, Rectangle rect, IntRange kernelSizeRange ) : void
KernelSizeInRange ( byte kernelSize ) : IntRange
VerticalBoxBlur ( UnmanagedImage &image, Rectangle rect, IntRange kernelSizeRange ) : void

Method Details

FastBoxBlur() public method

Initializes a new instance of the FastBoxBlur class.
public FastBoxBlur ( ) : System.Collections.Generic
return System.Collections.Generic

FastBoxBlur() public method

Initializes a new instance of the FastBoxBlur class.
public FastBoxBlur ( byte horizontalKernelSize, byte verticalKernelSize ) : System.Collections.Generic
horizontalKernelSize byte Horizontal kernel size.
verticalKernelSize byte Vertical kernel size.
return System.Collections.Generic

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
return void