File Exchange

image thumbnail


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


Updated 08 Dec 2008

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 .

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!