#include <itkHoughTransform2DCirclesImageFilter.h>
This filter derives from the base class ImageToImageFilter The input is an image, and all pixels above some threshold are those we want to consider during the process.
This filter produces two output: 1) The accumulator array, which represents probability of centers. 2) The array or radii, which has the radius value at each coordinate point.
When the filter found a "correct" point, it computes the gradient at this point and draw a regular narrow-banded circle using the minimum and maximum radius given by the user, and fill in the array of radii. The SweepAngle value can be adjusted to improve the segmentation.