Multiplying matrix to an greyscale image
古いコメントを表示
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 件)
Image Analyst
2021 年 3 月 27 日
1 投票
カテゴリ
ヘルプ センター および File 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!