Image Processing of Brain Tumors From MRIs

by jhtin in Craft > Digital Graphics

1615 Views, 3 Favorites, 0 Comments

Image Processing of Brain Tumors From MRIs

scan1.jpg

Learn to detect tumor regions from MRI scans using this step-by-step process. Use MatLAB to process images of the brain and to locate the dimensions of a tumor that can be used for further analysis.

Convert MRI Scan to Gray Scale

Screen Shot 2018-03-12 at 8.56.09 PM.png

Convert the MRI scan to gray scale to get rid of any apparent color. The program will be able to detect which individual pixels are considered to be the tumor and which are not by labeling each pixel with a binary code.

Sharpen Image Using High Pass Filter

Screen Shot 2018-03-12 at 8.51.22 PM.png
Screen Shot 2018-03-12 at 8.51.36 PM.png

Apply a high pass filter to the image so pixels with a higher brightness will be intensified over its neighbors. In other words, this form of filtering will amplify the tumor pixels but may also increase the noise of the overall image at the same time.

Remove Noise Using Median Filter

Screen Shot 2018-03-12 at 8.53.08 PM.png
Screen Shot 2018-03-12 at 8.51.50 PM.png

The median filter will help remove the excess noise that was created with the high pass filter. The noise will be removed while still preserving the edges of the sharpened boundaries found from the previous step.

Apply IMHIST and Find Threshold Value

Screen Shot 2018-03-12 at 9.20.32 PM.png
Screen Shot 2018-03-12 at 9.12.59 PM.png

Use built-in function "imhist" to plot a histogram of the intensity image and to determine the best threshold value. Select a threshold value depending on the slope of the curve and apply it to the filtered image. The goal is to have the output be the tumor alone so that it can be analyzed easily.

Output Tumor Region

Screen Shot 2018-03-12 at 9.21.35 PM.png
Screen Shot 2018-03-12 at 9.21.11 PM.png

The final image will result in an MRI scan with the tumor region highlighted.