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 (최근 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!