CameraConfiguration constructor
CameraConfiguration({
- double horizontalFOV = 0.0,
- double verticalFOV = 0.0,
- int frameWidth = 0,
- int frameHeight = 0,
- ImagePixelFormat pixelFormat = ImagePixelFormat.unknown,
- double frameRate = 0.0,
- OrientationType orientation = OrientationType.unknown,
- double focalLengthHorizontal = 0.0,
- double focalLengthVertical = 0.0,
- double focalLengthMinimum = 0.0,
- double physicalSensorWidth = 0.0,
- double physicalSensorHeight = 0.0,
- double exposure = 0.0,
- double minExposure = 0.0,
- double maxExposure = 0.0,
- double exposureTargetOffset = 0.0,
- double isoValue = 0.0,
- double minIso = 0.0,
- double maxIso = 0.0,
Creates a camera configuration with specified parameters.
All parameters are optional and have default fallback values.
Parameters
horizontalFOV: Horizontal field of view in radians (default: 0.0).verticalFOV: Vertical field of view in radians (default: 0.0).frameWidth: Frame width in pixels (default: 0).frameHeight: Frame height in pixels (default: 0).pixelFormat: The pixel format/encoding type (default: ImagePixelFormat.unknown).frameRate: Frames per second (default: 0.0).orientation: The frame orientation (default: OrientationType.unknown).focalLengthHorizontal: Horizontal focal length in pixels (default: 0.0).focalLengthVertical: Vertical focal length in pixels (default: 0.0).focalLengthMinimum: Minimum focal length in millimeters (default: 0.0).physicalSensorWidth: Physical sensor width in millimeters (default: 0.0).physicalSensorHeight: Physical sensor height in millimeters (default: 0.0).exposure: Exposure time in nanoseconds (default: 0.0).minExposure: Minimum possible exposure in nanoseconds (default: 0.0).maxExposure: Maximum possible exposure in nanoseconds (default: 0.0).exposureTargetOffset: Exposure target offset in EV units (default: 0.0).isoValue: Actual ISO sensitivity value (default: 0.0).minIso: Minimum possible ISO value (default: 0.0).maxIso: Maximum possible ISO value (default: 0.0).
Implementation
CameraConfiguration({
this.horizontalFOV = 0.0,
this.verticalFOV = 0.0,
this.frameWidth = 0,
this.frameHeight = 0,
this.pixelFormat = ImagePixelFormat.unknown,
this.frameRate = 0.0,
this.orientation = OrientationType.unknown,
this.focalLengthHorizontal = 0.0,
this.focalLengthVertical = 0.0,
this.focalLengthMinimum = 0.0,
this.physicalSensorWidth = 0.0,
this.physicalSensorHeight = 0.0,
this.exposure = 0.0,
this.minExposure = 0.0,
this.maxExposure = 0.0,
this.exposureTargetOffset = 0.0,
this.isoValue = 0.0,
this.minIso = 0.0,
this.maxIso = 0.0,
});