は画像に行及び列を加える
PaddedImage = PadImage(Image, PadValue, Left, Right, Up, Down);
2次元の行列で、型はuint8、uint16、uint32、double又はbooleanである
加えられた画素の値である
左に加えられる列の数である
右に加えられる列の数である
上にに加えられる行の数である
下にに加えられる行の数である
行列で、型はImageと同じである
本関数は画像に行及び列を加える。
Image = rand(3, 3) // generate random image PaddedImage = PadImage(Image, 0, 1, 1, 1, 1) | ![]() | ![]() |