NYU-DiffusionMRI / DESIGNER-v2

Diffusion parameter EStImation with Gibbs and NoisE Removal pipeline Version 2
https://nyu-diffusionmri.github.io/DESIGNER-v2/
Other
16 stars 2 forks source link

Issues with complex denoising #11

Closed HertanuAndreea closed 2 weeks ago

HertanuAndreea commented 1 month ago

Hello,

Thank you so much for sharing this package, it is extremely useful. I successfully used it for Gibbs correction on partial FT data and to estimate DTI/DKI metrics. Concerning the complex MP-PCA denoising I ran into some issues:

I would be very grateful for your help. Thank you, Andreea

badesar1 commented 1 month ago

Hi Andreea, Thanks for reaching out.

A minor issue would be that the bval and bvec files are also required as inputs either through the -fslbvec and -fslbval arguments, either as .mif along with the diffusion volumes, contrary to what is written in the documentation (this is also true for the Gibbs correction). If I don’t input them, than I receive the error in error_1.png

In order to input DWIs without using the -fslbvec/-fslbval args, two conditions need to be met. 1) the image volume must be in .nii or .nii.gz format. 2) The corresponding .bvec and .bval files must have an identical file names and be located in the same directory as the DWIs.

The path toward the phase is not updated from the input user path. By default, when denoising starts, the phase is searched in the temporary folder, but the phase cannot be copied, so it sends out an error with ‘file not found’, see error_2.png

This is a bug that has been fixed in the most recent version of the designer code. You should be able to pull the most recent version from GitHub and get the phase correction working properly. Alternatively you can pull the docker image here: docker pull nyudiffusionmri/designer2:main.

Please let us know if you continue to have issues or recommended changes you would like to see implemented.

Regards, Ben

HertanuAndreea commented 1 month ago

Hi Ben,

Thank you very much for your answer.

Yes, indeed I was using a .nii volume and the .bvec and .bal files were in the same folder. I pulled the docker image as you advised, and tried to launch denoising by following the documentation of designer. Unfortunately, I ran into a new issue. I tried both the 'main' and the 'latest' tags, and I get the same error from below: image

I am not very used to docker. Do you think this is a local issue on my side? Am I missing something? Let me know if you have any advice or if you ran into a similar issue.

Thank you. Regards, Andreea

jchen33344 commented 1 month ago

Hi Andreea,

It looks like the issue is with the path to your files. Your folder is mounted to the container, so you would refer to dwi.mif like this: /data/dwi.mif

Please let me know if you encounter any other issues. Thank you.

Best, Jenny

HertanuAndreea commented 1 month ago

Hello Jenny,

Oh, I see now what I was doing wrong... I understand a bit better now how docker is working. Thank you both for your help and your quick answer! :)

Best, Andreea