Click or drag to resize
Accord.NET (logo)

IntegralImage2 Class

Joint representation of both Integral Image and Squared Integral Image.
Inheritance Hierarchy
SystemObject
  Accord.ImagingIntegralImage2

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
[SecurityCriticalAttribute]
public class IntegralImage2 : IDisposable
Request Example View Source

The IntegralImage2 type exposes the following members.

Constructors
  NameDescription
Protected methodIntegralImage2
Constructs a new Integral image of the given size.
Top
Properties
  NameDescription
Public propertyHeight
Gets the image's height.
Public propertyImage
Gets the Integral Image for values' sum.
Public propertyRotated
Gets the Integral Image for tilted values' sum.
Public propertySquared
Gets the Integral Image for values' squared sum.
Public propertyWidth
Gets the image's width.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the IntegralImage2 is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodStatic memberFromBitmap(Bitmap)
Constructs a new Integral image from a Bitmap image.
Public methodStatic memberFromBitmap(BitmapData)
Constructs a new Integral image from a BitmapData image.
Public methodStatic memberFromBitmap(UnmanagedImage)
Constructs a new Integral image from an unmanaged image.
Public methodStatic memberFromBitmap(Bitmap, Boolean)
Constructs a new Integral image from a Bitmap image.
Public methodStatic memberFromBitmap(Bitmap, Int32)
Constructs a new Integral image from a Bitmap image.
Public methodStatic memberFromBitmap(BitmapData, Boolean)
Constructs a new Integral image from a BitmapData image.
Public methodStatic memberFromBitmap(BitmapData, Int32)
Constructs a new Integral image from a BitmapData image.
Public methodStatic memberFromBitmap(UnmanagedImage, Boolean)
Constructs a new Integral image from an unmanaged image.
Public methodStatic memberFromBitmap(UnmanagedImage, Int32)
Constructs a new Integral image from an unmanaged image.
Public methodStatic memberFromBitmap(Bitmap, Int32, Boolean)
Constructs a new Integral image from a Bitmap image.
Public methodStatic memberFromBitmap(BitmapData, Int32, Boolean)
Constructs a new Integral image from a BitmapData image.
Public methodStatic memberFromBitmap(UnmanagedImage, Int32, Boolean)
Constructs a new Integral image from an unmanaged image.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSum
Gets the sum of the pixels in a rectangle of the Integral image.
Public methodGetSum2
Gets the sum of the squared pixels in a rectangle of the Integral image.
Public methodGetSumT
Gets the sum of the pixels in a tilted rectangle of the Integral image.
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.)
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
Using this representation, both structures can be created in a single pass over the data. This is interesting for real time applications. This class also accepts a channel parameter indicating the Integral Image should be computed using a specified color channel. This avoids costly conversions.
See Also