How to combine same filename in Table ?

1 vue (au cours des 30 derniers jours)
Wu Steven
Wu Steven le 25 Mar 2021
Commenté : Yun-Cheng Chu le 29 Mar 2021
I got this table from my csv file, as you can see, I have the same name of fist and second row('10001.jpg').
I would like to combine them into the same bbox column.
The bbox column is a 1X4 double cell.
The output table would be like '100001.jpg' [270,186,33,53;37,176,86,80].
Sincerely.

Réponses (1)

Gaurav Garg
Gaurav Garg le 27 Mar 2021
Hi Steven,
You can iterate over all the rows of the table, and then somehow check if any 'name' is getting repeated (you could use solutions provided in this link). Finally, you can append 'bbox' in the resultant table.
  1 commentaire
Yun-Cheng Chu
Yun-Cheng Chu le 29 Mar 2021
TKS! It helps me a lot.
Sincerely,
Steven.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by