CameraConfiguration constructor

CameraConfiguration({
  1. double horizontalFOV = 0.0,
  2. double verticalFOV = 0.0,
  3. int frameWidth = 0,
  4. int frameHeight = 0,
  5. ImagePixelFormat pixelFormat = ImagePixelFormat.unknown,
  6. double frameRate = 0.0,
  7. OrientationType orientation = OrientationType.unknown,
  8. double focalLengthHorizontal = 0.0,
  9. double focalLengthVertical = 0.0,
  10. double focalLengthMinimum = 0.0,
  11. double physicalSensorWidth = 0.0,
  12. double physicalSensorHeight = 0.0,
  13. double exposure = 0.0,
  14. double minExposure = 0.0,
  15. double maxExposure = 0.0,
  16. double exposureTargetOffset = 0.0,
  17. double isoValue = 0.0,
  18. double minIso = 0.0,
  19. 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,
});