필터 지우기
필터 지우기

how can we read and show CT scan files on MATLAB GUI

조회 수: 10 (최근 30일)
Muhammad
Muhammad 2013년 8월 12일
댓글: Walter Roberson 2021년 12월 3일
Hi Everybody
hope you all are enjoying good health. i took CT of a phantom and files are created in the form of .egsphant. theses are 127X127 with 55 slices. i mean i have 55 files, every file contains 127 rows and 127 columns. 127 rows and 127 columns make one image. i want to show them in MATLAB GUI. i wana open the file and using slider wanan show one by one. any help will be greatly appreciated.
Isa
  댓글 수: 2
Matt Kindig
Matt Kindig 2013년 8월 12일
편집: Matt Kindig 2013년 8월 12일
There are a variety of Matlab GUIs that have been created for exactly this purpose. This search on the File Exchange found several. Try a few, and see what you prefer.
Walter Roberson
Walter Roberson 2013년 8월 13일
I do not recognize .egsphant as being DICOM files.

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

답변 (1개)

Jaya Shree
Jaya Shree 2021년 12월 3일
clc; clearall; closeall; I=dicomread('F:\DOI\LIDC-IDRI-0001\1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178\1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192\000003.dcm'); info=dicominfo('F:\DOI\LIDC-IDRI-0001\1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178\1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192\000003.dcm'); I=dicomread(info); imshow(I,'DisplayRange',[]); title('original image'); % image_gray=rgb2gray(I); image_resize=imresize(I,[256 256]); image_resize=im2double(image_resize); %filtering % B=medfilt2(I,[7 7],'symmetric'); % figure,imshow(B); gamma=0.1;%aspect ratio psi=0;%phase theta=50;%orientation bw=2.8; lambda=3;%wavelength pi=180; for x=1:256 for y=1:256 x_theta=image_resize(x,y)*cos(theta)+image_resize(x,y)*sin(theta); y_theta=image_resize(x,y)*sin(theta)+image_resize(x,y)*cos(theta); gb(x,y)=exp(-(x_theta.^2/2*bw^2+gamma^2*y_theta.^2/2*bw^2))*cos(2*pi/lambda*x_theta+psi); end end figure,
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 12월 3일
Please use the '>' button to insert formatted code. Because of the % in the code, I cannot tell which parts are intended to be commented or not.
This code does not appear to be an answer to the question that was asked in 2013 ??

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by