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

Points3DMedian


Module: Vision3DLite

Computes the geometric median of the input points.

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