http://www.emgu.com
calculates the object probability density from the two histograms as: dist_hist(I)=0, if hist1(I)==0; dist_hist(I)=scale, if hist1(I)!=0 && hist2(I)>hist1(I); dist_hist(I)=hist2(I)*scale/hist1(I), if hist1(I)!=0 && hist2(I)<=hist1(I)

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

Syntax

C#
public static void cvCalcProbDensity(
	IntPtr hist1,
	IntPtr hist2,
	IntPtr dstHist,
	double scale
)
Visual Basic
Public Shared Sub cvCalcProbDensity ( 
	hist1 As IntPtr,
	hist2 As IntPtr,
	dstHist As IntPtr,
	scale As Double
)
Visual C++
public:
static void cvCalcProbDensity(
	IntPtr hist1, 
	IntPtr hist2, 
	IntPtr dstHist, 
	double scale
)
F#
static member cvCalcProbDensity : 
        hist1 : IntPtr * 
        hist2 : IntPtr * 
        dstHist : IntPtr * 
        scale : float -> unit 

Parameters

hist1
Type: System..::..IntPtr
First histogram (the divisor)
hist2
Type: System..::..IntPtr
Second histogram.
dstHist
Type: System..::..IntPtr
Destination histogram.
scale
Type: System..::..Double
Scale factor for the destination histogram.

See Also