I found the cause of the first issue.
There is a loop in the itkGibbsTrackingFilter.cpp file:

    float alpha = log(m_EndTemperature/m_StartTemperature);
    m_ParticleWeight = 0.01;
    int ppv = 0;
    // main loop
    int neededParts = 3000;
    while (ppv<neededParts)
    {
        if (ppv<1000)
            m_ParticleWeight /= 2;
        else
            m_ParticleWeight = ppv*m_ParticleWeight/neededParts;

        
encomp->SetParameters(m_ParticleWeight,m_ParticleWidth,m_ConnectionPotential
*m_ParticleLength*m_ParticleLength,m_CurvatureThreshold,m_InexBalance,m_Part
iclePotential);
        for( int step = 0; step < 10; step++ )
        {
            // update temperatur for simulated annealing process
            float temperature = m_StartTemperature *
exp(alpha*(((1.0)*step)/((1.0)*10)));
            sampler->SetTemperature(temperature);

            for (unsigned long i=0; i<10000; i++)
                sampler->MakeProposal();
        }
        ppv = particleGrid->m_NumParticles;
        particleGrid->ResetGrid();
    }


I found the Œppv¹ was never bigger than 3000. The biggest number I have
about 2500. Because I used skull-stripped brain that caused the issue. No
problem if I used whole head  instead.
The question is which one is better, whole head or brain-only DTI? If I use
the brain-only DTI, what suitable value is for neededParts?

Thanks,
Wayne

On 14-05-02 12:05 PM, "Wayne Su" <[email protected]> wrote:

> Hi There,
> 
>  I found MITK-DT was hanging on Gibbs Tracking whenever I  set
> ³particle_length² ³particle_width² or ³particle_weight² to ³auto² (³0² for gtp
> file).  Here are messages I got:
> 
> [Fri May  2 11:49:28 2014
> 0.320] In AutoLoadModulesFromPath at
> /home/wsu/devel/MITK/Core/CppMicroServices/core/src/util/usUtils.cpp:160 :
> Auto-loading module /usr/local/MITK/bin/MitkCore/libMitkVtkShaders.so
> [0.330] In AutoLoadModulesFromPath at
> /home/wsu/devel/MITK/Core/CppMicroServices/core/src/util/usUtils.cpp:160 :
> Auto-loading module /usr/local/MITK/bin/MitkCore/libMitkIpPicSupportIO.so
> [0.340] In AutoLoadModulesFromPath at
> /home/wsu/devel/MITK/Core/CppMicroServices/core/src/util/usUtils.cpp:160 :
> Auto-loading module /usr/local/MITK/bin/MitkCore/libMitkIOExt.so
> [0.340] In AutoLoadModulesFromPath at
> /home/wsu/devel/MITK/Core/CppMicroServices/core/src/util/usUtils.cpp:160 :
> Auto-loading module /usr/local/MITK/bin/MitkCore/libMitkDiffusionIO.so
> [0.380] Start GibbsTracking ..
> [4.770] Loading qball image ...
> [5.290] GibbsTrackingFilter: generating default mask image
> [5.290] GibbsTrackingFilter: loading parameter file param.gtp
> [5.290] GibbsTrackingFilter: parameter file loaded successfully
> [5.290] GibbsTrackingFilter: estimating particle weight
> [5.290] SphereInterpolator: loading lookuptables
> ParticleGrid: allocated 4mb for 100k particles.
> EnergyComputer: 1130496 active voxels found
> 
> I guess something wrong with the automatic searching these parameters.
> 
> I also got following messages from MitkDIffusion GUI:
> [56.780] enabling shader
> [56.790] enabling shader
> [56.820] enabling shader
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShader2.cxx, line
> 82
> vtkShader2 (0x5ffa570): failed at glDeleteShader 1 OpenGL errors detected
>   0 : (1281) Invalid value
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShader2.cxx, line
> 82
> vtkShader2 (0x5fe0fe0): failed at glDeleteShader 1 OpenGL errors detected
>   0 : (1281) Invalid value
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShaderProgram2.cxx
> , line 103
> vtkShaderProgram2 (0x5a80fd0): failed at glDeleteProgram 1 OpenGL errors
> detected
>   0 : (1281) Invalid value
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShader2.cxx, line
> 82
> vtkShader2 (0x57609d0): failed at glDeleteShader 1 OpenGL errors detected
>   0 : (1281) Invalid value
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShader2.cxx, line
> 82
> vtkShader2 (0x567ab10): failed at glDeleteShader 1 OpenGL errors detected
>   0 : (1281) Invalid value
> #57.870# [VtkError] ERROR: ERROR: In
> /home/wsu/devel/MITK-superbuild/VTK-src/Rendering/OpenGL/vtkShaderProgram2.cxx
> , line 103
> vtkShaderProgram2 (0x657c8d0): failed at glDeleteProgram 1 OpenGL errors
> detected
>   0 : (1281) Invalid value
> 
> I tried the official release and found the same issues.
> 
> Wayne

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to