Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
instance_segmentation_classic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maciej Wielgosz
instance_segmentation_classic
Commits
e603fcac
Commit
e603fcac
authored
2 years ago
by
Maciej Wielgosz
Browse files
Options
Downloads
Patches
Plain Diff
addedd two new parameters from points2trees to run_all_command_line.sh
parent
ffe16c69
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bash_helper_scripts/get_small_data_for_playground.sh
+7
-7
7 additions, 7 deletions
bash_helper_scripts/get_small_data_for_playground.sh
run_all_command_line.sh
+15
-2
15 additions, 2 deletions
run_all_command_line.sh
with
22 additions
and
9 deletions
bash_helper_scripts/get_small_data_for_playground.sh
+
7
−
7
View file @
e603fcac
TARGET_FOLDER
=
/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/
maciek
TARGET_FOLDER
=
/home/nibio/mutable-outside-world/code/gitlab_fsct/instance_segmentation_classic/
sample_playground
rm
-rf
$TARGET_FOLDER
/
*
rm
-rf
$TARGET_FOLDER
/
*
cp
/home/nibio/mutable-outside-world/data/small_file_pipeline_test/small_file_pipeline_test.las
$TARGET_FOLDER
cp
/home/nibio/mutable-outside-world/data/small_file_pipeline_test/small_file_pipeline_test.las
$TARGET_FOLDER
...
@@ -6,11 +6,11 @@ cp /home/nibio/mutable-outside-world/data/small_file_pipeline_test/small_file_pi
...
@@ -6,11 +6,11 @@ cp /home/nibio/mutable-outside-world/data/small_file_pipeline_test/small_file_pi
# change name of the file to first.laz
# change name of the file to first.laz
mv
$TARGET_FOLDER
/small_file_pipeline_test.las
$TARGET_FOLDER
/first.las
mv
$TARGET_FOLDER
/small_file_pipeline_test.las
$TARGET_FOLDER
/first.las
# make a copy of the file
#
# make a copy of the file
cp
$TARGET_FOLDER
/first.las
$TARGET_FOLDER
/second.las
#
cp $TARGET_FOLDER/first.las $TARGET_FOLDER/second.las
# make a copy of the file
#
# make a copy of the file
cp
$TARGET_FOLDER
/first.las
$TARGET_FOLDER
/third.las
#
cp $TARGET_FOLDER/first.las $TARGET_FOLDER/third.las
# make a copy of the file
# # make a copy of the file
cp
$TARGET_FOLDER
/first.las
$TARGET_FOLDER
/fourth.las
# cp $TARGET_FOLDER/first.las $TARGET_FOLDER/fourth.las
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
run_all_command_line.sh
+
15
−
2
View file @
e603fcac
...
@@ -14,10 +14,13 @@ FIND_STEMS_THICKNESS=0.5
...
@@ -14,10 +14,13 @@ FIND_STEMS_THICKNESS=0.5
GRAPH_MAXIMUM_CUMULATIVE_GAP
=
3
GRAPH_MAXIMUM_CUMULATIVE_GAP
=
3
ADD_LEAVES_VOXEL_LENGTH
=
0.5
ADD_LEAVES_VOXEL_LENGTH
=
0.5
FIND_STEMS_MIN_POINTS
=
50
FIND_STEMS_MIN_POINTS
=
50
GRAPH_EDGE_LENGTH
=
1.0
ADD_LEAVES_EDGE_LENGTH
=
1.0
############################# end of parameters declaration ############################
############################# end of parameters declaration ############################
# extract tiling parameters as command line arguments with the same default values
# extract tiling parameters as command line arguments with the same default values
while
getopts
"d:n:s:h:t:g:l:m:"
opt
;
do
while
getopts
"d:n:s:h:t:g:l:m:
o:p:
"
opt
;
do
case
$opt
in
case
$opt
in
d
)
data_folder
=
"
$OPTARG
"
d
)
data_folder
=
"
$OPTARG
"
;;
;;
...
@@ -35,6 +38,10 @@ while getopts "d:n:s:h:t:g:l:m:" opt; do
...
@@ -35,6 +38,10 @@ while getopts "d:n:s:h:t:g:l:m:" opt; do
;;
;;
m
)
FIND_STEMS_MIN_POINTS
=
"
$OPTARG
"
m
)
FIND_STEMS_MIN_POINTS
=
"
$OPTARG
"
;;
;;
o
)
GRAPH_EDGE_LENGTH
=
"
$OPTARG
"
;;
p
)
ADD_LEAVES_EDGE_LENGTH
=
"
$OPTARG
"
;;
\?
)
echo
"Invalid option -
$OPTARG
"
>
&2
\?
)
echo
"Invalid option -
$OPTARG
"
>
&2
;;
;;
esac
esac
...
@@ -50,6 +57,8 @@ echo "t: FIND_STEMS_THICKNESS"
...
@@ -50,6 +57,8 @@ echo "t: FIND_STEMS_THICKNESS"
echo
"g: GRAPH_MAXIMUM_CUMULATIVE_GAP"
echo
"g: GRAPH_MAXIMUM_CUMULATIVE_GAP"
echo
"l: ADD_LEAVES_VOXEL_LENGTH"
echo
"l: ADD_LEAVES_VOXEL_LENGTH"
echo
"m: FIND_STEMS_MIN_POINTS"
echo
"m: FIND_STEMS_MIN_POINTS"
echo
"o: GRAPH_EDGE_LENGTH"
echo
"p: ADD_LEAVES_EDGE_LENGTH"
echo
" "
echo
" "
# print values of the parameters
# print values of the parameters
...
@@ -62,6 +71,8 @@ echo "FIND_STEMS_THICKNESS: $FIND_STEMS_THICKNESS"
...
@@ -62,6 +71,8 @@ echo "FIND_STEMS_THICKNESS: $FIND_STEMS_THICKNESS"
echo
"GRAPH_MAXIMUM_CUMULATIVE_GAP:
$GRAPH_MAXIMUM_CUMULATIVE_GAP
"
echo
"GRAPH_MAXIMUM_CUMULATIVE_GAP:
$GRAPH_MAXIMUM_CUMULATIVE_GAP
"
echo
"ADD_LEAVES_VOXEL_LENGTH:
$ADD_LEAVES_VOXEL_LENGTH
"
echo
"ADD_LEAVES_VOXEL_LENGTH:
$ADD_LEAVES_VOXEL_LENGTH
"
echo
"FIND_STEMS_MIN_POINTS:
$FIND_STEMS_MIN_POINTS
"
echo
"FIND_STEMS_MIN_POINTS:
$FIND_STEMS_MIN_POINTS
"
echo
"GRAPH_EDGE_LENGTH:
$GRAPH_EDGE_LENGTH
"
echo
"ADD_LEAVES_EDGE_LENGTH:
$ADD_LEAVES_EDGE_LENGTH
"
# exit 0
# exit 0
...
@@ -240,7 +251,9 @@ for segmented_point_cloud in $data_folder/segmented_point_clouds/*.segmented.ply
...
@@ -240,7 +251,9 @@ for segmented_point_cloud in $data_folder/segmented_point_clouds/*.segmented.ply
--graph-maximum-cumulative-gap
$GRAPH_MAXIMUM_CUMULATIVE_GAP
\
--graph-maximum-cumulative-gap
$GRAPH_MAXIMUM_CUMULATIVE_GAP
\
--save-diameter-class
\
--save-diameter-class
\
--ignore-missing-tiles
\
--ignore-missing-tiles
\
--find-stems-min-points
$FIND_STEMS_MIN_POINTS
--find-stems-min-points
$FIND_STEMS_MIN_POINTS
\
--graph-edge-length
$GRAPH_EDGE_LENGTH
\
--add-leaves-edge-length
$ADD_LEAVES_EDGE_LENGTH
done
done
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment