spfilter
Used for applying various transformations or filters to streaming point formats.
This is based off the
sp2sp tool.
Example usage:
spfilter -i ottawa.spb -o ottawa_grid.spb -ottawa -orig 0.0 0.0 0.0 -cellsize 1.0 1.0 1.0
Input / Output Files
same as the
sp2sp tool
Note: This does not support the '-i2' flag for merging which was a recent addition to sp2sp
Filtering Flags
The current main filter in this tool is the Ottawa Grid Binning filter.
This works by binning all the points into grid cells and then for each x,y column of Grid cells picking the cell with the most points to keep and throwing away all points in other grid cells in the same column.
-ottawa
Apply the Grid Bin filter to the point cloud.
-orig <x-val> <y-val> <z-val>
Specifies the origin of the grid for the ottawa Grid filter. If not specified it defaults to <0.0 0.0 0.0>
-cellsize <x-val> <y-val> <z-val>
Specifies the size of each cell in the grid grid for the ottawa Grid filter. This plus the bounding box is used to compute the number of cells needed to store the entire grid. If not specified it defaults to <1.0 1.0 1.0>
-min <x-val> <y-val> <z-val>
Specifies an alternate minimum bounds for the bounding box. If not specified, it attempts to retrieve the bounds from the bounds inside the current file.
-max <x-val> <y-val> <z-val>
Specifies an alternate maximum bounds for the bounding box. If not specified, it attempts to retrieve the bounds from the bounds inside the current file.
Input File Formats
same as the
sp2sp tool
Output File Formats
same as the
sp2sp tool
Miscellaneous Flags
same as the
sp2sp tool
Note: the -perturb flag is spelled correctly to use in spfilter
OTHER FLAGS
same as the
sp2sptool
Revision: r1.1 - 30 Dec 2008 - 21:51 - Main.guest