Creates a histogram of the specified size and returns the pointer to the created histogram.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvHistogram CreateHist( int[] sizes, HistogramFormat type, float[][] ranges, bool uniform )
Parameters
- sizes
- Type: SystemInt32
Number of histogram dimensions. - type
- Type: OpenCvSharpHistogramFormat
Histogram representation format. - ranges
- Type: SystemSingle
Array of ranges for histogram bins. Its meaning depends on the uniform parameter value. The ranges are used for when histogram is calculated or backprojected to determine, which histogram bin corresponds to which value/tuple of values from the input image[s]. - uniform
- Type: SystemBoolean
Uniformity flag.
Return Value
Type: CvHistogram[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateHist(System.Int32[],OpenCvSharp.HistogramFormat,System.Single[][],System.Boolean)"]
See Also