- 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.
推薦閱讀
- Boost程序庫完全開發指南:深入C++”準”標準庫(第5版)
- C語言程序設計(第3版)
- Animate CC二維動畫設計與制作(微課版)
- Backbone.js Blueprints
- Java Web開發技術教程
- Java應用開發技術實例教程
- 精通Python設計模式(第2版)
- 自然語言處理Python進階
- Mastering JavaScript High Performance
- 數據結構案例教程(C/C++版)
- SQL Server 2016 從入門到實戰(視頻教學版)
- Building Slack Bots
- Swift High Performance
- 安卓工程師教你玩轉Android
- INSTANT LESS CSS Preprocessor How-to