how can i split a QR image into two halves in matlab?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
I tried using this code. It works perfectly well for a rgb image, but fails for a QR image. % code ims=imread('baby.jpg'); if true [rows, columns, numberOfColorChannels] = size(ims); topHalf = imcrop(ims, [1, 1, columns, floor(rows/2)]); bottomHalf = imcrop(ims, [1, ceil(rows/2), columns, floor(rows/2)]); end imshow(topHalf); imshow(bottomHalf);
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!