Removes zeros (or other elements) at the border of the image.
Cite As
Frederico D'Almeida (2025). Shrink (https://se.mathworks.com/matlabcentral/fileexchange/1364-shrink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R10
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Morphological Operations >
 
      Find more on Morphological Operations in Help Center and MATLAB Answers
    
  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.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
