<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=4745" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC Diffusional Kurtosis Estimator Forum: dki-questions</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=4745</link>
  <description>Any Problems Setting Up Your Protocols? </description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Sat, 11 Apr 2026 1:12:40 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: Assistance needed with DKI pre-processing using MRtrix/FSL</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</link>
   <description>&lt;p&gt;Thank you for your reply. I think the video tutorial is very helpful.&lt;br&gt;&lt;br&gt;I tried running the tool on my data. The dataset does not have encoding direction. I have 4 files:&lt;br&gt;1. Image file .nii, 2. .bval file, 3. bvec file and 4. *.json file.&lt;br&gt;&lt;br&gt;I installed Pydesigner but I ran in the following error:&lt;br&gt;&lt;br&gt;pydesigner --standard -o /mnt/hgfs/try/DKI/HC1/ /mnt/hgfs/try/DKI/HC1/T20160603170653_NTang^jia-yu_S19.nii&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br&gt;mrconvert -quiet /mnt/hgfs/try/DKI/HC1/dwi0.mif /mnt/hgfs/try/DKI/HC1/working.mif&lt;br&gt;[WARNING] Given DWI is partial fourier, overriding --degibbs; no unringing correction will be done to avoid artifacts.Use the &quot;--adv&quot; flag to run forced corrections.&lt;br&gt;Traceback (most recent call last):&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/mrtrix3/bin/dwifslpreproc&quot;, line 1327, in &amp;lt;module&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; import mrtrix3&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/mrtrix3/bin/mrtrix3.py&quot;, line 84, in &amp;lt;module&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; if not imported (os.path.join (os.path.dirname (build_path), 'lib')):&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/mrtrix3/bin/mrtrix3.py&quot;, line 33, in imported&lt;br&gt;&amp;nbsp; &amp;nbsp; spec.loader.exec_module (module)&lt;br&gt;&amp;nbsp; File &quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&quot;, line 936, in exec_module&lt;br&gt;&amp;nbsp; File &quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&quot;, line 1073, in get_code&lt;br&gt;&amp;nbsp; File &quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&quot;, line 1130, in get_data&lt;br&gt;FileNotFoundError: [Errno 2] No such file or directory: '/mnt/hgfs/try/DKI/HC1/lib/mrtrix3/__init__.py'&lt;br&gt;Traceback (most recent call last):&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/anaconda3/envs/mri/bin/pydesigner&quot;, line 8, in &amp;lt;module&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; sys.exit(main())&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/anaconda3/envs/mri/lib/python3.11/site-packages/designer/pydesigner.py&quot;, line 646, in main&lt;br&gt;&amp;nbsp; &amp;nbsp; mrpreproc.undistort(input=working_path,&lt;br&gt;&amp;nbsp; File &quot;/home/abhishek/anaconda3/envs/mri/lib/python3.11/site-packages/designer/preprocessing/mrpreproc.py&quot;, line 469, in undistort&lt;br&gt;&amp;nbsp; &amp;nbsp; raise Exception('dwifslpreproc failed, please look above for '&lt;br&gt;Exception: dwifslpreproc failed, please look above for error sources.&lt;br&gt;&lt;br&gt;Does anyone know what this error represents ?&amp;nbsp;&lt;br&gt;Thank you in advance.&lt;br&gt;&lt;br&gt;Regards,&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Abhishek&lt;/p&gt;</description>
   <author>Abhishek Patil</author>
   <pubDate>Wed, 10 Apr 2024 7:56:59 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>RE: Assistance needed with DKI pre-processing using MRtrix/FSL</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</link>
   <description>&amp;lt;p&amp;gt;Hi there,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We have a program called PyDesigner (https://pydesigner.readthedocs.io/en/latest/index.html) that performs all the same pre-processing and also provides tensor calculations for diffusion and kurtosis along with their associated rotationally invariants (MD, FA, MK, etc). It is written entirely in Python and easily installed in a 'conda' environment. It could be a good solution as it automatically checks and runs the correct commands for the given data. It also can take in the DICOM folder as input. There is a tutorial video at the URL I posted above. There is also a GitHub forum for issues if you run into trouble (https://github.com/muscbridge/PyDesigner). The outputs are also compatible with MRTrix (orientation-wise) and FSL commands.&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hope this helps, let us know.&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Best regards,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;-Hunter Moss&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Hunter Moss</author>
   <pubDate>Thu, 28 Mar 2024 11:54:31 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>Assistance needed with DKI pre-processing using MRtrix/FSL</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</link>
   <description>&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Hello all,&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;I am new to the DKI preprocessing using MRtrix/fsl and I am encountering a challenge with my dataset.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Specifically, my collected data consists only of three files: *.nii, *.bvec, and *.bval.&amp;amp;nbsp;&amp;lt;br&amp;gt;PS: I do not have PA or AP phase-encoded image files included.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;In my preprocessing workflow, I have employed the following commands:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;mrconvert -fslgrad HC001_preop.bvec HC001_preop.bval HC001_preop.nii HC001_dwi.mif&amp;lt;br&amp;gt;dwidenoise HC001_dwi.mif HC001_den.mif -noise noise.mif&amp;lt;br&amp;gt;dwiextract HC001_den.mif - -bzero | mrmath - mean mean_bzero.mif -axis 3&amp;lt;br&amp;gt;mrcalc HC001_dwi.mif HC001_den.mif -subtract residual.mif&amp;lt;br&amp;gt;mrdegibbs HC001_den.mif HC001_den_unr.mif&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;However, I am encountering difficulty with the &amp;quot;dwifslpreproc&amp;quot; command.&amp;lt;br&amp;gt;I would greatly appreciate your guidance on how to proceed with the preprocessing in the absence of the phase-encoded files?&amp;amp;nbsp;Could someone please assist me in navigating this issue?&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;</description>
   <author>Abhishek Patil</author>
   <pubDate>Thu, 28 Mar 2024 5:30:39 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15043&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>DKE Linux installation</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=12839&amp;forum_id=4745</link>
   <description>Hello,&lt;br /&gt;
I am having trouble installing the DKE estimator on my Linux computer. The user guide manual does not explain how to install it. I was able to extract the files, but I am unsure what to do from this point.</description>
   <author>Mutaz Sarhan</author>
   <pubDate>Thu, 14 Oct 2021 15:02:58 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=12839&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>How to change DKE Path</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10677&amp;forum_id=4745</link>
   <description>I am using the windows DKE GUI, and I need to change the designated path. I have the MATLAB v. 2012a and the appropriate Runtime Copmpiler installed and confirmed. I am receiving a processing error &quot;invalid MEX file,&quot; I believe it is an issue with the path DKE is taking, how do I change the path?</description>
   <author>Rees Ridout</author>
   <pubDate>Thu, 31 Oct 2019 18:20:59 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10677&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>RE: Processing NiFTI File Fails</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10655&amp;forum_id=4745</link>
   <description>Hi Rees,&lt;br /&gt;
&lt;br /&gt;
Make sure you are using the right matlab compiler runtime when running DKE. It was compiled on a pretty old version of matlab 2012a. The error indicates that it is having issues with a .mex file that is native to matlab and not to DKE. YOu can find more information here: https://medicine.musc.edu/departments/centers/cbi/dki/dki-data-processing &lt;br /&gt;
&lt;br /&gt;
Emilie</description>
   <author>Emilie McKinnon</author>
   <pubDate>Thu, 24 Oct 2019 18:53:37 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10655&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>RE: dke_parameters cannot Access Image Files</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10583&amp;forum_id=4745</link>
   <description>Yes. The MCR compilers are free and you can just download the one for Matlab 2012a</description>
   <author>Emilie McKinnon</author>
   <pubDate>Thu, 24 Oct 2019 18:48:20 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10583&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>Processing NiFTI File Fails</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10655&amp;forum_id=4745</link>
   <description>When running the DKE from the GUI on windows, the selected NiFTI file runs and processing fails &amp;quot;with no error message.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[b]I have attached a copy of our parameters file. [/b]&lt;br /&gt;
&lt;br /&gt;
[b]Here is a copy of the command prompt reading:[/b]&lt;br /&gt;
&lt;br /&gt;
% Thu Oct 24 02:12:06 PM&lt;br /&gt;
studydir = 'D:/CIVM_Apps/DKE/dki_example_data_nifti/';&lt;br /&gt;
subject_list = {''};&lt;br /&gt;
preprocess_options.format = 'nifti';&lt;br /&gt;
preprocess_options.fn_nii = '4Drdki_0.nii';&lt;br /&gt;
fn_img_prefix = 'rdki';&lt;br /&gt;
bval = [0 1000 2000];&lt;br /&gt;
ndir = 30;&lt;br /&gt;
idx_1st_img = 1;&lt;br /&gt;
Kmin  = 0;&lt;br /&gt;
NKmax = 3;&lt;br /&gt;
Kmin_final = 0;&lt;br /&gt;
Kmax_final = 3;&lt;br /&gt;
T = 50;&lt;br /&gt;
find_brain_mask_flag = 1;&lt;br /&gt;
dki_method.no_tensor = 0;&lt;br /&gt;
dki_method.linear_weighting = 1;&lt;br /&gt;
dki_method.linear_constrained = 1;&lt;br /&gt;
dki_method.nonlinear = 0;&lt;br /&gt;
dki_method.linear_violations = 0;&lt;br /&gt;
dki_method.robust_option = 0;&lt;br /&gt;
dki_method.noise_tolerance = 0.09;&lt;br /&gt;
dti_method.dti_flag = 0;&lt;br /&gt;
dti_method.dti_only = 0;&lt;br /&gt;
dti_method.no_tensor = 0;&lt;br /&gt;
dti_method.linear_weighting = 1;&lt;br /&gt;
dti_method.b_value = 1e+003;&lt;br /&gt;
dti_method.directions{1} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];&lt;br /&gt;
dti_method.robust_option = 0;&lt;br /&gt;
dti_method.noise_tolerance = 0.09;&lt;br /&gt;
fn_noise = '';&lt;br /&gt;
fwhm_img = [3.375 3.375 3.375];&lt;br /&gt;
fwhm_noise = [0 0 0];&lt;br /&gt;
median_filter_method = 2;&lt;br /&gt;
map_interpolation_method.flag = 1;&lt;br /&gt;
map_interpolation_method.order = 1;&lt;br /&gt;
map_interpolation_method.resolution =      1;&lt;br /&gt;
fn_gradients = 'gradient_vectors_siemens30.dat';&lt;br /&gt;
idx_gradients{1} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];&lt;br /&gt;
idx_gradients{2} = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30];&lt;br /&gt;
&lt;br /&gt;
command line: dke DKEParameters.dat&lt;br /&gt;
Diffusional Kurtosis Estimator (DKE) version 2.6.0, February 2015&lt;br /&gt;
Start date and time: October 24, 2019 14:14:43&lt;br /&gt;
Diffusional Kurtosis Estimator (DKE) version 2.6.0&lt;br /&gt;
Reading input images... complete&lt;br /&gt;
Invalid MEX-file&lt;br /&gt;
'C:\Users\rpr14\AppData\Local\Temp\23\rpr14\mcrCache7.17\dke_840\toolbox\images\images\private\bwlabelnmex.mexw64':&lt;br /&gt;
The specified module could not be found.&lt;br /&gt;
Error in bwlabeln (line 76)&lt;br /&gt;
Error in dke_estimate&amp;gt;find_brain_mask (line 1629)&lt;br /&gt;
Error in dke_estimate (line 220)&lt;br /&gt;
Error in dke (line 182)&lt;br /&gt;
MATLAB:invalidMEXFile</description>
   <author>Rees Ridout</author>
   <pubDate>Thu, 24 Oct 2019 18:48:13 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10655&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>RE: Where to find Video Tutorial for running DKE using GUI.</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10654&amp;forum_id=4745</link>
   <description>Hi Rees, &lt;br /&gt;
