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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!