How to select bounding box randomly ?
이전 댓글 표시
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
2014년 5월 22일
0 개 추천
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
2014년 6월 7일
0 개 추천
Use randperm().
카테고리
도움말 센터 및 File Exchange에서 Predictive Maintenance Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!