C# Класс 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

Наследование: BaseInPlaceFilter2
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void

Process the filter on the specified image.

Приватные методы

Метод Описание
InitFormatTranslations ( ) : void

Описание методов

FastGuidedFilter() публичный метод

Initializes a new instance of the FastGuidedFilter class.
public FastGuidedFilter ( ) : System.Collections.Generic
Результат System.Collections.Generic

FastGuidedFilter() публичный метод

Initializes a new instance of the FastGuidedFilter class.
public FastGuidedFilter ( Bitmap overlayImage ) : System.Collections.Generic
overlayImage System.Drawing.Bitmap Overlay image.
Результат System.Collections.Generic

FastGuidedFilter() публичный метод

Initializes a new instance of the FastGuidedFilter class.
public FastGuidedFilter ( UnmanagedImage unmanagedOverlayImage ) : System.Collections.Generic
unmanagedOverlayImage UnmanagedImage Unmanaged overlay image.
Результат System.Collections.Generic

GetFilledImage() публичный статический метод

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.
Результат UnmanagedImage

ProcessFilter() защищенный метод

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, UnmanagedImage overlay ) : void
image UnmanagedImage Source image data.
overlay UnmanagedImage Overlay image data.
Результат void