- 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.
推薦閱讀
- 筆記本電腦使用、維護(hù)與故障排除實(shí)戰(zhàn)
- Applied Unsupervised Learning with R
- Mastering Delphi Programming:A Complete Reference Guide
- 3ds Max Speed Modeling for 3D Artists
- 硬件產(chǎn)品經(jīng)理手冊:手把手構(gòu)建智能硬件產(chǎn)品
- 單片機(jī)原理及應(yīng)用系統(tǒng)設(shè)計
- Artificial Intelligence Business:How you can profit from AI
- micro:bit魔法修煉之Mpython初體驗
- Apple Motion 5 Cookbook
- Visual Media Processing Using Matlab Beginner's Guide
- 計算機(jī)電路基礎(chǔ)(第2版)
- Corona SDK Mobile Game Development:Beginner's Guide
- 微服務(wù)架構(gòu)基礎(chǔ)(Spring Boot+Spring Cloud+Docker)
- The Applied Artificial Intelligence Workshop
- 多媒體應(yīng)用技術(shù)(第2版)