Info

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

How Can I Vectorize 4 nested loop to do a task between an image and a mask of it

조회 수: 1 (최근 30일)
eng had
eng had 2020년 5월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
for i=B:n-B
for j=B:m-B
SubFeaArr=[];
imm(i-B+1:i+B-1,j-B+1:j+B-1) = im(i-B+1:i+B-1,j-B+1:j+B-1)+1;
end
end
  댓글 수: 4
eng had
eng had 2020년 5월 20일
I dont see any sliding window in your code line? you apply the process in the whole image at the same time

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by