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

4 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 20 de Mzo. de 2013
Do you only want to know the sizes? Those can be calculated without doing the block division.
Tola
Tola el 22 de Mzo. de 2013
No, I also want to calculate the cell orientation of the blocks gotten. Thank you.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 26 de Mzo. de 2013
Repeated applications of mat2cell(). But you need to define what output data structure you want.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by