- Visual Media Processing Using Matlab Beginner's Guide
- George Siogkas
- 171字
- 2021-08-06 16:37:52
Applying geometric transformations
By now you have already mastered how to open an image and display it as it is using the Command Window. Now, it is time to learn how to apply basic geometric transformations to an image and display them along with the original. Geometric transformations are probably the most common functionalities of every image editor, no matter how basic it is. They do not generally alter the content of an image, but actually change the grid of pixels so that processes, such as image rotation or mirroring are achieved. Cropping and resizing of images are also two basic geometric transformations. In this section, we will see how all these transformations can be achieved in MATLAB.
Performing image rotation
For image rotation, you can use the function imrotate
. Again, you will be working in the Command Window, where you will have to type the functions to perform the transformations. Only this time, we will use a few more lines of code, to display the results in a single window.
- Aftershot Pro:Non-destructive photo editing and management
- 電腦常見故障現(xiàn)場處理
- 精選單片機設計與制作30例(第2版)
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- 平衡掌控者:游戲數(shù)值經(jīng)濟設計
- INSTANT ForgedUI Starter
- Hands-On Machine Learning with C#
- 超大流量分布式系統(tǒng)架構解決方案:人人都是架構師2.0
- 單片機技術及應用
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- 嵌入式系統(tǒng)原理及應用:基于ARM Cortex-M4體系結構
- 微服務實戰(zhàn)
- Raspberry Pi Home Automation with Arduino
- PIC系列單片機的流碼編程
- ActionScript Graphing Cookbook