Random Cropped Image Generator
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 (2024). Random Cropped Image Generator (https://www.mathworks.com/matlabcentral/fileexchange/45883-random-cropped-image-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Neighborhood and Block Processing >
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.