フィルターのクリア

How to select bounding box randomly ?

1 回表示 (過去 30 日間)
FARHAD
FARHAD 2014 年 5 月 22 日
回答済み: Image Analyst 2014 年 6 月 7 日
Hi, I have 2000 bounding boxes and I want to select 1000 boxes randomly. How to do it in MATLAB? Please help me.

回答 (2 件)

the cyclist
the cyclist 2014 年 5 月 22 日
Do you have the Statistics Toolbox? The randsample() command sounds like something that would be useful. If not, probably the randi() command would help you.
[You might want to add a bit more detail to your question, regarding how your bounding boxes are stored in variables, etc.]

Image Analyst
Image Analyst 2014 年 6 月 7 日
Use randperm().

カテゴリ

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

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by