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
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void

Process the filter on the specified image.

Private Methods

Méthode Description
InitFormatTranslations ( ) : void

Method Details

FastGuidedFilter() public méthode

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

FastGuidedFilter() public méthode

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

FastGuidedFilter() public méthode

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

GetFilledImage() public static méthode

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.
Résultat UnmanagedImage

ProcessFilter() protected méthode

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