Image zero Padding row, column
1 回表示 (過去 30 日間)
古いコメントを表示
I have an image[1102 x 1290]. But I need to resize this image so that it will be [1108 x 1300] in shape. How can I do that with zero padding?
0 件のコメント
採用された回答
KSSV
2017 年 11 月 9 日
I = rand(1102,1290) ;
iwant = zeros(1108,1300) ;
iwant(1:1102,1:1290) = I ;
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!