Monochrome Cameras

Introduction

Devices running Android 9 or higher can support monochrome cameras.

Android 10 provides additional support for the Y8 stream format, monochrome and near-infrared (NIR) color filter array static metadata, and DngCreator functions for monochrome cameras.

With this capability, device manufacturers can implement a monochrome or NIR camera device and reduce memory use by using the Y8 stream format.

A monochrome camera can serve as the underlying physical camera of a logical multi-camera device to achieve better low-light noise characteristics.

Implementation

Hardware requirements

To implement this feature, your device must have a monochrome camera sensor and an image signal processor (ISP) to process the sensor output.

Implementing a monochrome camera

To advertise a camera device as a monochrome camera, the Camera HAL must meet the following requirements:

  • android.sensor.info.colorFilterArray is set to MONO or NIR.
  • BACKWARD_COMPATIBLE required keys are supported and MANUAL_POST_PROCESSING isn't supported.
  • android.control.awbAvailableModes only contains AUTO and android.control.awbState is either CONVERTED or LOCKED depending on android.control.awbLock.
  • android.colorCorrection.modeandroid.colorCorrection.transform, andandroid.colorCorrection.gains aren't in available request and result keys. As a result, the camera device is LIMITED.
  • The following color-related static metadata keys aren't present:

    • android.sensor.referenceIlluminant*
    • android.sensor.calibrationTransform*
    • android.sensor.colorTransform*
    • android.sensor.forwardMatrix*
    • android.sensor.neutralColorPoint
    • android.sensor.greenSplit
  • All color channels have the same values for the following metadata keys:

    • android.sensor.blackLevelPattern
    • android.sensor.dynamicBlackLevel
    • android.statistics.lensShadingMap
    • android.tonemap.curve
  • android.sensor.noiseProfile has only one color channel.

For monochrome devices supporting Y8 stream formats, the Camera HAL must support swapping YUV_420_888 formats in mandatory stream combinations (including reprocessing) with Y8 formats.

The following public APIs are used in this feature:

For more details on the Camera HAL, see docs.html. For more information on related public APIs, seeImageFormatCameraCharacteristicsCaptureRequest, and CaptureResult.

Validation

To validate your implementation of a monochrome camera, run the following CTS and VTS tests.

CTS tests

  • testMonochromeCharacteristics
  • CaptureRequestTest
  • CaptureResultTest
  • StillCaptureTest
  • DngCreatorTest

VTS tests

  • getCameraCharacteristics
  • processMultiCaptureRequestPreview

原文
    https://source.android.google.cn/devices/camera/monochrome

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值