[Neural Networks] Classification of a sick brain

AI Thread Summary
The discussion centers on creating a neural network classifier to differentiate between MRI scans of patients with a specific brain disease and healthy individuals. Key points include the importance of preprocessing the extracted brain images before training the classifier, with suggestions to use NiBabel in Python for loading nii files and TensorFlow or Caffe for building the neural network. It is emphasized that the entire dataset should not be used for training; a validation subset is necessary to assess model accuracy. While BET from FSL is mentioned for skull stripping, participants suggest exploring other tools and highlight that the classifier should focus on making predictions rather than detailed anatomical analysis. Experimentation with the neural network architecture is advised, particularly since the input consists of 3D images. Overall, the conversation provides insights into the technical aspects of MRI data classification using neural networks.
themagiciant95
Messages
56
Reaction score
5
Hi,

i have a dataset with MRI of patients with a specific disease that affects the brain and another dataset with MRI of healthy patients.

I want to create a classifier (using neural networks) to classify if the MRI of a new patient show the presence of the ill or not.

First of all, i extracted the brain from all the MRIs (the so-called skull stripping) using BET tool found in FSL.

I have three questions for you

1) As the input to the training phase i want to give the whole extracted brains(possibly in the nii format), what kind of preprocessing steps do i need to apply once I've extracted the brains (before passing it to the classifier) ?

2) Do you know any better tool for skull stripping?

3) Do you know a tool (or library) that takes as input a nii files and allows me to create a classifier that uses neural networks ?Thanks so much
 
Last edited:
Technology news on Phys.org
Um, I think you are asking for something that may not exist in a form you can use.
An example: http://taco.cse.tamu.edu/pdfs/enspaper.pdf

This effort classifies neural network datasets. Try contacting the author to see where things stand with regard to out of the box software for your task. His email is in the paper as it seems to be a government agency.

Someone else here on PF may know more...
 
Your questions looks very specific, I have no answers.
But I think I can provide you an advice:
themagiciant95 said:
As the input to the training phase i want to give the whole extracted brains
Do not use whole dataset for training! You need to keep some subset of data to validate the accuracy of your model.
 
  • Like
Likes Nugatory
You can use NiBabel (in python) to load the nii files https://nipy.org/nibabel/gettingstarted.html .

And then you can feed the image into a CNN using TensorFlow https://www.tensorflow.org/overview or Caffe https://caffe.berkeleyvision.org/ or something like that.

You might need to experiment with the architecture a bit since the input is a 3D image rather than a 2D image which is more typical.

In terms of pre-processing, there is a lot you could do (http://www.humanbrainmapping.org/files/2015/Ed Materials/FSL_PreProcessing_Pipeline_OHBM15_Jenkinson.pdf), and it can get pretty complex. But also consider that the classifier only needs to be able to make predictions, not analyze the images from an anatomical and physical perspective.

Some neural networks such as a CNN, will be able to learn how to account for some issues all on its own, for example, orientation scale, etc. You might be fine to just try out a classifier on the raw images first, then begin trying some pre-processing steps to see if it helps.
 
Last edited:
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top