Extracting random patches from a image
1 次查看(过去 30 天)
显示 更早的评论
I have to extract 30 random patches of size 32*32 from an image and then storing all that patches in a single matrix.
please help!
3 个评论
Rik
2019-6-7
You could use the randi function to generate random centerpoints and expand those to full patches.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!