Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-15-2005, 06:34 AM   #1
LQ Newbie
Registered: Apr 2005
Location: fukuoka
Posts: 6

Rep: Reputation: 0
Angry about Histogram Function of OpenCV?

I am a new commer to the OpenCV.

I want to compute the color histogram of only the skin region in an image.

When computing the color histogram of the total pixels,
"cvCalcHist(image, histogram, 0, 0)" can be used.

But when it just needs to consider the skin pixels, such as the histogram of hand-face region, how can I set the parameter of cvCalcHistogram,
especially " const CvArr* mask=0".

cvCalcHist(IplImage** img, CvHistogram* hist,
int doNotClear=0, const CvArr* mask=0)"

I do not know much about the construct of the "mask".

Thanks for your advice!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4/GCC-4 and OpenCV 0.9.7 conflicts... jiapei100 Linux - Software 0 11-03-2005 08:28 PM
Synaptic always considers OpenCV-0.9.6 broken? Any idea? jiapei100 Linux - Software 1 03-07-2005 05:52 AM
opencv problems in fedora 3 sinc2 Linux - Software 0 11-16-2004 07:44 PM
using avi files with OpenCV dmaman Programming 2 03-25-2004 09:03 AM
OpenCV fistroman Programming 0 07-28-2003 10:43 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration