Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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 visualización (últimos 30 días)
Command needed to decode it

Respuestas (1)

Image Analyst
Image Analyst el 12 de Nov. de 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 comentario
vivek parekh
vivek parekh el 13 de Nov. de 2017
Editada: vivek parekh el 13 de Nov. de 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.

Community Treasure Hunt

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

Start Hunting!

Translated by