i divided images into 8x8 blocks using mat2cell,but it shows error .

1 次查看(过去 30 天)
my code is
y=[f1 f2 f3 f4 f5];
for li=1:length(y)
div=[8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 ];
b(li)=mat2cell(li(y),div,div);
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by