Multiplying matrix to an greyscale image

1 次查看(过去 30 天)
Hi guys! Nowadays I'm interested in image processing, and now studying about image transformation. So, I want to use some transforming matrix, such as rotating or enlarging.
So, I want to make write a function that multiply a given matrix to an image. I KNOW THERE IS A FUNCTION TO DO THAT but I just want to write a new one, without using other functions.
I think moving each pixels to new location is not a big deal, but I want to know how I can add interpolation features, like bilinear or nearest point. Especially the corner of image where I can use only one point to determine the greyscale of empty pixels. Thanks!
  1 个评论
DGM
DGM 2021-3-27
You can always open the existing tools and see what you can find out.
open imtransform
open tformarray
There may also be other private functions in the directories beneath matlabroot/toolbox/images/images/

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2021-3-27

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by