Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Kavitha K
Kavitha K 2018년 9월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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