You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The images can either be cropped or grown before resizing them to the final square dimension. The ratio of the distribution of the crop or grow center defaults to 0.5 but can be adjusted as desired.
I use this function primarily to prepare images for classification purposes of CNNs.
Developed and tested on MATLAB 2018a.
Cite As
Thomas Spriestersbach (2026). imsquare (https://www.mathworks.com/matlabcentral/fileexchange/69315-imsquare), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.64 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
