Jbartlett6 / SDNet

SDNet, a model based deep learning method to estimate high quality FODs from indersampled DWI signal data.
2 stars 0 forks source link

Subject 101410 patch issue - mask is too close to the edge of the image. #1

Closed Jbartlett6 closed 2 years ago

Jbartlett6 commented 2 years ago

The subject mentioned causes an error when extracting 9 by 9 by 9 patches since the brain mask is too close to the edge of the image.

Jbartlett6 commented 2 years ago

Currently subject 101410 has been removed from the training set - the only alternative is to just mask out sufficiently many pixels from the edge of the image, then pass this into the training. Due to the patch-wise training of the network this shouldn't make a huge difference.

Jbartlett6 commented 2 years ago

This has now been properly fixed, the images are padded when they are loaded into RAM in pytorch, this prevents having to process the images in mrtrix. A quick and easy fix.