필터 지우기
필터 지우기

How can I divide an image into 64 blocks through the centre of gravity of the image?

조회 수: 1 (최근 30일)
The center of gravity is already known using region props but how do I program it to divide the image into 4 blocks through the center of gravity and then further subdivide each block until 64 blocks is gotten.
  댓글 수: 4
Walter Roberson
Walter Roberson 2013년 3월 20일
Do you only want to know the sizes? Those can be calculated without doing the block division.
Tola
Tola 2013년 3월 22일
No, I also want to calculate the cell orientation of the blocks gotten. Thank you.

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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 26일
Repeated applications of mat2cell(). But you need to define what output data structure you want.

Community Treasure Hunt

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

Start Hunting!

Translated by