How can I divide an image into 64 blocks through the centre of gravity of the image?
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 19 Mar 2013
So the blocks would not all be of equal size ?
Walter Roberson
le 20 Mar 2013
Do you only want to know the sizes? Those can be calculated without doing the block division.
Tola
le 22 Mar 2013
Réponses (1)
Walter Roberson
le 26 Mar 2013
0 votes
Repeated applications of mat2cell(). But you need to define what output data structure you want.
Catégories
En savoir plus sur Neighborhood and Block Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!