Cv2.CalcHist Method (Mat[],Int32[], InputArray, OutputArray, Int32,Int32[],Rangef[], 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,
Rangef[] 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 Rangef(),
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<Rangef>^ ranges,
bool uniform = true,
bool accumulate = false
)
static member CalcHist :
images : Mat[] *
channels : int[] *
mask : InputArray *
hist : OutputArray *
dims : int *
histSize : int[] *
ranges : Rangef[] *
?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:OpenCvSharp.Mat[]
- channels
- Type:System.Int32[]
- mask
- Type: OpenCvSharp.InputArray
- hist
- Type: OpenCvSharp.OutputArray
- dims
- Type: System.Int32
- histSize
- Type:System.Int32[]
- ranges
- Type:OpenCvSharp.Rangef[]
- uniform (Optional)
- Type: System.Boolean
- accumulate (Optional)
- Type: System.Boolean
See Also