6K 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 (2023). morphimage (https://www.mathworks.com/matlabcentral/fileexchange/11975-morphimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
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 >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.