Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by