CvHistogram* cvCreateHist(
int dims,
int* sizes,
int type,
float** ranges=NUL
int uniform=1 );
typedef struct CvHistogram
{
int type;
CvArr* bins;
float thresh[CV_MAX_DIM][2]; /* for uniform histograms */
float** thresh2; /* for non-uniform histograms */
CvMatND mat; /* embedded matrix header for array histograms */
}
CvHistogram;
本文介绍了OpenCV中cvCreateHist函数的使用方法,该函数用于创建直方图对象。文章详细解释了函数参数含义,包括维度数量、每个维度的大小、直方图类型等,并给出了结构体CvHistogram的具体定义。
1249

被折叠的 条评论
为什么被折叠?



