Effacer les filtres
Effacer les filtres

How to select bounding box randomly ?

1 vue (au cours des 30 derniers jours)
FARHAD
FARHAD le 22 Mai 2014
Hi, I have 2000 bounding boxes and I want to select 1000 boxes randomly. How to do it in MATLAB? Please help me.

Réponses (2)

the cyclist
the cyclist le 22 Mai 2014
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 le 7 Juin 2014
Use randperm().

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by