- 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.
推薦閱讀
- Hyper-V 2016 Best Practices
- Monkey Game Development:Beginner's Guide
- 深入淺出Java虛擬機:JVM原理與實戰
- Flask Web開發入門、進階與實戰
- Java技術手冊(原書第7版)
- Mastering Predictive Analytics with Python
- Getting Started with Laravel 4
- Python3.5從零開始學
- Hands-On Kubernetes on Windows
- ASP.NET求職寶典
- JQuery風暴:完美用戶體驗
- 深入解析Java編譯器:源碼剖析與實例詳解
- Backbone.js Testing
- Laravel Design Patterns and Best Practices
- C#網絡編程高級篇之網頁游戲輔助程序設計