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.
我有一个 1024x396 灰度图像。
有什么方法可以将此图像平均分成 3 个相等的部分?
part1 = img(:,1:132); part2 = img(:,133:264); part3 = img(:,265:end);
你可以做:
img1 = img(1:341,:); img2 = img(342:681,:); img3 = img(682:1024,:);