Image Rotated Rectangle Crop
버전 1.0.1 (445 KB) 작성자:
cui,xingxing
An enhanced version of matlab's built-in function 'imcrop', supporting rotated rectangles
Image Rotated Rectangle Crop
An enhanced version of matlab's built-in function imcrop, supporting rotated rectangle crop.
Example
srcImg = imread('peppers.png');
cropRect = [260,200,80,200,pi/4];% [centerX,centerY,width,height,yaw]
% crop rotate rectangle image
cropedImg = imgCrop(srcImg,cropRect);
% show result
rect = [cropRect(1:4),cropRect(5)*180/pi];
verticles = getVertices(rect);
p = polyshape(verticles(:,1),verticles(:,2));
figure;imshow(srcImg);hold on; plot(p);title('origin image');
figure;imshow(cropedImg);title('cropped image')
인용 양식
cui,xingxing (2025). Image Rotated Rectangle Crop (https://github.com/cuixingxing150/imageRectCrop/releases/tag/v1.0.1), GitHub. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.1 | See release notes for this release on GitHub: https://github.com/cuixingxing150/imageRectCrop/releases/tag/v1.0.1 |
||
1.0.0 | |||
0.0.1 | See release notes for this release on GitHub: https://github.com/cuixingxing150/imageRectCrop/releases/tag/v0.0.1 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.