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.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ishwarya Iyengar
le 24 Sep 2015
Réponse apportée : Image Analyst
le 24 Sep 2015


Pic Source: Berkeley Segmentation Database
0 commentaires
Réponse acceptée
Image Analyst
le 24 Sep 2015
newImg is a double. Try making it uint8:
newImg = zeros(nRowsNew,nColsNew,3, 'uint8');
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!