필터 지우기
필터 지우기

How to avoid Matrix index exceed Error.

조회 수: 2 (최근 30일)
Tahir
Tahir 2015년 4월 15일
댓글: Michael Haderlein 2015년 4월 15일
Hello, I am extracting patches from image. Each patch size is 64 by 64. When i extract patch from object at corner then i got error "Index exceeds matrix dimensions" . .it is because the patch size goes out of image boundary. so i want to avoid it. How to do this matlab. The image is also attached here. in image i want to extract patch around yellow objects.
  댓글 수: 1
Michael Haderlein
Michael Haderlein 2015년 4월 15일
No image is attached. Please also show what your code is and in which line the error occurs.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polygons에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by