The Wayback Machine - https://web.archive.org/web/20201125135304/https://github.com/opencv/opencv/issues/18836
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undocumented *_FULL in cv::ColorConversionCodes #18836

Open
vrabaud opened this issue Nov 17, 2020 · 3 comments
Open

undocumented *_FULL in cv::ColorConversionCodes #18836

vrabaud opened this issue Nov 17, 2020 · 3 comments

Comments

@vrabaud
Copy link
Contributor

@vrabaud vrabaud commented Nov 17, 2020

System information (version)
  • OpenCV => 4.5
Detailed description

The documentation for color conversions does not explain what _FULL does, e.g. https://docs.opencv.org/4.5.0/d8/d01/group__imgproc__color__conversions.html#gga4e0972be5de079fed4e3a10e24ef5ef0ae0070d7e97f1e565cc0992d038e5498e
I believe this should be explained for each color conversion as there are different interpretations on forums.

Issue submission checklist

but they actually give different answers (full gives H in [0,255] in one, [0,360] in the other).

@alalek
Copy link
Contributor

@alalek alalek commented Nov 17, 2020

There is another link on useful page (see enum's documentation itself instead of entries): https://docs.opencv.org/4.5.0/de/d25/imgproc_color_conversions.html

CV_8U case:

  • "FULL" range for H is [0..255]
  • non-"FULL" range for H is [0..180] (H / 2 ~ 360 / 2)
@apurvbotle
Copy link

@apurvbotle apurvbotle commented Nov 19, 2020

Hi, I would like to contribute to this issue.

@shubhamcodez
Copy link
Contributor

@shubhamcodez shubhamcodez commented Nov 23, 2020

Would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.