Crop image by removing edges with homogeneous intensity
버전 1.1.0.0 (2.04 KB) 작성자:
Guilherme Coco Beltramini
Crop image by removing edges with homogeneous intensity and leaving a specified width
USAGE
img2 = crop_img(img)
img2 = crop_img(img,border)
INPUT
- IMG: MxNxC matrix, where MxN is the size of the image and C is the number of color layers
- BORDER: maximum number of pixels at the borders
OUPUT
- IMG2: cropped image
EXAMPLE
>> img = imread('my_pic.png');
>> img2 = crop_img(img,0);
>> imwrite(img2,'my_cropped_pic.png')
인용 양식
Guilherme Coco Beltramini (2025). Crop image by removing edges with homogeneous intensity (https://www.mathworks.com/matlabcentral/fileexchange/42014-crop-image-by-removing-edges-with-homogeneous-intensity), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!