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!