LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2005, 05:34 AM   #1
caicaicherry
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!
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:28 PM
Synaptic always considers OpenCV-0.9.6 broken? Any idea? jiapei100 Linux - Software 1 03-07-2005 04:52 AM
opencv problems in fedora 3 sinc2 Linux - Software 0 11-16-2004 06:44 PM
using avi files with OpenCV dmaman Programming 2 03-25-2004 08:03 AM
OpenCV fistroman Programming 0 07-28-2003 09:43 AM


All times are GMT -5. The time now is 07:39 AM.

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