Given a grayscale or RGB array representing an image and a given colour (specified as a number or an RGB triplet), it returns an array in which the borders of that colour are cropped.
Lucas Pavlov (2021). crop_image_borders (https://www.mathworks.com/matlabcentral/fileexchange/74739-crop_image_borders), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!