필터 지우기
필터 지우기

How to make 3D model from 2D CAT Slices?

조회 수: 2 (최근 30일)
Türker Berk Dönmez
Türker Berk Dönmez 2020년 11월 29일
댓글: Türker Berk Dönmez 2020년 11월 29일
myFolder = uigetdir();
filePattern = fullfile(myFolder, '*.jpg');
theFiles = dir(filePattern);
for k = 1 : length(theFiles)
baseFileName = theFiles(k).name;
fullFileName = fullfile(theFiles(k).folder, baseFileName);
y = imread(fullFileName);
grayImage = rgb2gray(y);
isaretleme(240:256, :) = repmat([1,0.5,0], [256-239, 1])
goruntu = imshow(grayImage);
colormap(gca, isaretleme);
drawnow;
imwrite(grayImage,isaretleme, ['Çıktı/img' num2str(k+10) '.jpg'],'jpg');
end
winopen("Çıktı")
imds = imageDatastore(fullfile("Çıktı",'img*'));
montage(imds)
Im using this code to detect possible bone tissue in CAT Slices. I want to do 3d model for whole bone tissues from that slices. Im using JPGs. I dont know whats the height between slices too, but i can try to find the best. If its needed i can also upload the images Im using.
  댓글 수: 3
Türker Berk Dönmez
Türker Berk Dönmez 2020년 11월 29일
편집: Türker Berk Dönmez 2020년 11월 29일
I want to make .stl file from procesed images. So i want to stack together. I added the code and dataset. The slices have 2.5mm far from each other.
Türker Berk Dönmez
Türker Berk Dönmez 2020년 11월 29일
No ideas?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Display Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by