InverseTampere / TreeQSM

Quantitative Structure Models of Single Trees from Laser Scanner Data
Other
147 stars 46 forks source link

Error run test #5

Open stefanoch90 opened 3 years ago

stefanoch90 commented 3 years ago

Hi everyone, i am a new user of this code. I have launched the code, customising the P input file but when i run the code, the following problem occurs:

QSM=treeqsm(P,inputs)

pine, Tree = 1, Model = 1 PatchDiam1 = 0.1 0.15 BallRad1 = 0.12 0.17 PatchDiam2Min = 0.02 0.03 PatchDiam2Max = 0.06 0.08 BallRad2 = 0.07 0.09 lcyl = 3 5 FilRad = 3 nmin1 = 3, nmin2 = 1 Tria = 1, OnlyTree = 1 Progress:

PatchDiam1 = 0.1

Cover sets 25.1 sec. Total: 25.1 sec Operands to the logical and (&&) and or (||) operators must be convertible to logical scalar values.

Error in tree_sets>define_base_forb (line 103) while k <= 5 && Wb > 0.3*Wt

Error in tree_sets (line 69) [Base,Forb,cover] = define_base_forb(P,cover,aux,inputs);

Error in treeqsm (line 284) [cover1,Base,Forb] = tree_sets(P,cover1,Inputs);

How can this problem to solved? Thank you so much.

Stefano