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.
我正在做一个项目,但我面临一个问题:我有一个大小为 m*n(560*585) 的图像,我需要将它分成大小为 p*q(8*8) 的块,并且还必须存储这些块在单独的变量中。
先感谢您
怎么样im2col?您还可以使用padarray填充图像,使其大小为p和的整数乘积q。
im2col
padarray
p
q