Muti-dimensional histogram
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvHistogram
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvHistogram type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvHistogram |
Creates an empty histogram
| |
CvHistogram(IntPtr) |
Creates a histogram from pointer
| |
CvHistogram(Int32, HistogramFormat) |
Creates a histogram of the specified size and returns the pointer to the created histogram.
| |
CvHistogram(Int32, HistogramFormat, Single) |
Creates a histogram of the specified size and returns the pointer to the created histogram.
| |
CvHistogram(Int32, HistogramFormat, Single, Boolean) |
Creates a histogram of the specified size and returns the pointer to the created histogram.
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
Bins |
Histogram bins.
if Type == Array then returns CvMatND, else if Type == Sparse then CvSparseMat
| |
BinsPtr |
Histogram bins.
if Type == Array then returns CvMatND, else if Type == Sparse then CvSparseMat
| |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
Dim |
Number of histogram dimensions.
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Thresh1 |
For uniform histograms (thresh).
| |
Thresh2 |
For non-uniform histograms.
| |
Type |
Histogram representation format
|
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Calc(IplImage) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
Calc(IplImage) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
Calc(IplImage, Boolean) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
Calc(IplImage, Boolean) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
Calc(IplImage, Boolean, CvArr) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
Calc(IplImage, Boolean, CvArr) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr, Boolean) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr, Boolean) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr, Boolean, CvArr) |
Calculates the histogram of one single-channel image.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArr(CvArr, Boolean, CvArr) |
Calculates the histogram of single-channel images.
The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.
| |
CalcArrBackProject |
Calculates back projection
| |
CalcArrBackProjectPatch(CvArr, CvArr, CvSize, HistogramComparison) |
Locates a template within image by histogram comparison
| |
CalcArrBackProjectPatch(CvArr, CvArr, CvSize, HistogramComparison, Single) |
Locates a template within image by histogram comparison
| |
CalcBackProject |
Calculates back projection
| |
CalcBackProjectPatch(CvArr, CvArr, CvSize, HistogramComparison) |
Locates a template within image by histogram comparison
| |
CalcBackProjectPatch(CvArr, CvArr, CvSize, HistogramComparison, Single) |
Locates a template within image by histogram comparison
| |
CalcBayesianProb |
Calculates bayesian probabilistic histograms
| |
CalcProbDensity(CvHistogram, CvHistogram, CvHistogram) |
Divides one histogram by another.
| |
CalcProbDensity(CvHistogram, CvHistogram, CvHistogram, Double) |
Divides one histogram by another.
| |
Clear |
Sets all histogram bins to 0 in case of dense histogram and removes all histogram bins in case of sparse array.
| |
Compare |
Compares two dense histograms.
| |
Copy |
Makes a copy of the histogram.
If the second histogram dst is null, a new histogram of the same size as src is created.
Otherwise, both histograms must have equal types and sizes.
Then the function copies the source histogram bins values to destination histogram and sets the same bin values ranges as in src.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetHashCode | (Inherited from Object.) | |
GetMinMaxValue(Single, Single) |
Finds minimum and maximum histogram bins.
| |
GetMinMaxValue(Single, Single, Int32, Int32) |
Finds minimum and maximum histogram bins.
| |
GetType | (Inherited from Object.) | |
GetValue1D |
Returns pointer to histogram bin.
| |
GetValue2D |
Returns pointer to histogram bin.
| |
GetValue3D |
Returns pointer to histogram bin.
| |
GetValueND |
Returns pointer to histogram bin.
| |
MemberwiseClone | (Inherited from Object.) | |
Normalize |
Normalizes the histogram bins by scaling them, such that the sum of the bins becomes equal to factor.
| |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
QueryValue1D |
Queries value of histogram bin.
| |
QueryValue2D |
Queries value of histogram bin.
| |
QueryValue3D |
Queries value of histogram bin.
| |
QueryValueND |
Queries value of histogram bin.
| |
SetBinRanges(Single) |
Sets bounds of histogram bins
| |
SetBinRanges(Single, Boolean) |
Sets bounds of histogram bins
| |
Thresh |
Clears histogram bins that are below the specified threshold.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
SizeOf |
sizeof(CvHistogram)
|
See Also