How to avoid Matrix index exceed Error.

1 次查看(过去 30 天)
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