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

Add convert color hsv #3119

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Add convert color hsv #3119

wants to merge 16 commits into from

Conversation

Sherry-XLL
Copy link

No description provided.

@lgtm-com
Copy link

lgtm-com bot commented Jul 29, 2021

This pull request introduces 7 alerts when merging 96efd5b into f9a16ea - view on LGTM.com

new alerts:

  • 7 for Declaration hides parameter

@nihui
Copy link
Member

nihui commented Aug 2, 2021

convert_color 实现 uchar -> uchar 的 hsv2rgb rgb2hsv 就好了,不需要侵入 mat from_pixels 的代码

@Sherry-XLL
Copy link
Author

Project: convert color hsv

  • add vlutq_u32 in src/mat_pixel.h
  • add hsv2rgb, rgb2hsv, hsv2bgr, bgr2hsv, hsv2gray, gray2hsv, hsv2rgba, rgba2hsv, hsv2bgra, bgra2hsv in src/mat_pixel.cpp (uchar -> uchar)
  • add RandomMat_hsv, memcmp_hsv, test_mat_pixel_hsv, test_mat_pixel_7 in tests/test_mat_pixel.cpp
  • 实战和测试文档详见犀牛鸟社区.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants