File Exchange

image thumbnail


version (856 Bytes) by Dima Pröfrock
Function to morph grayscale images.


Updated 08 Dec 2008

View Version History

No License

Morphimage morphs an image (grayscale) using a morphing matrix.
%Read image
image = imread('example.pgm');
imagesize = size(image);
%Creating a random morphield
morphfield = 8*imresize(rand(5,5,2)-0.5,imagesize,'bilinear');
%Morph the original image
MorphedImage = morphimage(image,morphfield);

Cite As

Dima Pröfrock (2021). morphimage (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)


Is there anyone help able to help me if i want to answer questions?

Mohd Asnawi

good stuff, helped me eith my project thanks

ali serdar karaba?


Tajmilur Rahman

This code is good, not so much complex or not so tough to undersland but efficient.

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!