pymccrgb.features module¶
Calculate indices and other features from multi-channel point cloud data
Inputs are assumed to be n x 6 arrays with each row being x, y, z, r, g, b
-
pymccrgb.features.
calculate_color_features
(data)[source]¶ Calculates color features related to the greenness of each point.
The default features are [a, b, NGRDVI] where a and b are the green-red and blue-yellow coordinates of the CIE-Lab color space.
Parameters: - data: array
An n x d array of input data. Rows are [x, y, z, r, g, b, …]
Returns: - An n x 3 array of features for each point.