<< NL_V_LoadBody2D NL_V: Vision NL_V_MRA >>

NARVAL >> NL_V: Vision > NL_V_LoadBody3D

NL_V_LoadBody3D

Load a 3D point cloud body model (separation of the space into n layers with equal size in x, y and z).

Calling Sequence

[X,Y,Z,Xm,XM,Ym,YM,Zm,ZM,Xi,Yi,Zi] = NL_V_LoadBody3D(P,N)

Arguments

P :

File path.

N :

Number of layers.

X :

X-coordinate vector.

Y :

Y-coordinate vector.

Z :

Z-coordinate vector.

Xm :

Minimum X-coordinate.

XM :

Maximum X-coordinate.

Ym :

Minimum Y-coordinate.

YM :

Maximum Y-coordinate.

Zm :

Minimum Z-coordinate.

ZM :

Maximum Z-coordinate.

Xi :

X-coordinate vector (layer).

Yi :

Y-coordinate vector (layer).

Zi :

Z-coordinate vector (layer).

Description

NL_V_LoadBody3D loads the 3D point cloud body model (separation of the space into N layers with equal size in x, y and z). The dataset is retrieved from the path P (by default /demos/). X, Y and Z provide respectivelly x-, y- and z-cordinates of points cloud of the body contour. The body belongs to a bounding box that is divided into layers of equal size. The values of projection planes are stored in Xi, Yi and Zi (linearly spaced inside the bounding box).

Examples

[path]=NL_F_NLPath();//path to NARVAL module
path=path+'/demos/';//folder path
nl=50;
[X,Y,Z,Xm,XM,Ym,YM,Zm,ZM,Xi,Yi,Zi]=NL_V_LoadBody3D(path,nl);//application of NL_V_LoadBody3D
//X in [-0.166:0.376687]
//Y in [0.018336:1.678715]
//Z in [-0.190097:0.241082]
param3d(X,Y,Z);
e = gce();
e.line_mode="off";
e.mark_mode="on";
a = gca();
a.isoview = "on";

Report an issue
<< NL_V_LoadBody2D NL_V: Vision NL_V_MRA >>