![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
computes the accumulator matrix used by the Hough circles detector ("gradient" method) More...
| IPSDKIPLFEATUREDETECTION_API image::ImagePtr | ipsdk::imaproc::fd::houghCircles2dImg (const image::ImageConstPtr &pInGxImg, const image::ImageConstPtr &pInGyImg, const ipsdk::imaproc::attr::HoughCirclesRadiusRangeConstPtr &pRadiusRange) |
| wrapper function for detects circles in images of gradient using Hough algorithm More... | |
| IPSDKIPLFEATUREDETECTION_API void | ipsdk::imaproc::fd::houghCircles2dImg (const image::ImageConstPtr &pInGxImg, const image::ImageConstPtr &pInGyImg, const ipsdk::imaproc::attr::HoughCirclesRadiusRangeConstPtr &pRadiusRange, const ipsdk::imaproc::attr::eCircleIntensityType &eCircleIntensityType, const ipReal64 maxAngleWithGradDir, const ipUInt32 nbMaxPtsPerCircle, const image::ImagePtr &pOutImg) |
| wrapper function for detects circles in images of gradient using Hough algorithm More... | |
computes the accumulator matrix used by the Hough circles detector ("gradient" method)
This algorithm computes, from the 2 gradient images (respectively along x and y axis) of the same grey levels 2d image, the accumulator matrix used to detect circles in an image, using Hough algorithm ("gradient" method).
See Hough circles detection for more information.
Below is an example of image returned by the algorithm on gradient images computed from an image of coins. We can see that positions of high local maxima in accumulation matrix correspond to positions of centers of circles in the original image:
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InGxGreyImg2d | [Input] 2d grey levels image of gradient computed along x-axis | X |
| ipsdk::imaproc::attr::InGyGreyImg2d | [Input] 2d grey levels image of gradient computed along y-axis | X |
| ipsdk::imaproc::attr::InOptCircleIntensityType | [Input Optional] circle intensity type for detection algorithms | X |
| ipsdk::imaproc::attr::InOptMaxAngleWithGradDir | [Input Optional] maximum angle with gradient direction, in radians | X |
| ipsdk::imaproc::attr::InOptNbMaxPtsPerCircle | [Input Optional] maximum number of points per circle | X |
| ipsdk::imaproc::attr::InOptHoughCirclesRadiusRange | [Input Optional] range of radius of circles to detect using Hough circles algorithm | X |
| ipsdk::imaproc::attr::OutRealImg | [Output] image for processing operation (data contained in image buffer are reals) | ipsdk::imaproc::duplicateInOut (_pOutRealImg, _pInGxGreyImg2d, ipsdk::image::eImageBufferType::eIBT_Real32) |
Global rule description for algorithm :
ipsdk::imaproc::matchSizeAndType (_pInGxGreyImg2d,_pInGyGreyImg2d) &&
ipsdk::imaproc::matchSize (_pInGxGreyImg2d,_pOutRealImg) && ipsdk::imaproc::matchSize<ipsdk::imaproc::attr::HoughCirclesRadiusRange::MaxRadius>(ipsdk::imaproc::eMatchImageSizeType::eMIST_2d,ipsdk::imaproc::eMatchImageSizeScale::eMISS_HalfSize,_pInGxGreyImg2d,_pInOptHoughCirclesRadiusRange)
| IPSDKIPLFEATUREDETECTION_API image::ImagePtr ipsdk::imaproc::fd::houghCircles2dImg | ( | const image::ImageConstPtr & | pInGxImg, |
| const image::ImageConstPtr & | pInGyImg, | ||
| const ipsdk::imaproc::attr::HoughCirclesRadiusRangeConstPtr & | pRadiusRange | ||
| ) |
wrapper function for detects circles in images of gradient using Hough algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFEATUREDETECTION_API void ipsdk::imaproc::fd::houghCircles2dImg | ( | const image::ImageConstPtr & | pInGxImg, |
| const image::ImageConstPtr & | pInGyImg, | ||
| const ipsdk::imaproc::attr::HoughCirclesRadiusRangeConstPtr & | pRadiusRange, | ||
| const ipsdk::imaproc::attr::eCircleIntensityType & | eCircleIntensityType, | ||
| const ipReal64 | maxAngleWithGradDir, | ||
| const ipUInt32 | nbMaxPtsPerCircle, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for detects circles in images of gradient using Hough algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14