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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ishwarya Iyengar
il 24 Set 2015
Risposto: Image Analyst
il 24 Set 2015


Pic Source: Berkeley Segmentation Database
0 Commenti
Risposta accettata
Image Analyst
il 24 Set 2015
newImg is a double. Try making it uint8:
newImg = zeros(nRowsNew,nColsNew,3, 'uint8');
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Geometric Transformation and Image Registration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!