FakeRuntimeDepthMap


class FakeRuntimeDepthMap


Fake implementation of DepthMap for testing purposes.

Summary

Public constructors

FakeRuntimeDepthMap(
    width: Int,
    height: Int,
    rawDepthMap: FloatBuffer?,
    rawConfidenceMap: ByteBuffer?,
    smoothDepthMap: FloatBuffer?,
    smoothConfidenceMap: ByteBuffer?
)

Public properties

open Int

the height of the depth map

open ByteBuffer?

confidence values for the raw depth map

open FloatBuffer?

raw depth values representing meters from the image plane

open ByteBuffer?

confidence values for the smooth depth map

open FloatBuffer?

smooth depth values representing meters from the image plane

open Int

the width of the depth map

Public constructors

FakeRuntimeDepthMap

Added in 1.0.0-alpha12
FakeRuntimeDepthMap(
    width: Int = 0,
    height: Int = 0,
    rawDepthMap: FloatBuffer? = null,
    rawConfidenceMap: ByteBuffer? = null,
    smoothDepthMap: FloatBuffer? = null,
    smoothConfidenceMap: ByteBuffer? = null
)

Public properties

height

Added in 1.0.0-alpha12
open var heightInt

the height of the depth map

rawConfidenceMap

Added in 1.0.0-alpha12
open var rawConfidenceMapByteBuffer?

confidence values for the raw depth map

rawDepthMap

Added in 1.0.0-alpha12
open var rawDepthMapFloatBuffer?

raw depth values representing meters from the image plane

smoothConfidenceMap

Added in 1.0.0-alpha12
open var smoothConfidenceMapByteBuffer?

confidence values for the smooth depth map

smoothDepthMap

Added in 1.0.0-alpha12
open var smoothDepthMapFloatBuffer?

smooth depth values representing meters from the image plane

width

Added in 1.0.0-alpha12
open var widthInt

the width of the depth map