How to access data with more than 524288 elements?
古いコメントを表示
Hi,
I've got the problem to access my data. There are 46 cells and each cell contains 480x640x3 uint8.
I cannot display summaries of variables with more than 524288 elements on the workspace.
Please have a look at the attached image since pictures speak louder than words.

I've tried to extract into individual RGB channel but it is not working for all frames. It's only showed the first frame and got an error 'Index exceeds matrix dimensions'.
load('X:\data_depth\cf1','imagecolor');
[a,~]=size(imagecolor{1,1});
image=imread('X:\data\template.png');
counter=1;
for i = 1:length(imagecolor)
imagesc(imagecolor{i})
redChannel = i(:, :, 1);
greenChannel = i(:, :, 2);
blueChannel = i(:, :, 3);
pause(0.1)
counter = counter + 1;
endHow to get the variables of 480x640x3 uint8 in each cell?
Help me, please...
Thank you
Regards
Hana
2 件のコメント
Rik
2018 年 5 月 26 日
Why are you incrementing a counter? You have a for-loop that can do that for you. Also, you are using i as you loop counter, but then you are treating it as your image. If you put in i=imagecolor{i}; after your call to imagesc, at least that error should be resolved.
hana razak
2018 年 5 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!