共用方式為


ImageFormat.RawSensor Field

Definition

Caution

This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.

General raw camera sensor image format, usually representing a single-channel Bayer-mosaic image.

[Android.Runtime.Register("RAW_SENSOR")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)]
public const Android.Graphics.ImageFormatType RawSensor = 32;
[<Android.Runtime.Register("RAW_SENSOR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable RawSensor : Android.Graphics.ImageFormatType

Field Value

Value = 32
Attributes

Remarks

General raw camera sensor image format, usually representing a single-channel Bayer-mosaic image. Each pixel color sample is stored with 16 bits of precision.

The layout of the color mosaic, the maximum and minimum encoding values of the raw pixel data, the color space of the image, and all other needed information to interpret a raw sensor image must be queried from the android.hardware.camera2.CameraDevice which produced the image.

Java documentation for android.graphics.ImageFormat.RAW_SENSOR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to