CZ

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Davkovy skript pro hromadnou filtraci LAZ/LAS souboru hierarchickou iteraci CSF filtru        ::
::                             vyvinut pro CloudCompare 2.13.2                                   ::
::                                  Autor: Antonin Skacel                                        ::
:: priloha bp - ZPRACOVANI A PREZENTACE LASEROVYCH DAT PRO POTREBY MONITORINGU KOMARICH LIHNIST  ::
::                  postup prevzat z CloudCompare dokumentace a online tutorialu                 ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Skript vyžaduje manuální nastavení dvou parametrů, a to:

CC_PATH="zde nastavte cestu k CloudCompare.exe na vašem zařízení"
INPUT_DIR="zde nastavte cestu k adresáři s bodovými mračny ke zpracování - pro limitaci náročnosti na HW výkon je vhodné mít oblast rozdělenou do dlaždic"

POPIS SKRIPTU: 
Skript pomocí cyklu FOR zpracovává všechny LAZ soubory v adresáři pomocí CSF filtru, a to ve čtyřech krocích, s proměnlivými hodnotami parametrů Resolution a Classification Threshold.
Výsledkem je adresář se třemi bodovými mračny pro každý vstupní LAZ soubor. Mračno s koncovkou _Ground obsahuje body klasifikované jako terén, mračno s koncovkou _Offground obsahuje sloučené off-ground body z prvních tří průchodů CSF. Třetí mračno s koncovkou _O4_kontrola obsahuje off-ground body z posledního průchodu CSF a je určeno k případné manuální kontrole.


EN

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Batch script for filtering of LAZ files using hierarchical iteration of the CSF filter                           ::
::                                developed for CloudCompare 2.13.2                                                 ::
::                                  Author: Antonin SKACEL                                                          ::
:: Appendix of bachelor thesis - Processing and Visualization of LiDAR Data for Monitoring Mosquito Breeding sites  ::
::                 procedure is based on CloudCompare documentation and available online tutorials                  ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The script requires manual configuration of two parameters, namely:

CC_PATH="set the path to CloudCompare.exe on your device here"
INPUT_DIR="set the path to the directory containing the point clouds to be processed here - to limit the demand on hardware performance, it is advisable to have the area divided into tiles"

SCRIPT DESCRIPTION: 
The script uses a FOR loop to process all LAZ files in the directory using a CSF filter in four steps, with variable values for the Resolution and Classification Threshold parameters.
The result is a directory containing three point clouds for each input LAZ file. The point cloud with the suffix _Ground contains points classified as terrain; the point cloud with the suffix _Offground contains merged off-ground points from the first three CSF passes. The third point cloud, with the suffix _O4_kontrola, contains off-ground points from the last CSF pass and is intended for manual verification.
