Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7607625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:42:41+00:00 2026-05-31T00:42:41+00:00

based on this article skin could be approximatly detected using hsv color space and

  • 0

based on this article skin could be approximatly detected using hsv color space and taking hue range between 6 and 38.

i tried to use some combination of cvThreshold, in particular i thought this could be the right way:

cvThreshold(planeH, planeH, 38, UCHAR_MAX, CV_THRESH_TRUNC);
cvThreshold(planeH, planeH, 6, UCHAR_MAX, CV_THRESH_BINARY_INV);

but it does not work.
some help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:42:43+00:00Added an answer on May 31, 2026 at 12:42 am

    I believe the function you are really after is the cvInRange function. This function allows you to specify multiple intervals simultaneously.

    For example,

    CvMat* skinMask = cvCreateMat(...);
    cvInRange(hsvImage, CvScalar(6, loS, loV), CvScalar(38, hiS, hiV), skinMask);
    

    Where loS, loV, hiS, hiV are the lower and upper bounds of the S and V channels respectively.

    Here is another one of my answers using inRange. If you can use the C++ interface, I would recommend that over the C interface as it has more features and is the actively maintained side of OpenCV going forward.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Based on this article , it seems like SO is using Javascript OpenID Selector
When I saw this article about using a python-like sintax (indentation based, without curly
I'm implementing an API using authentication based on this article: http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/ And this related
I happened across this article about hardware based hard drive encryption and realized that
Based on this question How to insert array into mysql using PDO and bindParam?
I'm implementing a Announcement system that is loosely based on this article: https://web.archive.org/web/20211020111733/https://www.4guysfromrolla.com/articles/110409-1.aspx One
I'm trying to use PowerShell with web deployment based on this article This is
Based on this drag/drop article: http://delphi.about.com/od/adptips2005/qt/dropontimage.htm I'm trying to catch an image dragged from
I have read this article about using WMI to change the settings of NICs
I want to make my session cookie HttpOnly . Based on this article ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.