<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "https://itk.org/migrationv4/ITKMigration.dtd">
<!--**
**
** CArrayRemoval.xml
**
** >>>>>>>>>>>>>>>>>>>>>>>>>>>>
** THIS FILE HAS BEEN AUTOMATICALLY GENERATED. EDIT IT BEFORE COMMITING
** <<<<<<<<<<<<<<<<<<<<<<<<<<<
**
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      CannyEdgeDetector method SetThreshold method is removed.
    </Title>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      The itkCannyEdgeDetector no longer has a SetThreshold methods
      (deprecated in ITK 2.2)

      There is now SetUpperThreshold and SetLowerThreshold. To get the old
      behavior, replace SetThreshold with SetUpperthreshold, and add
      SetLowerThreshold(GetUpperThreshold()*0.5).
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
        <![CDATA[
        typedef itk::Image<float, 3> InputImage;
        itk::CannyEdgeDetectionImageFilter<InputImage, InputImage>::Pointer
        filter =
        itk::CannyEdgeDetectionImageFilter<InputImage, InputImage>::New();
        filter->SetThreshold(30);
        ]]>
      </Old>

      <New>
        <![CDATA[
        typedef itk::Image<float, 3> InputImage;
        itk::CannyEdgeDetectionImageFilter<InputImage, InputImage>::Pointer
        filter =
        itk::CannyEdgeDetectionImageFilter<InputImage, InputImage>::New();
        filter->SetUpperThreshold(30);
        filter->SetLowerThreshold(filter->GetUpperThreshold() / 2);
        ]]>
      </New>

    </SampleCode>

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

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      itkCannyEdgDetectionImageFilter.h
      itkCannyEdgDetectionImageFilter.txx
    </FileList>

</Change>
