Extract data from Point Cloud PNG file.
npm install @kaorun/pointcloudpngAnalyze and extract PointCloud-PNG data. See PointCloudPNG. Extended from @kaorun/listpng.
$ npm install @kaorun/pointcloudpng
import { PointCloudPNG } from @kaorun/pointcloudpng;
Extract data from PointCloud-PNG file.
#### Argument
- imageData - imageData of PointCloud-PNG file to extract data.
#### Return
- DataSource object - Extracted data from PointCloud-PNG file. See DataSource.
DataSource#### Argument
- name - header key to specify.
#### Return
- mixed - value for key.
#### Return
- object - key/value of all header data.
#### Return
- Uint8ClampedArray - RGBA data array of custom header data.
#### Argument
- value - index of column or property name.
#### Return
- mixed - object of column or undefined.
#### Return
- array - all columns