<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "https://itk.org/migrationv4/ITKMigration.dtd">

<!--**
** UseImageSpacingDefaultToOn.xml
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      Use Image Spacing Default To On
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      Hans Johnson
    </Author>

    <!--**
    ** Date of creation for the XML document
    **-->
    <Date>
      2011-09-17
    </Date>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      <![CDATA[
      The default behavior of filters should respect
      the physical space characteristics of an image.
      The end user will need to explicitly request
      to ignore image space (usually for performance
      reasons under well controlled conditions).
      ]]>
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
        <![CDATA[
        FiniteDifferenceImageFilter::Pointer pFD = FiniteDifferenceImageFilter::New();
        DisplacementFieldJacobianDeterminantFilter::Pointer pDFJD = DisplacementFieldJacobianDeterminantFilter::New();
        VectorGradientMagnitudeImageFilter::Pointer pVGMI = VectorGradientMagnitudeImageFilter::New();
        ]]>
      </Old>

      <New>
        <![CDATA[
        FiniteDifferenceImageFilter::Pointer pFD = FiniteDifferenceImageFilter::New();
        pFD->SetUseImageSpacing(false);
        DisplacementFieldJacobianDeterminantFilter::Pointer pDFJD = DisplacementFieldJacobianDeterminantFilter::New();
        pDFJD->SetUseImageSpacing(false);
        VectorGradientMagnitudeImageFilter::Pointer pVGMI = VectorGradientMagnitudeImageFilter::New();
        pVGMI->SetUseImageSpacing(false);
        ]]>
      </New>

    </SampleCode>

    <!--**
    ** The change-ids for all commits in the topic branch
    **-->
    <Gerrit-ChangeId>
      I54a7f519321ba3db49fbd334bad7ca0a74a86a10
    </Gerrit-ChangeId>

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      Modules/Core/FiniteDifference/include/itkFiniteDifferenceImageFilter.hxx
      Modules/Filtering/DisplacementField/include/itkDisplacementFieldJacobianDeterminantFilter.hxx
      Modules/Filtering/ImageGradient/include/itkVectorGradientMagnitudeImageFilter.hxx
    </FileList>

</Change>
