Hi, I have generated matrix of RGB values form image. How I can use elements of same matrix in same program for further operations?
1 view (last 30 days)
Show older comments
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 Comments
Simon
on 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?
Accepted Answer
Image Analyst
on 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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!