필터 지우기
필터 지우기

Info

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

Error using imwrite Expected DATA to be nonempty ???

조회 수: 1 (최근 30일)
Israa Alqaraleh
Israa Alqaraleh 2018년 6월 29일
댓글: Rik 2018년 6월 29일
[m, n] = size(crop); [q,z] = size(crop); i = 1 ;%column j = 1 ; %row %figure(1),imshow(crop); hold on; s = 0 ; while(j<m) while(i<n) rectangle('position',[i j 60 115] , 'LineWidth',1,'EdgeColor','red'); i= i+70; %45 i= i+1; s=s+1; ccc = imcrop(crop , [i j 60 115 ]); end baseFileName = sprintf('%d.bmp',i,j); fullName = fullfile( 'C:\Users\Isr\Documents\Matlab\pwd',baseFileName); imwrite(ccc, fullName);
j= j+120; %58
i= 1 ;
j= j+1 ;
end
  댓글 수: 1
Rik
Rik 2018년 6월 29일
Please do not post the same question multiple times. To keep the discussion/feedback clear, please comment in the other question.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by