Info

此问题已关闭。 请重新打开它进行编辑或回答。

pls give idea for write multiple layers without overlapping via for loop

1 次查看(过去 30 天)
I have 15 decompose layers. when I write this layers I got only 11 images. 4 images are overlapped with adjacent one. this is code:
cnt = 1;
for j=1:Nr,%1--3
for i=1:Nc,%1--5
phi = imresize(Mask.*Phi(:,:,Ind(cnt)),Rs,'nearest');
phi = 1.5*phi+0.5;
figure;
imshow(phi)
imwrite(phi,sprintf('%d.bmp',(i*j)))
cnt = cnt+1;
end % for i
end % for j

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by