Start » Filter Reference » Geometry 3D » Geometry 3D Features » Vectors3DMedian
Module: | Vision3DLite |
---|
Computes the geometric median of the input vectors.
Name | Type | Range | Description | |
---|---|---|---|---|
inVectors | Vector3DArray | Input vectors | ||
inWeights | RealArray* | Optional input weights | ||
inMaxIterationCount | Integer | 1 - | Maximum number of iterations | |
outGeometricMedian | Vector3D | Geometric median | ||
outDistanceSum | Real | Sum of distances from input vectors to geometric median | ||
diagApproximationSteps | Vector3DArray | 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 Vectors3DMedian. |
DomainError | Input vector array is empty in Vectors3DMedian. |
Complexity Level
This filter is available on Advanced Complexity Level.