文件名称:OpenCV_CalcHist
介绍说明--下载内容均来自于网络,请自行研究使用
直方图是计算机视觉中一个很重要的工具,OpenCV里面提供了不少有关直方图处理的函数。其中最基本的是计算直方图的函数calcHist()。有关直方图在前面的博文中也有所介绍:基础学习笔记之opencv(4):直方图使用学习。不过目前由于本人课题研究上需要计算多张图片的一维直方图特性,且每张图片对应有自己不同的掩膜矩阵,开始以为OpenCV中提供的calcHist()函数能够实现这个功能,因为其中一个重载函数中有一个参数为InputArrayOfArrays,咋一看会觉得这不就是可以处理多张图片的吗?后面仔细研究后发现其实它实现的功能和我的需求是不同的,因此需要自己单独写函数来完成这一功能。
开发环境:OpenCV2.4.3+Qtcreator2.5.1-The histogram is a very important tool in computer vision, OpenCV which provides a lot of information on the function of the histogram processing. One of the most basic is calculated histogram function calcHist (). The histogram has also been introduced in front of the Bowen: basic study notes of opencv (4): histogram learning. However, I research needs to be calculated multiple pictures of a one-dimensional histogram characteristics, and each image corresponds to a different mask matrix, and began to think that OpenCV provided calcHist () function to enable this functionality, because one of the a parameter InputArrayOfArrays, at first glance Is not that can handle multiple pictures you will feel overloaded functions? Behind careful study to find out that it implements the functionality and my needs are different, and therefore requires its own separate write a function to accomplish this function. Development Environment: OpenCV2.4.3+Qtcreator2.5.1
开发环境:OpenCV2.4.3+Qtcreator2.5.1-The histogram is a very important tool in computer vision, OpenCV which provides a lot of information on the function of the histogram processing. One of the most basic is calculated histogram function calcHist (). The histogram has also been introduced in front of the Bowen: basic study notes of opencv (4): histogram learning. However, I research needs to be calculated multiple pictures of a one-dimensional histogram characteristics, and each image corresponds to a different mask matrix, and began to think that OpenCV provided calcHist () function to enable this functionality, because one of the a parameter InputArrayOfArrays, at first glance Is not that can handle multiple pictures you will feel overloaded functions? Behind careful study to find out that it implements the functionality and my needs are different, and therefore requires its own separate write a function to accomplish this function. Development Environment: OpenCV2.4.3+Qtcreator2.5.1
(系统自动生成,下载前可以参看下载内容)
下载文件列表
基础学习笔记之opencv(20):有关图像序列的直方图计算.pdf
calchist\calchist.pro
........\calchist.pro.user
........\chistogram.cpp
........\chistogram.h
........\debug\calchist.exe
........\.....\calchist.ilk
........\.....\calchist.intermediate.manifest
........\.....\calchist.pdb
........\.....\chistogram.obj
........\.....\main.obj
........\main.cpp
........\Makefile
........\Makefile.Debug
........\Makefile.Release
........\vc100.pdb
........\debug
........\release
calchist