Skip to topic | Skip to bottom
Home
TModeling
TModeling.Slcleanr1.1 - 17 Jun 2008 - 15:47 - Main.guesttopic end

Start of topic | Skip to actions
slclean

Removes small connected components from a streaming line file. Operates like a filter. slclean is designed to be used in piping mode (e.g. -islb -olsb).

Example usage:

slclean -i ../data/lidar_band10.slb -o ../data/lidar_band10_clean.slb

Removes all lines with a length shorter than 5 units.

slclean -i ../data/lidar_band10.slb -segment 100 -o ../data/lidar_band10_clean.slb

Removes all lines with fewer than 100 segments.

Also try:

slclean -i ../data/armadillo40.slb -oslb | sl_viewer.exe -islb
slclean -i ../data/armadillo40.slb -length 3 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 2 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 10 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 10 -oslb | slsimp -islb -area 1 -oslb | sl_viewer.exe -islb
For more info:

slclean -h
Usage:
slclean -i in.slb -o out.slb
slclean -islb -osla -segment 50 < in.slb > out.sla
slclean -islb -osla -length 2.0 < in.slb > out.sla
slclean -compact -length 2.0 < in.slb > out.sla
The defaults are: -length=5.0 and -segment=0


if you find bugs let me (isenburg@cs.unc.edu) know.

All information copied directly from http://www.cs.unc.edu/~isenburg/googleearth/tools/slclean_README.txt

-- ChristianStith - 17 Jun 2008
to top


Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback