liuruoze / liuruoze/EasyPR

自适应颜色识别中自适应函数的修改

Open
#247 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Good Idea
Dominant language
C++
Stars
6.4k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

现在的版本中,是认为当调节自适应的时候,随着H的值按比例衰减。观察函数可以知道,Hdiff其实是靠近平均值的程度,一般来讲越靠近平均值,说明越可能是这个颜色。 就拿蓝色来说,当H趋于100的时候,也是就是很可能不是蓝色,那么我们就希望s,V的值大一些 这样颜色正一些。所以应该是H趋于100,S,V趋于255. [基于这个思路,自适应应该是随着H的值按比例增加。下面贴对比图

**Please tell us about your environment:**

* **System:** CentOS

* **Compiler version/IDE:** gcc4.8

* **CMake version:** 3.5.1

* **OpenCV version:** [ 3.1 ]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the adaptive color-recognition function and inspect how Hdiff currently changes the S and V thresholds. Compare the existing behavior with the blue-color example described in the issue, where H approaching 100 should make S and V approach 255. Done means the adaptive behavior follows that relationship and the relevant OpenCV-based recognition behavior can be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, opencv
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.