当前位置:网站首页>cv2.cvtColor
cv2.cvtColor
2022-06-29 07:33:00 【Wanderer001】
Reference resources cv2.cvtColor - cloud + Community - Tencent cloud
opencv There are a variety of color spaces in , Include RGB、HSI、HSL、HSV、HSB、YCrCb、CIE XYZ、CIE Lab8 Kind of , In use, we often encounter the transformation of color space , In order to generate mask Operation such as figure .
You can use the following color space conversion function cv2.cvtColor( ) Transform the color space :
HSV Express hue、saturation、value
image_hsv = cv2.cvtColor(image,cv2.COLOR_BGR2HSV)Use this function to transform the image from RGB go to HSV Night space , Note that BGR2HSV, Because in opencv The default color space in is BGR.



Yes, of course , The above picture is randomly selected , Serious applications are similar to :

边栏推荐
- Markdown 技能树(5):图片
- Markdown 技能树(4):链接
- MFC中利用CDockablePane实现悬浮窗
- Appium自动化测试基础 — ADB常用命令(三)
- What you should know about databases
- Markdown 技能树(3):标题
- [translation] E-Cloud. Large scale CDN using kubeedge
- Unexpected exception ... code: Badrequest when downloading Xilinx 2018.2
- 微信小程序学习笔记(暑假)
- Appium automation test foundation ADB common commands (II)
猜你喜欢

E-commerce is popular, how to improve the store conversion rate?

Machine learning notes - time series prediction using machine learning

Unexpected exception ... code: Badrequest when downloading Xilinx 2018.2

Imx6dl4.1.15 supports EIM bus (upper) - actual operation and modification.

Mmclassification installation and debugging

Appium自动化测试基础 — ADB常用命令(二)

机器学习笔记 - 时间序列的混合模型
[translation] swarmed out. Design methods for building modern applications

部署Prometheus-server服务 system管理

How to talk about salary correctly in software test interview?
随机推荐
Do you really understand "binder copy once"?
Explain canfd message and format in AUTOSAR arxml in detail
Comment choisir les fournisseurs de marques CRM dans l'industrie du vêtement?
关于工作方法和高效工作的建议
Schnuka: 3D machine vision inspection system 3D vision inspection application industry
[translation] swarmed out. Design methods for building modern applications
Markdown 技能树(8):代码块
Schnuka: what is visual positioning system? How visual positioning system works
你真的懂 “Binder 一次拷贝吗“?
施努卡:视觉定位系统厂家 什么是视觉定位系统
机器学习笔记 - 时间序列的混合模型
部署Prometheus-server服务 system管理
golang 修改 结构体切片的值
uva10859
测试人员需要了解的工具有哪些
A hybrid model of machine learning notes time series
The table cannot be vacuumed because the cursor is open for a long time
Appium automation test foundation ADB common commands (III)
Kingbasees coping with transaction rollback caused by too fast growth of table age
What is a Test Architect