How to reorganization all image long z axis
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Tina Hsiao
el 1 de Jul. de 2022
Comentada: Voss
el 13 de Jul. de 2022
Dear all, I have a question and would like to seek your help. There are beam signals. I took several 2D images (x,y) along the z axis, and I would like to reorganise all images along the z axis. Could you please give me some help? (a few images has attached) I would like to combine with 1.5.bmp, 2.0.bmp, 2.5.bmp along the z-axis . Thank you very much : )
4 comentarios
Adam Danz
el 1 de Jul. de 2022
slice and sliceViewer may also come in handy, although they don't produce the results you're describing above.
Respuesta aceptada
Voss
el 1 de Jul. de 2022
files = dir('*.bmp');
full_file_names = fullfile({files.folder},{files.name});
[~,fn,~] = fileparts(full_file_names);
z = str2double(fn);
figure
hold on
for ii = 1:numel(files)
[I,map] = imread(full_file_names{ii});
warp(z(ii)*ones(size(I)),I,map);
end
xlabel('x')
ylabel('y')
zlabel('z')
6 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!