how can i segment image into blocks
3 次查看(过去 30 天)
显示 更早的评论
i want to design neural network for image compression , the first step is dividing the image into sub image then convert sub image from 2-dimension to 1-dimension input vector for neural network.
0 个评论
回答(1 个)
Matt J
2012-12-19
One way is using this file
Example:
A=rand(80);
subimages=mat2tiles(A,[8,8]); %break into 8x8 blocks
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!