Start » Filter Reference » Geometry 3D » Geometry 3D Features » Vectors3DMedian

Vectors3DMedian


Module: Vision3DLite

Computes the geometric median of the input vectors.

Name Type Range Description
Input value
inVectors Vector3DArray Input vectors
Input value
inWeights RealArray* Optional input weights
Input value
inMaxIterationCount Integer 1 - Maximum number of iterations
Output value
outGeometricMedian Vector3D Geometric median
Output value
outDistanceSum Real Sum of distances from input vectors to geometric median
Diagnostic input
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.