# filters.farthestpointsampling¶

The Farthest Point Sampling Filter adds points from the input to the output PointView one at a time by selecting the point from the input cloud that is farthest from any point currently in the output.

filters.sample produces a similar result, but while filters.sample allows us to target a desired separation of points via the radius parameter at the expense of knowing the number of points in the output, filters.farthestpointsampling allows us to specify exactly the number of output points at the expense of knowing beforehand the spacing between points.

Default Embedded Stage

This stage is enabled by default

## Options¶

count

Desired number of output samples. [Default: 1000]

where

An expression that limits points passed to a filter. Points that don’t pass the expression skip the stage but are available to subsequent stages in a pipeline. [Default: no filtering]

where_merge

A strategy for merging points skipped by a ‘where’ option when running in standard mode. If true, the skipped points are added to the first point view returned by the skipped filter. If false, skipped points are placed in their own point view. If auto, skipped points are merged into the returned point view provided that only one point view is returned and it has the same point count as it did when the filter was run. [Default: auto]