Start » Filter Reference » Geometry 3D » Geometry 3D Features » Points3DMedian
Module: | Vision3DLite |
---|
Computes the geometric median of the input points.
Name | Type | Range | Description | |
---|---|---|---|---|
inPoints | Point3DArray | Input points | ||
inWeights | RealArray* | Optional input weights | ||
inMaxIterationCount | Integer | 1 - | Maximum number of iterations | |
outGeometricMedian | Point3D | Geometric median | ||
outDistanceSum | Real | Sum of distances from input points to geometric median | ||
diagApproximationSteps | Point3DArray | Approximate geometric medians calculated during subsequent iterations |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input arrays must be of the same size in Points3DMedian. |
DomainError | Input point array is empty in Points3DMedian. |
Complexity Level
This filter is available on Basic Complexity Level.