pointCloudInputLayer - Point cloud input layer - MATLAB (original) (raw)

Point cloud input layer

Since R2022b

Description

A point cloud input layer inputs 3-D point clouds to a network and applies data normalization. You can input any lidar data, such as 2-D lidar scans, to this layer, but the data must be a 2-D or a 3-D numeric array, as specified by the InputSize property.

Creation

Syntax

Description

`layer` = pointCloudInputLayer(`inputSize`) creates a point cloud input layer with the specified input size. TheinputSize argument sets the InputSize property.

example

`layer` = pointCloudInputLayer(`inputSize`,`Name=Value`) specifies properties using one or more name-value arguments. For example,Normalization="zscore" applies z-score normalization to the layer.

Properties

expand all

3-D Point Cloud Input

Size of the input data, specified as vector of positive integers. You can specify one of these options.

This property is read-only.

Data normalization to apply every time data is forward propagated through the input layer, specified as one of the following:

Tip

The software, by default, automatically calculates the normalization statistics when using the trainNetwork (Deep Learning Toolbox) function. To save time when training, specify the required statistics for normalization and set the 'ResetInputNormalization' (Deep Learning Toolbox) option in trainingOptions (Deep Learning Toolbox) to false.

Data Types: char | string

Normalization dimension, specified as one of the following:

Data Types: char | string

Mean for zero-center and z-score normalization, specified as a one of these options.

Point Cloud Format Element-Wise Normalization Channel-Wise Normalization
Unorganized point cloud M_-by-C numeric array.M is the number of points in the point cloud, and_C is the number of channels. 1-by-C numeric array
Organized point cloud _M_-by-_N_-by-C numeric array. M and N are the number of rows and columns in the point cloud, respectively, and C is the number of channels. 1-by-1-by-C numeric array

You can also specify this value as a scalar, in which case the function normalizes the entire input data set using the specified value.

Note

To specify the Mean property, Normalization must be 'zerocenter' or'zscore'. If Mean is[], then the trainNetwork (Deep Learning Toolbox) function calculates the mean.

You can set this property when creating networks without training (for example, when assembling networks using assembleNetwork (Deep Learning Toolbox)).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Standard deviation for z-score normalization, specified as a one of these options.

Point Cloud Format Element-Wise Normalization Channel-Wise Normalization
Unorganized point cloud M_-by-C numeric array.M is the number of points in the point cloud, and_C is the number of channels. 1-by-C numeric array
Organized point cloud _M_-by-_N_-by-C numeric array. M and N are the number of rows and columns in the point cloud, respectively, and C is the number of channels. 1-by-1-by-C numeric array

You can also specify this value as a scalar, in which case the function normalizes the entire input data set using the specified value.

Note

To specify the StandardDeviation property,Normalization must be'zscore'. If StandardDeviation is [], then the trainNetwork (Deep Learning Toolbox) function calculates the standard deviation.

You can set this property when creating networks without training (for example, when assembling networks using assembleNetwork (Deep Learning Toolbox)).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Minimum value for rescaling, specified as a one of these options.

Point Cloud Format Element-Wise Normalization Channel-Wise Normalization
Unorganized point cloud M_-by-C numeric array.M is the number of points in the point cloud, and_C is the number of channels. 1-by-C numeric array
Organized point cloud _M_-by-_N_-by-C numeric array. M and N are the number of rows and columns in the point cloud, respectively, and C is the number of channels. 1-by-1-by-C numeric array

You can also specify this value as a scalar, in which case the function normalizes the entire input data set using the specified value.

Note

To specify the Min property, Normalization must be'rescale-symmetric' or 'rescale-zero-one'. If Min is [], then thetrainNetwork (Deep Learning Toolbox) function calculates the minima.

You can set this property when creating networks without training (for example, when assembling networks using assembleNetwork (Deep Learning Toolbox)).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Maximum value for rescaling, specified as one of these options.

Point Cloud Format Element-Wise Normalization Channel-Wise Normalization
Unorganized point cloud M_-by-C numeric array.M is the number of points in the point cloud, and_C is the number of channels. 1-by-C numeric array
Organized point cloud _M_-by-_N_-by-C numeric array. M and N are the number of rows and columns in the point cloud, respectively, and C is the number of channels. 1-by-1-by-C numeric array

You can also specify this value as a scalar, in which case the function normalizes the entire input data set using the specified value.

Note

To specify the Max property, Normalization must be'rescale-symmetric' or 'rescale-zero-one'. If Max is [], then thetrainNetwork (Deep Learning Toolbox) function calculates the maxima.

You can set this property when creating networks without training (for example, when assembling networks using assembleNetwork (Deep Learning Toolbox)).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Layer

Layer name, specified as a character vector or a string scalar. For Layer array input, thetrainNetwork, assembleNetwork,layerGraph, and dlnetwork functions automatically assign names to layers with the name ''.

Data Types: char | string

This property is read-only.

Number of inputs of the layer. The layer has no inputs.

Data Types: double

This property is read-only.

Input names of the layer. The layer has no inputs.

Data Types: cell

Number of outputs of the layer. The layer has one output.

Data Types: double

This property is read-only.

Output names of the layer. This layer has a single output only.

Data Types: cell

Examples

collapse all

Create a point cloud input layer using an unorganized point cloud with 1000 points 3 channels.

layer = pointCloudInputLayer([1000 3],Name="Input")

layer = PointCloudInputLayer with properties:

                  Name: 'Input'
             InputSize: [1000 3]

Hyperparameters Normalization: 'none' NormalizationDimension: 'auto'

Extended Capabilities

expand all

Usage notes and limitations:

Refer to the usage notes and limitations in the C/C++ Code Generation section. The same limitations apply to GPU code generation.

Version History

Introduced in R2022b