- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 128字
- 2021-07-02 12:07:14
Accessing and manipulating pixels in OpenCV
In this section, you will learn how to access and read pixel values with OpenCV and how to modify them. Additionally, you will learn how to access the image properties. If you want to work with many pixels at a time, you need to create Region of Image (ROI). In this section, you will learn how to do this. Finally, you will learn how to split and merge images.
Remember that in Python, images are represented as NumPy arrays. Therefore, most of the operations that are included in these examples are related to NumPy, so a good understanding about the NumPy package is required to both understand the code included in these examples and to write optimized code with OpenCV.
推薦閱讀
- UI設計基礎培訓教程
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- 微服務設計原理與架構
- The Data Visualization Workshop
- bbPress Complete
- C語言程序設計上機指導與習題解答(第2版)
- 零基礎趣學C語言
- 新一代SDN:VMware NSX 網絡原理與實踐
- Machine Learning in Java
- C# and .NET Core Test Driven Development
- MINECRAFT編程:使用Python語言玩轉我的世界
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)
- Backbone.js Testing
- Python預測之美:數據分析與算法實戰(雙色)