How to do interpolate mri image in App Desginer?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have 256 dicom images in size 256x256.
I want to interpolate them but I don't know how many slices do i need for it.
I made 510 size of z axes using interp3 function and same size of x, y axes using resized function . I have no ideas...
%read dicom files
% inpertolate z axes to 510
[X, Y, Z] = meshgrid(1:256, 1:256, 1:256);
[Xq, Yq, Zq] = meshgrid(1:256, 1:256, 1:0.5:256);
app.interpImages = interp3(X, Y, Z, app.images, Xq, Yq, Zq, 'linear');
% make x, y axes to 510
app.resizedImages = zeros(510, 510, 510);
for i = 1:510
app.resizedImages(:, :, i) = imresize(app.interpImages(:, :, i), [510, 510]);
end
1 comentario
Rik
el 5 de Jun. de 2023
Your problem is not related to AppDesigner.
What exactly do you want to have happen? Do you want to resample 256x256x256 to 510x510x510?
Respuestas (0)
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!