I need to crop an dental radiograph automatically such that I get only a single tooth.Can anyone help me in writing a code for this?

2 views (last 30 days)
  2 Comments
Jason Moore
Jason Moore on 13 Feb 2015
Using the following code should read the image in, crop it, show it, and then write it to a new .jpg file. To automatically crop each individual tooth you will need to use recognition rules in the image processing toolbox to help single out each tooth.
myImage = imread('myImage.jpg') %imports in the data from the image file
myImage = myImage(70:140,80:130,:) % Crops the image by splitting the array
imshow(myImage) %Shows what the image will look like in MATLAB
imwrite(myImage,'myImageCrop.jpg') %Saves the image back off to a .jpg file.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 13 Feb 2015
There is nothing in MATLAB to that at a high level so you'd have to build something from lower level routines. This is a very difficult project, so good luck. You might start here: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultrasound,%20Heart%20Models,%20Brain%20Models

Community Treasure Hunt

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

Start Hunting!