MATLAB: How to multiply a gray scale image with matrix to get image according to these points

computer visionimage processingImage Processing Toolbox

Its like writing your own imwrap function.

Best Answer

According to what points? See Steve's in-depth blog about spatial transforms: http://blogs.mathworks.com/steve/2006/08/04/spatial-transformations-defining-and-applying-custom-transforms/