Skip to content

Commit 9cfa7cf

Browse files
committed
File Structuur aangepast
1 parent 95a7c98 commit 9cfa7cf

10 files changed

+9
-114
lines changed

FileStructuur.txt

-7
This file was deleted.

Leaf_area_index_review-1.pdf

-4.28 MB
Binary file not shown.

Metingen LAI PCS.xlsx

-11.3 KB
Binary file not shown.

Presentatie_TODO.txt

-65
This file was deleted.
-7.82 MB
Binary file not shown.

README.md

-2
This file was deleted.

RobbesLinks.txt

-30
This file was deleted.

ply_planefit_example.m

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
clear
22
close all
3-
%pointcloud = pcread('..\PLY files\LC_20231130_152650.ply');
4-
pointcloud = pcread(".\PLY files\LC_20231130_145946.ply")
3+
pointcloud = pcread('LAI_detection\LC_20231130_152650.ply');
54
%clean up the pointcloud by setting the distance to an overestimation of the approximate distance to the wall
65
% such that only actual outliers are removed
76
[model,inlierIndices, outlierIndices] = pcfitplane(pointcloud,1);
87
cleancloud = select(pointcloud, inlierIndices);
98
pcshow(cleancloud)
9+
title("Cleaned dataset, outliners removed")
1010

1111
estimatedLayerThickness = 0.01;
1212
[model,inlierIndices, outlierIndices] = pcfitplane(cleancloud,estimatedLayerThickness);
1313
firstlayer = select(cleancloud, inlierIndices);
14-
figure();pcshow(firstlayer)
14+
figure();pcshow(firstlayer)
15+
title("Leaves first layer")
16+
17+
secondlayer = select(cleancloud, outlierIndices);
18+
figure();pcshow(secondlayer)
19+
title("Leaves second layer")

rosbag_parser_GMM.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
%% Load an image frame:
3-
curBag = rosbag('HC_20231130_143832.bag')
3+
curBag = rosbag('.\High_Coverage\HC_20231130_143832.bag')
44
curTopics = curBag.AvailableTopics.Properties.RowNames;
55
curSelColor = select(curBag,'Topic','/device_0/sensor_1/Color_0/image/data');
66
allImColor = readMessages(curSelColor, 'DataFormat', 'struct');

test.txt

-6
This file was deleted.

0 commit comments

Comments
 (0)