Click or drag to resize
Accord.NET (logo)

FastGuidedFilter Class

Fast Guided Filter (non-commercial).
Inheritance Hierarchy
SystemObject
  Accord.Imaging.FiltersBaseInPlaceFilter
    Accord.Imaging.FiltersBaseInPlaceFilter2
      Accord.Imaging.FiltersFastGuidedFilter

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging.Noncommercial (in Accord.Imaging.Noncommercial.dll) Version: 3.7.0
Syntax
public class FastGuidedFilter : BaseInPlaceFilter2
Request Example View Source

The FastGuidedFilter type exposes the following members.

Constructors
  NameDescription
Public methodFastGuidedFilter
Initializes a new instance of the FastGuidedFilter class.
Public methodFastGuidedFilter(Bitmap)
Initializes a new instance of the FastGuidedFilter class.
Public methodFastGuidedFilter(UnmanagedImage)
Initializes a new instance of the FastGuidedFilter class.
Top
Properties
  NameDescription
Public propertyEpsilon
Epsilon value between 0.0 and 1.0 . Default is 0.01 .
Public propertyFormatTranslations
Format translations dictionary.
(Overrides BaseInPlaceFilterFormatTranslations.)
Public propertyKernelSize
KernelSize between 9 and 99. Default is 9.
Public propertyOverlayImage
Overlay image.
(Inherited from BaseInPlaceFilter2.)
Public propertySubSamplingRatio
SubSamplingRatio value between 0.25 and 1.0 . Default is 0.25 .
Public propertyUnmanagedOverlayImage
Unmanaged overlay image.
(Inherited from BaseInPlaceFilter2.)
Top
Methods
  NameDescription
Public methodApply(Bitmap)
Apply filter to an image.
(Inherited from BaseInPlaceFilter.)
Public methodApply(BitmapData)
Apply filter to an image.
(Inherited from BaseInPlaceFilter.)
Public methodApply(UnmanagedImage)
Apply filter to an image in unmanaged memory.
(Inherited from BaseInPlaceFilter.)
Public methodApply(UnmanagedImage, UnmanagedImage)
Apply filter to an image in unmanaged memory.
(Inherited from BaseInPlaceFilter.)
Public methodApplyInPlace(Bitmap)
Apply filter to an image.
(Inherited from BaseInPlaceFilter.)
Public methodApplyInPlace(BitmapData)
Apply filter to an image.
(Inherited from BaseInPlaceFilter.)
Public methodApplyInPlace(UnmanagedImage)
Apply filter to an unmanaged image.
(Inherited from BaseInPlaceFilter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFilledImage
Get a filled image by a color.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcessFilter(UnmanagedImage)
Process the filter on the specified image.
(Inherited from BaseInPlaceFilter2.)
Protected methodProcessFilter(UnmanagedImage, UnmanagedImage)
Process the filter on the specified image.
(Overrides BaseInPlaceFilter2ProcessFilter(UnmanagedImage, UnmanagedImage).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

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

See Also