3
Yd4                 @   sp   d Z ddlmZmZmZmZmZmZmZm	Z	m
Z
mZ ddlZG dd deZG dd deZG dd	 d	eZdS )
zuAutogenerated file - DO NOT EDIT
If you spot a bug, please report it on the mailing list and/or change the generator.    )
CommandLineCommandLineInputSpecSEMLikeCommandLineTraitedSpecFile	Directorytraits	isdefinedInputMultiPathOutputMultiPathNc               @   s   e Zd ZeejddddZeejddddZejddd	Z	ejd
dd	Z
eejddddZedddddZejeje dddddZdS )'DWIUnbiasedNonLocalMeansFilterInputSpecz~The algorithm search for similar voxels in a neighborhood of this size (larger sizes than the default one are extremely slow).,z--rs %s)descsepargstrzASimilarity between blocks is measured using windows of this size.z--rc %szThis parameter is related to noise; the larger the parameter, the more agressive the filtering. Should be near 1, and only values between 0.8 and 1.2 are allowedz--hp %f)r   r   z{The number of the closest gradients that are used to jointly filter a given gradient direction (a maximum of 5 is allowed).z--ng %dzSA neighborhood of this size is used to compute the statistics for noise estimation.z--re %s   zInput DWI volume.Tz%s)positionr   existsr      FzOutput DWI volume.)r   Z
hash_filesr   r   N)__name__
__module____qualname__r
   r   ZIntrsrcZFloathpZngrer   ZinputVolumeZEitherZBooloutputVolume r   r   e/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/slicer/legacy/diffusion/denoising.pyr      s:   r   c               @   s   e Zd ZeddddZdS )(DWIUnbiasedNonLocalMeansFilterOutputSpecr   zOutput DWI volume.T)r   r   r   Nr   )r   r   r   r   r   r   r   r   r    r!   ;   s   r!   c               @   s$   e Zd ZdZeZeZdZddiZ	dS )DWIUnbiasedNonLocalMeansFiltera  title: DWI Unbiased Non Local Means Filter

    category: Legacy.Diffusion.Denoising

    description: This module reduces noise (or unwanted detail) on a set of diffusion weighted images. For this, it filters the images using a Unbiased Non Local Means for Rician noise algorithm. It exploits not only the spatial redundancy, but the redundancy in similar gradient directions as well; it takes into account the N closest gradient directions to the direction being processed (a maximum of 5 gradient directions is allowed to keep a reasonable computational load, since we do not use neither similarity maps nor block-wise implementation).
    The noise parameter is automatically estimated in the same way as in the jointLMMSE module.
    A complete description of the algorithm may be found in:
    Antonio Tristan-Vega and Santiago Aja-Fernandez, DWI filtering using joint information for DTI and HARDI, Medical Image Analysis, Volume 14, Issue 2, Pages 205-218. 2010.
    Please, note that the execution of this filter is extremely slow, son only very conservative parameters (block size and search size as small as possible) should be used. Even so, its execution may take several hours. The advantage of this filter over joint LMMSE is its better preservation of edges and fine structures.

    version: 0.0.1.$Revision: 1 $(alpha)

    documentation-url: http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.1/Modules/UnbiasedNonLocalMeansFilterForDWI

    contributor: Antonio Tristan Vega (UVa), Santiago Aja Fernandez (UVa)

    acknowledgements: Partially founded by grant number TEC2007-67073/TCM from the Comision Interministerial de Ciencia y Tecnologia (Spain).
    zDWIUnbiasedNonLocalMeansFilter r   zoutputVolume.niiN)
r   r   r   __doc__r   Z
input_specr!   Zoutput_specZ_cmdZ_outputs_filenamesr   r   r   r    r"   ?   s
   r"   )r#   Znipype.interfaces.baser   r   r   r   r   r   r   r	   r
   r   osr   r!   r"   r   r   r   r    <module>   s
   0&