agencyenterprise / neurotechdevkit

Neurotech Development Kit (NDK)
https://agencyenterprise.github.io/neurotechdevkit/
Apache License 2.0
115 stars 10 forks source link

[91] - Adding CT loading functionality to web interface #161

Closed NewtonSander closed 11 months ago

NewtonSander commented 11 months ago

Introduction

91 - Adding the possibility of loading a custom CT scan to the web interface

Behavior

The user has to upload two files, one will be the .nii or .zip with the dicom files, the other will be a .json containing the mapping between the material layer names and the layer number, like this:

{  
    "water": 0,
    "brain": 1,
    "trabecular_bone": 2
}

After performing the upload, the CT scan is available on the CT Scan section of the web interface

Usage

Download and extract ct-scans.zip Start the web server, click the CT Scan toggle and select a pair of two files with the same name from the extracted folder to make the upload.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Files Coverage Δ
.../neurotechdevkit/scenarios/built_in/_scenario_2.py 98.88% <ø> (ø)
src/neurotechdevkit/grid.py 92.59% <77.77%> (-0.27%) :arrow_down:

... and 1 file with indirect coverage changes

:loudspeaker: Thoughts on this report? Let us know!.