Cv2CalcHist Method (Mat, Int32, InputArray, OutputArray, Int32, Int32, Single, Boolean, Boolean)
|
computes the joint dense histogram for a set of images.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void CalcHist(
Mat[] images,
int[] channels,
InputArray mask,
OutputArray hist,
int dims,
int[] histSize,
float[][] ranges,
bool uniform = true,
bool accumulate = false
)
Public Shared Sub CalcHist (
images As Mat(),
channels As Integer(),
mask As InputArray,
hist As OutputArray,
dims As Integer,
histSize As Integer(),
ranges As Single()(),
Optional uniform As Boolean = true,
Optional accumulate As Boolean = false
)
public:
static void CalcHist(
array<Mat^>^ images,
array<int>^ channels,
InputArray^ mask,
OutputArray^ hist,
int dims,
array<int>^ histSize,
array<array<float>^>^ ranges,
bool uniform = true,
bool accumulate = false
)
static member CalcHist :
images : Mat[] *
channels : int[] *
mask : InputArray *
hist : OutputArray *
dims : int *
histSize : int[] *
ranges : float32[][] *
?uniform : bool *
?accumulate : bool
(* Defaults:
let _uniform = defaultArg uniform true
let _accumulate = defaultArg accumulate false
*)
-> unit
OpenCvSharp.Cv2.CalcHist = function(images, channels, mask, hist, dims, histSize, ranges, uniform, accumulate);
Parameters
- images
- Type: OpenCvSharpMat
- channels
- Type: SystemInt32
- mask
- Type: OpenCvSharpInputArray
- hist
- Type: OpenCvSharpOutputArray
- dims
- Type: SystemInt32
- histSize
- Type: SystemInt32
- ranges
- Type: SystemSingle
- uniform (Optional)
- Type: SystemBoolean
- accumulate (Optional)
- Type: SystemBoolean
See Also