/// <summary> /// Copies the histogram. The method copies this histogram’s bin values to the /// destination histogram and sets the same bin value ranges as this instance. /// </summary> /// <param name="dst">The destination histogram.</param> public void Copy(out Histogram dst) { NativeMethods.cvCopyHist(this, out dst); dst.CreateBins(Type); }
/// <summary> /// Compares this histogram with another dense histogram. /// </summary> /// <param name="other">The second dense histogram.</param> /// <param name="method">The comparison method to be used.</param> /// <returns>The distance between the two histograms.</returns> public double Compare(Histogram other, HistogramComparison method) { return(NativeMethods.cvCompareHist(this, other, method)); }