Table of Contents

Method CalcHist

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CalcHist(Mat[], int[], InputArray, OutputArray, int, int[], Rangef[], bool, bool)

computes the joint dense histogram for a set of images.

public static void CalcHist(Mat[] images, int[] channels, InputArray mask, OutputArray hist, int dims, int[] histSize, Rangef[] ranges, bool uniform = true, bool accumulate = false)

Parameters

images Mat[]
channels int[]
mask InputArray
hist OutputArray
dims int
histSize int[]
ranges Rangef[]
uniform bool
accumulate bool

CalcHist(Mat[], int[], InputArray, OutputArray, int, int[], float[][], bool, bool)

computes the joint dense histogram for a set of images.

public static void CalcHist(Mat[] images, int[] channels, InputArray mask, OutputArray hist, int dims, int[] histSize, float[][] ranges, bool uniform = true, bool accumulate = false)

Parameters

images Mat[]
channels int[]
mask InputArray
hist OutputArray
dims int
histSize int[]
ranges float[][]
uniform bool
accumulate bool