en flag +1 214 306 68 37
MRI Scans Analysis to Detect Brain Tumors Using CNN Algorithms

MRI Scans Analysis to Detect Brain Tumors Using CNN Algorithms

Healthcare, Software products
C/C++, AI, Computer vision


ScienceSoft has developed a solution for the healthcare industry aimed at improving automated brain cancer diagnostics by applying convolutional neural network (CNN) algorithms.


The automated medical diagnostics application was to analyze uploaded brain MRI scans and mark the scanned area with the segmented tumor, including each tissue type defined – normal tissue, edema, nonenhancing core, necrotic core and enhancing core.


The project stages included building a specific CNN structure; preparing training and testing datasets; training and testing the CNN, and evaluating accuracy.

ScienceSoft’s team of senior C++ engineers created a CNN structure with the following layers:

  • 5 convolutional layers
  • 1 ReLU activation layer
  • 1 pooling layer
  • 1 fully connected layer

The MRI analysis process included:

  • Segmentation of 3 planes - XY, XZ and YZ
  • Application of 3 post-processing filters to remove noise and other artifacts
  • Merging of 3 output files into one
  • Application of the final post-processing filter to the merged file

To evaluate CNN performance, the team compared acquired results with the ground truth. The ground truth was taken from BRATS imaging datasets, which have been segmented and annotated manually by one to four raters as well as approved by neuro-radiologists. The maximum network accuracy achieved is 87%.

1 1

Comparison: ground truth (top) and the project result (bottom)


ScienceSoft developed a CNN-based application to automatically analyze brain MRI scans, localize tumors and define each tissue type. The application allows to assist health specialists in brain cancer diagnostics, surgery planning and treatment progress tracking.

Technologies and Tools

C++, Caffe framework, CMake, VTK, ITK.

Have a question to our team or need help with your project?

Our team is ready to provide client references, estimate your project, or answer any other question related to your IT initiative.

Upload file

Drag and drop or to upload your file(s)


Max file size 10MB, up to 5 files and 20MB total

Supported formats:

doc, docx, xls, xlsx, ppt, pptx, pps, ppsx, odp, jpeg, jpg, png, psd, webp, svg, mp3, mp4, webm, odt, ods, pdf, rtf, txt, csv, log

More Case Studies