C# Class Accord.Imaging.Filters.FastGuidedFilter

Fast Guided Filter (non-commercial).

This class implements the Fast Guided Filter as described in "Kaiming He, Jian Sun, and Xiaoou Tang; Guided Image Filtering, ECCV 2010" and in TPAMI 2013. If this code is used or adapted, either as a stand-alone tool or as a component of any algorithm, it is necessary to appropriately cite Kaiming He, Jian Sun, and Xiaoou Tangyou's work.

This code is intended for academic purposes only, and cannot be used for commercial or industrial activities. For this reason, this code is not under the LGPL license and is only available in the framework's Accord.Imaging.Noncommercial assembly.

The original work can be found in http://kaiminghe.com/eccv10/index.html

Inheritance: BaseInPlaceFilter2
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
FastGuidedFilter ( ) : System.Collections.Generic

Initializes a new instance of the FastGuidedFilter class.

FastGuidedFilter ( Bitmap overlayImage ) : System.Collections.Generic

Initializes a new instance of the FastGuidedFilter class.

FastGuidedFilter ( UnmanagedImage unmanagedOverlayImage ) : System.Collections.Generic

Initializes a new instance of the FastGuidedFilter class.

GetFilledImage ( int width, int height, PixelFormat pixelFormat, Color color ) : UnmanagedImage

Get a filled image by a color.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void

Process the filter on the specified image.

Private Methods

Method Description
InitFormatTranslations ( ) : void

Method Details

FastGuidedFilter() public method

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

FastGuidedFilter() public method

Initializes a new instance of the FastGuidedFilter class.
public FastGuidedFilter ( Bitmap overlayImage ) : System.Collections.Generic
overlayImage System.Drawing.Bitmap Overlay image.
return System.Collections.Generic

FastGuidedFilter() public method

Initializes a new instance of the FastGuidedFilter class.
public FastGuidedFilter ( UnmanagedImage unmanagedOverlayImage ) : System.Collections.Generic
unmanagedOverlayImage UnmanagedImage Unmanaged overlay image.
return System.Collections.Generic

GetFilledImage() public static method

Get a filled image by a color.
public static GetFilledImage ( int width, int height, PixelFormat pixelFormat, Color color ) : UnmanagedImage
width int Image width.
height int Image height.
pixelFormat PixelFormat Image pixel format.
color System.Drawing.Color Image filled color.
return UnmanagedImage

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void
image UnmanagedImage Source image data.
overlay UnmanagedImage Overlay image data.
return void