Naming xls files corresponding to image in MATLAB
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Muhammad Usman
il 6 Lug 2014
Commentato: Image Analyst
il 6 Lug 2014
I have number of images in a folder. I have read these images, I am generating sift features and descriptors of these images and writing these in xls files. the only problem here is that i want to name the respective xls file as the name of corresponding image
0 Commenti
Risposta accettata
Image Analyst
il 6 Lug 2014
Let's say your image name has a ".png" in the name, then do
excelFileName = strrep(imageFileName, '.png', 'xlsx');
2 Commenti
Image Analyst
il 6 Lug 2014
No problem. Just modify it and it should work.
excelFileName = strrep(imageFileName, '.jpeg', 'xlsx');
If you haven't read the FAQ yet, see this: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
This should solve your problem. If it does, mark the Answer as "Accepted" if it doesn't, show me your code.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!