This repository contains the tutorials for the Medical Image Analysis NPTEL MOOC
- MATLAB (Install Image Processing Toolbox, Statistics and Machine Learning Toolbox
- PyTorch - Go to the PyTorch website, choose the OS, package manager, language (Python) and CUDA version(if NVIDIA GPU is available and CUDA is installed) and run the given command to install PyTorch.
Steps to run the tutorial:
- Download the DRIVE dataset.
- Extract the dataset into a folder.
- In the same folder download and the file from /MedIA_NPTEL/Random_Forests_Demo/ folder.
- Run retinasegRF.m to create a random forst for segmenting retinal blood vessels.
We have provide an updated version of the tutorial which uses PyTorch (based on Python) instead of Torch7 (based on Lua).
Steps to run the tutorial:
- Download the ALL-IDB_2 dataset.
- Extarct the dataset into a folder.
- In the same folder download and place all the 3 files from /MedIA_NPTEL/Neural_Networks_Demo/ folder.
- Run the dataGenForTorch.m for generating the train,validation and test data matrices.
- Run the nn_demo.m for training the neural network on matlab and view the results in a GUI interface.
- Run the jupyter notebook nptel_media_nn.ipynb for training a neural network using PyTorch framework.