apburt / treeseg

Extract individual trees from lidar point clouds
MIT License
209 stars 72 forks source link

unkowned number #13

Closed yangshikai1997 closed 4 years ago

yangshikai1997 commented 4 years ago

getcrownvolume.cpp -> function maxheight and maxcrown i can not understanding. float maxheight(float dbh) { //m -> 41.22 dbh ^ 0.3406 //ci_u -> 42.30 dbh ^ 0.3697 float height = 42.30 * pow(dbh,0.3697) + 5; return height; }

float maxcrown(float dbh) { //m -> 29.40 dbh ^ 0.6524 //ci_u -> 30.36 dbh ^ 0.6931 float extent = 30.36 * pow(dbh,0.6931) + 5; return extent; }

apburt commented 4 years ago

getcrownvolume is intended to pull out the point cloud of the crown of interest + any nearby vegetation. The dimensions of the box driving the passthrough filter are driven here by these allometries. If it is not giving the whole crowns of your trees, then you can increase them.