Info

此问题已关闭。 请重新打开它进行编辑或回答。

I have dataset of 14 mri image given in cell of 14*1. now in each cell there is 1*1 structure. Inside structure threre are 5 fields with different values.I want to convert entire 14 cell into matrices structure

2 次查看(过去 30 天)
Command needed to decode it

回答(1 个)

Image Analyst
Image Analyst 2017-11-12
Try this:
for k = 1 : length(ca)
this_structure = ca{k};
theImage = this_structure.fieldName; % Replace fieldName with the actual field name that contains the image.
% Now do something with theImage.
end
  1 个评论
vivek parekh
vivek parekh 2017-11-13
编辑:vivek parekh 2017-11-13
hi actually this is the case here...I have to access 14 cells which contain structure with different field..i have to combine them in one matrices ...as my question how can I access them and put it in a proper matrices form..For ex Image field contains 4D value with 5 feature image and Lable A is 3-d in one cell structure. I have to combine all of them in one matrice.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by