DepthMap.State


public final class DepthMap.State


Contains the current state of depth tracking.

Summary

Public methods

boolean
equals(Object other)
final int

the height of the depth map

final ByteBuffer

a buffer of confidence values for each pixel in rawDepthMap, with 0 representing the lowest confidence and 255 representing the highest confidence

final FloatBuffer

a buffer of size width x height representing raw depth in meters from the image plane, with both row and pixel stride equal to 0

final ByteBuffer

a buffer of confidence values for each pixel in smoothDepthMap, with 0 representing the lowest confidence and 255 representing the highest confidence

final FloatBuffer

a buffer of size width x height representing smooth depth in meters from the image plane, with both row and pixel stride equal to 0

final int

the width of the depth map

int

Public methods

equals

public boolean equals(Object other)

getHeight

Added in 1.0.0-alpha12
public final int getHeight()

the height of the depth map

getRawConfidenceMap

Added in 1.0.0-alpha12
public final ByteBuffer getRawConfidenceMap()

a buffer of confidence values for each pixel in rawDepthMap, with 0 representing the lowest confidence and 255 representing the highest confidence

getRawDepthMap

Added in 1.0.0-alpha12
public final FloatBuffer getRawDepthMap()

a buffer of size width x height representing raw depth in meters from the image plane, with both row and pixel stride equal to 0

getSmoothConfidenceMap

Added in 1.0.0-alpha12
public final ByteBuffer getSmoothConfidenceMap()

a buffer of confidence values for each pixel in smoothDepthMap, with 0 representing the lowest confidence and 255 representing the highest confidence

getSmoothDepthMap

Added in 1.0.0-alpha12
public final FloatBuffer getSmoothDepthMap()

a buffer of size width x height representing smooth depth in meters from the image plane, with both row and pixel stride equal to 0

getWidth

Added in 1.0.0-alpha12
public final int getWidth()

the width of the depth map

hashCode

public int hashCode()