ImageFormat

  • ImageFormat defines the image formats produced by ARCore, such as RGBA_FP16, Y8, and YUV_420_888.

  • Each format is associated with specific ARCore functionalities, like acquiring environmental HDR cube maps, raw depth confidence images, or camera images.

  • RGBA_FP16 is used for HDR cube maps, produced by LightEstimate.acquireEnvironmentalHdrCubeMap().

  • Y8 is used for raw depth confidence images, produced by Frame.acquireRawDepthConfidenceImage().

  • YUV_420_888 is used for camera images, produced by Frame.acquireCameraImage().

public class ImageFormat

Image formats produced by ARCore.

Constants

int RGBA_FP16 Produced by LightEstimate.acquireEnvironmentalHdrCubeMap().
int Y8 Produced by Frame.acquireRawDepthConfidenceImage().
int YUV_420_888 Produced by Frame.acquireCameraImage().

Inherited Methods

Constants

RGBA_FP16

public static final int RGBA_FP16
Constant Value: 22

Y8

public static final int Y8
Constant Value: 538982489

YUV_420_888

public static final int YUV_420_888
Constant Value: 35