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 次查看(过去 30 天)
显示 更早的评论
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 个评论
Simon
2013-11-18
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?
采纳的回答
Image Analyst
2013-11-18
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!