lascolor

0th

Percentile

Compute the color from RGB fields

Compute the hexadecimal name of a color from RGB fields. A column 'color' is added in the slot @data

Usage
lascolor(.las, nbits = 16)
Arguments
.las

A LAS object

nbits

the number of bits used to store the R G and B field. Default is 16 bits i.e. each channel ranged between 0 and 65535 as defined in LAS specifications. But sometime this rule is not respected. You can force the default behavior. A 8 bit color ranged between 0 and 255.

Value

Return nothing. The original object is modified in place by reference.

Aliases
  • lascolor
Documentation reproduced from package lidR, version 1.3.0, License: GPL-3

Community examples

Looks like there are no examples yet.