Skip to main content

//clika-runtime/io.clika.modelverse/DepthMap

DepthMap

[common]
data class DepthMap(val width: Int, val height: Int, val values: FloatArray, val metric: Boolean, val min: Float, val max: Float)

A depth value per pixel of the input picture, row by row (width × height values): meters when metric, else relative depth where a larger value is closer; min and max are the map's own range.

Constructors​

DepthMap[common]
constructor(width: Int, height: Int, values: FloatArray, metric: Boolean, min: Float, max: Float)

Properties​

NameSummary
height[common]
val height: Int
max[common]
val max: Float
metric[common]
val metric: Boolean
min[common]
val min: Float
values[common]
val values: FloatArray
width[common]
val width: Int