Ask Your Question

Revision history [back]

Help:I am puzzled by cvCalcHist function,can you help me?Thank you

Hello, I am using cvCalcHist function. The defination is : void cvCalcHist( IplImage* image, CvHistogram hist,int accumulate=0, const CvArr* mask=NULL ); However, I don't know how to use the parameter mask, Can somebody give me an sample source code? Thanks very much. Best wishes to you.

click to hide/show revision 2
retagged

Help:I am puzzled by cvCalcHist function,can you help me?Thank you

Hello, I am using cvCalcHist function. The defination is : void cvCalcHist( IplImage* image, CvHistogram hist,int accumulate=0, const CvArr* mask=NULL ); However, I don't know how to use the parameter mask, Can somebody give me an sample source code? Thanks very much. Best wishes to you.