Skip to content

Update migration guide with Hough transform changes #136

Closed

Description

@dzenanz

typedef itk::HoughTransform2DCirclesImageFilter<ImageProcessingConstants::DefaultPixelType, ImageProcessingConstants::FloatPixelType> HoughTransformFilterType; now fails to compile:

47>c:\misc\bluequartz\dream3d_plugins\imageprocessing\imageprocessingfilters\itkhoughcircles.cpp(193): error C2976: 'itk::HoughTransform2DCirclesImageFilter': too few template arguments

A sentence or two about reasoning, and a suggested solution should be added to Class changes section of the migration guide.

Activity

  1. N-Dekker commented on Nov 6, 2018

    @N-Dekker
    Contributor

    @dzenanz OK, I'll add a line or two on this topic to the migration guide.

    By the way, this is the related commit:
    06afe0f#diff-cd71664328a9fe41ea4b2c144e7ea9e5

  2. N-Dekker commented on Nov 8, 2018

    @N-Dekker
    Contributor

    @dzenanz What about this one?

    With ITK 5.0, HoughTransform2DCirclesImageFilter<TInputPixelType, TOutputPixelType, TRadiusPixelType> no longer has a default argument for its last template parameter. Instead, users of the filter should now explicitly specify all three template arguments. Earlier versions of ITK assumed TRadiusPixelType to be equal to TOutputPixelType, but it appears that for TRadiusPixelType, a floating point type is often preferred, whereas for TOutputPixelType, an unsigned integer type is often more appropriate.

  3. added a commit that references this issue on Dec 7, 2018
  4. added 2 commits that reference this issue on Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions