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.

4 Ansichten (letzte 30 Tage)
Pic Source: Berkeley Segmentation Database

Akzeptierte Antwort

Image Analyst
Image Analyst am 24 Sep. 2015
newImg is a double. Try making it uint8:
newImg = zeros(nRowsNew,nColsNew,3, 'uint8');

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by