Info
This question is closed. Reopen it to edit or answer.
pls give idea for write multiple layers without overlapping via for loop
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!