フィルターのクリア

Overlapping binary data and figure

2 ビュー (過去 30 日間)
ajk1
ajk1 2016 年 9 月 9 日
編集済み: ajk1 2016 年 9 月 10 日
Hi, I have 11 binary datasets of the same object (all size 297x258) saved in data1 (hyperlink to binary data) and I would like to produce an image with these data overlapped on each other, each assigned a different colour with the background removed (white). An example of the desired output is shown in the attachment. I generate the figure of these datasets using:
figure, imshow(data1{1}),axis image, colormap(jet) % to generate figure of data1{1}, data1{2},...data1{11}
Additionally any help finding the average increase in size (increase in y-axis) between 'data1{1}' and 'data1{11}' for every x value increment is also appreciated. Each set of data: data1{1}, data1{2}, ...data1{11} is representative of times 1, 2, ...11 respectively and I would like to plot a graph of (average increase in y-axis divided by time) against the X-axis (1:297). Your help is very much appreciated.
My thoughts so far are:
for x=1:x_dim % where xdim is 297 (along the X-axis)
for y=1:ydim % where ydim is 258 (along the y-axis)
%execute code to determine increase in y-direction between binary datasets data1{1}, data1{2},...data1{11}.
%Then compute average for growth in the y-direction between each time
end
%Plot figure of average increase in y-axis against x-axis.
end

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by