AI-generated Key Takeaways
-
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 byLightEstimate.acquireEnvironmentalHdrCubeMap()
. -
Y8
is used for raw depth confidence images, produced byFrame.acquireRawDepthConfidenceImage()
. -
YUV_420_888
is used for camera images, produced byFrame.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
public static final int RGBA_FP16
RGBA_FP16
public static final int RGBA_FP16
Produced by LightEstimate.acquireEnvironmentalHdrCubeMap()
.
public static final int Y8
Y8
public static final int Y8
Produced by Frame.acquireRawDepthConfidenceImage()
.
public static final int YUV_420_888
YUV_420_888
public static final int YUV_420_888
Produced by Frame.acquireCameraImage()
.