I'm trying to rotate an image without imrotate. My output image is unintelligible. Would appreciate any help. Sharing my code, input and output images.
조회 수: 2 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149360/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149361/image.jpeg)
Pic Source: Berkeley Segmentation Database
댓글 수: 0
채택된 답변
Image Analyst
2015년 9월 24일
newImg is a double. Try making it uint8:
newImg = zeros(nRowsNew,nColsNew,3, 'uint8');
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!