6.1K Downloads
Updated
8 Dec 2008
No License
Morphimage morphs an image (grayscale) using a morphing matrix.
Example:
%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 (2026). morphimage (https://au.mathworks.com/matlabcentral/fileexchange/11975-morphimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP2
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
