Return the value of the specified bin of 2D histogram. In case of sparse histogram the function returns 0, if the bin is not present in the histogram, and no new bin is created.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double cvQueryHistValue_2D(
	IntPtr hist,
	int idx0,
	int idx1
)
Public Shared Function cvQueryHistValue_2D ( _
	hist As IntPtr, _
	idx0 As Integer, _
	idx1 As Integer _
) As Double
public:
static double cvQueryHistValue_2D(
	IntPtr hist, 
	int idx0, 
	int idx1
)

Parameters

hist
IntPtr
Histogram
idx0
Int32
Indices of the bin
idx1
Int32
Indices of the bin

Return Value

the value of the specified bin of 2D histogram

See Also