Hi, I have generated matrix of RGB values form image. How I can use elements of same matrix in same program for further operations?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, with basic function, I have obtained pixel value in RGB format in matrix. I want to use different row values in same program.
4 commentaires
Simon
le 18 Nov 2013
So the question is about xls reading/writing?
Actually, if you write and read again xls files, you should get the same data. Have you example files? Can you give your matlab code (only the part you have problems with) to reproduce what didn't work?
Réponse acceptée
Image Analyst
le 18 Nov 2013
See the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
Probably the easiest way, though some people don't like it, is to just declare your variable global in all functions that need to access it. There are more complicated ways though and they are in the FAQ.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!