Create patches in an image
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have an image of size 223x302x3 uint8. I want to divide the image into 20 equal patches and also get the centre pixel of each of these patch. can someone please help me.
many thanks
2 件のコメント
Stephen23
2017 年 5 月 8 日
Use blockproc and indexing, or just indexing, depending on whichever you feel most comfortable with.
Matthew Eicholtz
2017 年 5 月 8 日
I'm confused by the phrase "20 equal patches"; can you clarify? It is impossible to divide a 223-by-302 image into 20 patches with an equal number of pixels in each patch.
回答 (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!