CONTENTS
• Introduction
• Materials
• Methods
• Results
• Analysis
• Conclusions
• References
3
INTRODUCTION
4
▫ Imaging – Non recommended unless present with red flags symptoms (neurological)
▫ X-ray – Early screening, fracture, mass, bone alignment
▫ CT scan – bone lesion
▫ MRI – soft tissue structure (disc and nerve)
5
• Objective(s) :
▫ To develop codes that can extract the spine from other structure.
▫ To analyse the anatomical structure of the lumbar spine including it surrounding soft tissue.
▫ To look for any possible abnormalities such as fracture line, mass and others.
7
MATERIALS
• Image processing techniques
Image
Image insertion K-mean selection Label selection Cropping
enhancement
I=imread('lspine2_2.jpg'); %convert to grayscale %k-mean selection %Identify pixel range crop=convert;
I= rgb2gray (I); K=30; H1=0.86; crop(1:65,:)=0;
Ikm2=Km2(rgbImage,K); L1=0.82; crop(731:1251,:)=0;
%apply enchncement imagesc(Ikm2); crop(:,1:380)=0;
P= adapthisteq (I); %label the selection crop(:,578:1024)=0;
rgbImage = cat(3, P,P,P); %convert back to rgb a=convert; imshow(crop);
convert=rgb2gray(Ikm2); for i=1:1251
imtool(convert); for j=1:1024
if a(i,j)<=H1 &&
a(i,j) >=L1
convert(i,j)=255 ;
else
convert(i,j)=0 ;
end
end
end
figure, colormap (gray),
imagesc (convert)
12
Image
Contrast enhancement & Homomorphic filter Cropping Labelling
insertion
x=imread('lspine2_2.j k=adapthisteq(x); eim=uint8(eim); %label selection
pg'); eim=rgb2gray(eim); H1=190;%background
%homomorphic filter crop=eim; L1=148;
%convert to grayscale dim=k; crop(1:65,:)=0;
x= rgb2gray (x); cim=double(dim); crop(731:1251,:)=0;
[r,c]=size(dim); crop(:,1:380)=0; a=crop;
cim=cim+1; crop(:,578:1024)=0; for i=1:1251
lim=log(cim); imshow(crop); for j=1:1024
fim=fft2(lim); if a(i,j)<=H1
crop(i,j)=0 ;
%gamma threshold else
lowg=.96; crop(i,j)=255 ;
highg=1.04; end
end
him=homomorph(fim,lowg,highg); end
ifim=ifft2(him); figure, colormap (gray),
eim=exp(ifim); imagesc (crop)
figure;
subplot(2,3,1);imshow(dim);title('Origional image');
subplot(2,3,2);imshow(lim);title('Natural Logarithm');
subplot(2,3,3);imshow(uint8(fim));title('Fourier transform');
subplot(2,3,4);imshow(him);title('Homomorphic filter');
subplot(2,3,5);imshow((ifim));title('Inverse fourier transform');
subplot(2,3,6);imshow(uint8(eim));title('Final result');
13
Image
Insertion of image Cropping Pixel intensity looping Holes filling
enhancement
• JPG image • Cropping was • Contrast enhancement • Best image was chosen from 1o • Unable to control the
• Frontal view performed first 2x selections of looping images. intensity of the holes
• High brightness before • Provide better image filling.
enhancement for pixel range • Does not really
for better selection improved the
results extraction due to
plenty of small holes.
15
Image
Image insertion K-mean selection Label selection Cropping
enhancement
CONCLUSIONS
18
REFERENCES
• [1] Ablyazov, O. (2012). X-ray parameters of lumbar spine. Medical Health and Science Journal, 10(1), 37-40.
• [2] http://tomf.org/gd-resources/downloads/Coury1.pdf
• [3] https://www.uptodate.com/contents/evaluation-of-low-back-pain-in-adults
• [4] https://www.uptodate.com/contents/evaluation-of-low-back-pain-in-adults
• [5] https://dontforgetthebubbles.com/c-spine-x-ray-interpretation/
• [6] https://www.radiologymasterclass.co.uk/tutorials/musculoskeletal/x-ray_trauma_spinal/x-ray_fracture_end
• [7] Stolojescu-CriŞan, C., & Holban, Ş. (2013). A comparison of X-ray image segmentation techniques. Advances in
Electrical and Computer Engineering Engineering, 13(3).
• [8] Nirmala Devi, S., & Kumaravel, N. (2008). Comparison of active contour models for image segmentation in X-
ray coronary angiogram images. Journal of medical engineering & technology, 32(5), 408-418.