Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

30 lines (16 loc) · 1.3 KB

RectAngle

Segmentation and classification tool for trans-rectal B-mode ultrasound images.

Submitted as coursework for MPHY0041: Machine Learning in Medical Imaging.

This package contains PyTorch-based implementations of a U-Net based segmentation model, and a DenseNet-based classification model, for the simultaneous detection and segmentation of prostate in rectal b-mode ultrasound images.

Installation

To install from command line, use the following git command:

git clone https://github.com/liamchalcroft/RectAngle/

A conda environment file is provided in the ./conda/ folder, which may be used as such:

cd RectAngle

conda env create --file ./conda/rectangle.yml

conda activate rectangle

Once this is activated, the package may be installed using the setup.py file:

pip install .

Following this, training/inference may be performed using objects in the train module.

To familiarise with the code used, an interactive notebook used for experiments in the associated report is available below. Please note that data used is proprietary and so has been withheld from the published repository.

Open In Colab