Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
手書きの数字データセットから 5 番があるとします。30 度 (反時計回り) 回転させてから、垂直方向と水平方向に 10 ピクセルずらします。どうすればいいですか?
私をあなたのイメージにしましょう。
%I = Input image; J = imrotate(I,30); %To rotate JS = [zeros(size(J,1),10), J]; %To shift 10pix horizontally figure,imshow(I) figure,imshow(J) figure,imshow(JS)