图像的几何变换

一. 图像几何变换总述

图像几何变换即用数字的方法来描述图像的大小,位置,形状等变换的方法。

图1. 几何变换学习导图

 

二. 实例学习

dev_close_window()
dev_open_window(0,0,1000,1000,'black',WindowId)
dev_set_color('pink')
*Draw with the mouse an arbitrary region into the window
draw_region(Region,WindowId)
hom_mat2d_identity(HomMat2DIdentity)
hom_mat2d_rotate(HomMat2DIdentity,90,256,256,HomMat2DRotate)
hom_mat2d_scale(HomMat2DRotate,20,20,256,256,HomMat2DScale)
hom_mat2d_translate(HomMat2DScale,48,48,HomMat2DScale)
affine_trans_region(Region,RegionAffineTrans,HomMat2DScale,'nearest_neighbor')
dev_clear_window()
dev_set_draw('margin')
dev_set_color('red')
dev_display(Region)
dev_set_color('yellow')
dev_display(RegionAffineTrans)
图2. 运算结果图

 


总结

本文介绍了图像的几何变换,下节将介绍图像增强的学习内容。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值