You are here: Start » FIL.NET » Function Reference » Computer Vision » Camera Calibration » FIL.DetectCalibrationGrid_Circles
Detects an arbitrary size symmetric circle pattern on the image.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void DetectCalibrationGrid_Circles ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, float inCircleRadius, float inCircleDetectionThreshold, FilNet.Polarity inCirclePolarity, IList<FilNet.AnnotatedPoint2D> outImageGrid, FilNet.Region diagCirclesRegion, IList<FilNet.Point2D> diagCircleCandidates )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | FilNet.Image | Input image. | |||
inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | |||
inCircleRadius | float | <1.0f, INF> | Circle radius measured in input image pixels. | ||
inCircleDetectionThreshold | float | <0.0f, INF> | 20.0f | Detection threshold (relative to local image patch). Default value: 20.0f. | |
inCirclePolarity | FilNet.Polarity | Any | Circle intensity with respect to background. Default value: Any. | ||
outImageGrid | System.Collections.Generic.IList<FilNet.AnnotatedPoint2D> | Detected grid. | |||
diagCirclesRegion | FilNet.Region | Image after thresholding, this is the circle detector input. | |||
diagCircleCandidates | System.Collections.Generic.IList<FilNet.Point2D> | Detected circle centers, before the grid construction step. |
Examples
Remarks
The circle pattern must be a rectangular grid, with equal spacing in both dimensions.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported inImage pixel format. |
DomainError | Region of interest exceeds an input image. |
DomainError | Not supported inImage pixel format in DetectCalibrationGrid_Circles. Supported formats: UInt8. |
Function Overrides
- DetectCalibrationGrid_Circles(Image, Single, Single, Polarity, IList<AnnotatedPoint2D>)
- DetectCalibrationGrid_Circles(Image, NullableRef<Region>, Single, Single, Polarity, IList<AnnotatedPoint2D>)