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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ishwarya Iyengar
el 24 de Sept. de 2015
Respondida: Image Analyst
el 24 de Sept. de 2015


Pic Source: Berkeley Segmentation Database
0 comentarios
Respuesta aceptada
Image Analyst
el 24 de Sept. de 2015
newImg is a double. Try making it uint8:
newImg = zeros(nRowsNew,nColsNew,3, 'uint8');
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!