how can i reconstruct a 3 D image from Brain MRI segmented slices?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
there are multiple segmented slices example
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155706/image.png)
there are 186 slices now i'm trying to reconstruct these images what kind of algorithm apply to reconstruct these images????
0 Kommentare
Antworten (2)
Image Analyst
am 13 Aug. 2016
Explain what "reconstruct" means to you. Is it simply concatenating all slices into a 3-D volumetric image with cat(3) or indexing like:
for k = 1 : number of files
thisImages2D = imread(......
if k == 1
[rows, columns, numberOfColorChannels] = size(thisImage2D);
image3D = zeros(rows, columns, class(thisImage2D));
end
image3D(:, :, k) = thisImage2D;
end
Or do you mean something else?
6 Kommentare
majedaldein almahasneh
am 30 Jun. 2017
Bearbeitet: majedaldein almahasneh
am 30 Jun. 2017
Hi,
have you tried using mesh?
clc
close all
clear all
x = imread('imagename.bmp'); %read your image
Img1 = double(x); % convert to double
%imshow(Img1)
Img3d = mesh(Img1) %creats a third dimension for the pixels.
Please tell me how it goes!
0 Kommentare
Siehe auch
Kategorien
Mehr zu MRI finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!