public static cvCalcHist ( IntPtr image, IntPtr hist, bool accumulate, IntPtr mask ) : void | ||
image | IntPtr | Source images (though, you may pass CvMat** as well), all are of the same size and type |
hist | IntPtr | Pointer to the histogram |
accumulate | bool | Accumulation flag. If it is set, the histogram is not cleared in the beginning. This feature allows user to compute a single histogram from several images, or to update the histogram online |
mask | IntPtr | The operation mask, determines what pixels of the source images are counted |
리턴 | void |
private void Calculate(IntPtr[] arrays, bool accumulate, CvArray <Byte> mask) { Debug.Assert(arrays.Length == Dimension, Properties.StringTable.IncompatibleDimension); CvInvoke.cvCalcHist( arrays, _ptr, accumulate, mask == null ? IntPtr.Zero : mask.Ptr); }
private void Calculate(IntPtr[] arrays, bool accumulate, CvArray <Byte> mask) { #if !NETFX_CORE Debug.Assert(arrays.Length == Dimension, "IncompatibleDimension"); #endif CvInvoke.cvCalcHist( arrays, _ptr, accumulate, mask == null ? IntPtr.Zero : mask.Ptr); }