- Visual Media Processing Using Matlab Beginner's Guide
- George Siogkas
- 107字
- 2021-08-06 16:38:01
Setting a rectangular area to a specified color
The problem of altering the color of a rectangular area of our choice is a little different in the case of color images. In Chapter 2, Working with Pixels in Grayscale Images, you learned two different ways to alter pixel values in such a task; through using for loops and through indexing.
In a simple case, using the same value for all the color channels, the two aforementioned methods can still be used, but in the case of different values in each color channel, the problem becomes a little more complicated. Let's see these things using a practical example.
推薦閱讀
- Windows phone 7.5 application development with F#
- 網絡服務器配置與管理(第3版)
- Augmented Reality with Kinect
- Python GUI Programming:A Complete Reference Guide
- 電腦軟硬件維修大全(實例精華版)
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 3ds Max Speed Modeling for 3D Artists
- Artificial Intelligence Business:How you can profit from AI
- Learning Stencyl 3.x Game Development Beginner's Guide
- 圖解計算機組裝與維護
- 3D Printing Blueprints
- 筆記本電腦現場維修實錄
- 多媒體應用技術(第2版)
- 計算機組裝與維護教程
- CPU設計實戰:LoongArch版