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
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!