Integral Projection for separating Teeth Image

Dear All,
I'm on my thesis project about caries detection on periapical x-ray. I have problem when separate each tooth with implement Integral Projection method. I want to get each tooth so I could applied feature extraction method. Here my image file and my code (I am a really newbie :lol) :
clc; clear all;
% Read Image File
I=imread('101.jpg');
% Otsu Thresholding
level=graythresh(I);
% Binarization
Ibw=im2bw(I,level);
% Assign size of row and column for projection
[b k]=size(Ibw);
% Horizontal Integral Projection
for i=1:b
perbaris(i)=sum(Ibw(i,:));
end
% Vertical Integral Projection
for j=1:k
perkolom(j)=sum(Ibw(:,j));
end
Best regards,
Hardian O.

Answers (0)

Asked:

on 3 Feb 2017

Community Treasure Hunt

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

Start Hunting!