フィルターのクリア

Extracting random patches from a image

3 ビュー (過去 30 日間)
Aniket Kumar
Aniket Kumar 2019 年 6 月 7 日
コメント済み: Rik 2019 年 6 月 7 日
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 件のコメント
Aniket Kumar
Aniket Kumar 2019 年 6 月 7 日
I have done this using for loop but that extracts patches sequentially not randomly.
I was looking if there is any direct function in matlab, which does nearly the same.
Rik
Rik 2019 年 6 月 7 日
You could use the randi function to generate random centerpoints and expand those to full patches.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePolygons についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by