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
2013-3-20
Do you only want to know the sizes? Those can be calculated without doing the block division.
回答(1 个)
Walter Roberson
2013-3-26
Repeated applications of mat2cell(). But you need to define what output data structure you want.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!