&lt;br /&gt;
Unfortunately that video does not exist anymore. However, the manual (https://medicine.musc.edu/departments/centers/cbi/dki/dki-data-processing) should help you get started.  &lt;br /&gt;
&lt;br /&gt;
Let us know if you run into any other issues. &lt;br /&gt;
&lt;br /&gt;
Best, &lt;br /&gt;
Emilie</description>
   <author>Emilie McKinnon</author>
   <pubDate>Thu, 24 Oct 2019 18:47:05 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10654&amp;forum_id=4745</guid>
  </item>
  <item>
   <title>RE: DKE Crashes with &amp;quot;Permission Denied&amp;quot; - Solved!!</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10653&amp;forum_id=4745</link>
   <description>Hi Rees, &lt;br /&gt;
&lt;br /&gt;
This might be silly, but would you mind double checking if the path 'D:/CIVM_Apps/DKE/dki_example_data_nifti/' is spelled correctly and exists? &lt;br /&gt;
The program is trying to create the log file in that location and is having issues. &lt;br /&gt;
&lt;br /&gt;
Best, &lt;br /&gt;
Emilie</description>
   <author>Emilie McKinnon</author>
   <pubDate>Thu, 24 Oct 2019 18:44:45 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10653&amp;forum_id=4745</guid>
  </item>
 </channel>
</rss>
