Random Cropped Image Generator
Version 1.1.0.0 (85.7 KB) by
Soumyabrata Dev
This script helps in the generation of cropped image with random offset and random orientation.
This helps in the creation of cropped square image from an input image (RGB/Grayscale). The cropped image is randomly generated from the input image wherein the pixel location is randomly chosen. Also the orientation of the cropped image is randomly generated too. There are a total of 8 orientations (similar to the 8-pixel neighborhood).
It may be useful in the generation of several training images in various machine learning approaches.
Cite As
Soumyabrata Dev (2026). Random Cropped Image Generator (https://www.mathworks.com/matlabcentral/fileexchange/45883-random-cropped-image-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Neighborhood and Block Processing >
Find more on Neighborhood and Block Processing in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
