Create
Creates a new Arc instance.
Create()
Arguments
No arguments.
Output
Creates a new Arc object.
Arc geometry and arc detection helper.
from Xenonix.Classic import Arc
Filter methods, arguments, and configuration keys on this page.
Use Config(...) with these keys where the class exposes configuration.
This object does not expose a public Config table.
Creates a new Arc instance.
Create()
No arguments.
Creates a new Arc object.
Runs the main operation and returns the detected/calculated result.
Find(Frame, Region=None, Min_Arc_Deg=10.0, Radius_Min=8.0, Radius_Max=4096.0, Min_Points=20, Inlier_Dist=2.5, Ransac_Iters=20, Pair_Max_Dist=50.0, Merge_Pixels=6.0, Percentile=None, Pick='All', Index=None, Score=None, Image_Size=None, Fast_Mode=True, Max_Gap=5.0, Denoise=False, **KArgs)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Frame |
Required | Any valid value | Input image/frame data. Can be an image object, array, or frame accepted by this tool. |
Region |
None |
Any valid value | Region of interest used to limit where the operation runs. |
Min_Arc_Deg |
10.0 |
Any valid value | Minimum arc deg required by the operation. |
Radius_Min |
8.0 |
Any valid value | Radius Min value used by the operation. |
Radius_Max |
4096.0 |
Any valid value | Radius Max value used by the operation. |
Min_Points |
20 |
Any valid value | Minimum points required by the operation. |
Inlier_Dist |
2.5 |
Any valid value | Maximum distance for a candidate point to count as an inlier. |
Ransac_Iters |
20 |
Any valid value | Number of random fitting attempts used by RANSAC. |
Pair_Max_Dist |
50.0 |
Any valid value | Maximum distance allowed between paired points/features. |
Merge_Pixels |
6.0 |
Any valid value | Merge Pixels value used by the operation. |
Percentile |
None |
Any valid value | Percentile value used by the operation. |
Pick |
'All' |
ALL, FIRST, LAST, BEST, BEST_FIRST, BEST_LAST, BEST_TWO, BIGGEST_GAP, SHORTEST_GAP |
Selects which candidate/result should be returned. |
Index |
None |
Any valid value | Index value used by the operation. |
Score |
None |
Any valid value | Score value used by the operation. |
Image_Size |
None |
Any valid value | Input image size used by the model/tool. |
Fast_Mode |
True |
Any valid value | When True, uses faster approximations or reduced processing where supported. |
Max_Gap |
5.0 |
Any valid value | Maximum allowed gap before a continuous feature is split. |
Denoise |
False |
Any valid value | When True, applies denoising before the main operation. |
KArgs |
**kwargs |
Any valid value | KArgs value used by the operation. |
Returns structured data such as a list or dictionary.