Android.Hardware.Camera2.CaptureRequest.ShadingMode Property

Syntax

[Android.Runtime.Register("SHADING_MODE")]
public static CaptureRequest.Key ShadingMode { get; }

See Also

CaptureRequest.ControlAeMode
CaptureRequest.ControlAwbMode
CameraCharacteristics.InfoSupportedHardwareLevel
CaptureResult.StatisticsLensShadingCorrectionMap
CaptureRequest.StatisticsLensShadingMapMode

Value

Documentation for this section has not yet been entered.

Remarks

Quality of lens shading correction applied to the image data.

When set to OFF mode, no lens shading correction will be applied by the camera device, and an identity lens shading map data will be provided if CaptureRequest.StatisticsLensShadingMapMode == ON. For example, for lens shading map with size of [ 4, 3 ], the output CaptureResult.StatisticsLensShadingCorrectionMap for this case will be an identity map shown below:

When set to other modes, lens shading correction will be applied by the camera device. Applications can request lens shading map data by setting CaptureRequest.StatisticsLensShadingMapMode to ON, and then the camera device will provide lens shading map data in CaptureResult.StatisticsLensShadingCorrectionMap; the returned shading map data will be the one applied by the camera device for this capture request.

The shading map data may depend on the auto-exposure (AE) and AWB statistics, therefore the reliability of the map data may be affected by the AE and AWB algorithms. When AE and AWB are in AUTO modes(CaptureRequest.ControlAeMode!= OFF and CaptureRequest.ControlAwbMode!= OFF), to get best results, it is recommended that the applications wait for the AE and AWB to be converged before using the returned shading map data.

Possible values:

Optional - This value may be null on some devices.

Full capability - Present on all camera devices that report being CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL devices in the CameraCharacteristics.InfoSupportedHardwareLevel key

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0