Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
Command needed to decode it

Answers (1)

Image Analyst
Image Analyst on 12 Nov 2017
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 Comment
vivek parekh
vivek parekh on 13 Nov 2017
Edited: vivek parekh on 13 Nov 2017
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.

This question is closed.

Community Treasure Hunt

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

Start Hunting!