Skip to main content

Imaging API

Description

The AXIS Imaging API makes it possible to use parameters for CCD/CMOS image sources. This parameter group is product dependent and only available in network cameras. The first step should therefore always be to check for product specific parameters, as well as default and valid values.

Identification

  • Property: ImageSource.I0.Sensor.parameters
  • Firmware: 5.00 or higer

API specification

ImageSource.I0.Sensor parameters

ImageSource.I0.Sensor parameters are defined for 1 channel cameras, however, these parameters can be used in modular cameras by extending for other channels as well.

ParameterDefault valuesValid valuesSecurity level (get/set)Description
BacklightCompensationyesyes noadmin: r/w operator: r/wMakes darker objects in the foreground appear clearer if the background is very bright, but has no effect if Dynamic Contrast is enabled or Exposure Window is not set to auto.
BlueBalance500...100admin: r/w operator: r/wManual setting for the blue white balance gain.
Brightness500...100admin: r/w operator: r/wThe image brightness.
ColorDesaturation1000...100admin: r/w operator: r/wControls the de-saturation of colors in low light. 100: All colors are de-saturated 0: No color is de-saturated.
ColorLevel500...100admin: r/w operator: r/wThe level of color saturation in the image.
Contrast500...100admin: r/w operator: r/wThe image contrast.
DynamicContrastEnabledProduct dependentyes noadmin: r/w operator: r/wIf enabled, visibility may increase in scenes with a high dynamic range. This is not available on all cameras.
DynamicContrastLevel500...100admin: r/w operator: r/wA high value means that visibility in bright parts of the image is prioritized, while a low value means that visibility in dark parts are prioritized. This is not available on all cameras.
Exposureautoauto flickerfree50, flickerfree60, holdadmin: r/w operator: r/wA type of exposure control. The flicker-free modes avoid flicker while the hold mode keeps the exposure regardless of changes in lightning.
ExposureValue500...100admin: r/w operator: r/wExposure value of the image.
ExposurePriority500 50 100admin: r/w operator: r/wThe balance between low noise and the camera’s motion. Prioritizes low noise to reduce frame rate and increase motion blur. Prioritizing motion prior may increase the image noise. 50: None. 100: Prioritize motion. 0: Prioritize low noise.
ExposureResponsiveness500...100admin: r/w operator: r/wBalances how fast the exposure should be (including tone mapping). A higher value will result in a faster control to handle rapid scene changes while a lower value will result in a more stable control.
ExposureWindowautoauto right left upper lower spot custom (only on some cameras)admin: r/w operator: r/wDefines which part of the image that should have the biggest influence over the auto exposure.
MaxExposureTimeCamera dependentCamera dependent (but always in the interval [-60, ..., 2 000 000])admin: r/w operator: r/wMaximum allowed shutter integration time. If the value is negative it represents the number of frames of the frame rate that the hardware can generate. E.g. if the hardware generates 30 fps then -5 gives a maximum exposure time of 5/30s = 167 ms. If the value is positive then it represents a number of micro seconds. E.g. the value 1 000 000 represents 1s.
MinExposureTimeCamera dependentCamera dependent (but always in the interval [-60, ..., 2 000 000])admin: r/w operator: r/wMinimum allowed shutter integration time. Has the same interpretation of values as MaxExposureTime.
MaxGain1000...100admin: r/w operator: r/wDecides how much gain the exposure control algorithm is allowed to use. 0: The algorithm will never use more than the minimum value allowed by the hardware. 100: The algorithm can use any gain setting the hardware supports.
MinGain00...100admin: r/w operator: r/wMinimum gain the exposure control algorithm must use. Same interpretation of values as MaxGain.
RedBalance500...100admin: r/w operator: r/wThe manual setting for the red white balance gain.
Sharpness500...100admin: r/w operator: r/wThe image sharpening.
SpatialNoiseFilter1000...100admin: r/w operator: r/wThe impact of the spatial noise filter.
TemporalNoiseFilter1000...100admin: r/w operator: r/wThe impact of the temporal noise filter.
ToneMapping500...100admin: r/w operator: r/wDecides the amount of tone mapping that is applied to the image. If the value is set to zero only the standard gamma correction is applied, while a higher value will increase the visibility in the image.
WDRCamera dependantoff, onadmin: r/w operator: r/wWide Dynamic Range mode.
WDRLevelCamera dependantCamera dependant (but always in the interval [0, ..., 100])admin: r/w operator: r/wWide Dynamic Range level. Higher level results in more WDR effect.
WhiteBalanceautoauto, hold, fixed_outdoor1, fixed_outdoor2, fixed_indoor, fixed_fluor1, fixed_fluor2admin: r/w operator: r/wThe white balance modes: auto: Automatic identification and compensation for the light source color. This can be used in most situations and is the recommended setting. hold: Fixes the white balance at its current state. fixed_outdoor1: Fixed color adjustment for sunny weather, with a color temperature at around 5500K. fixed_outdoor2: Fixed color adjustment for cloudy weather, with a color temperature at around 6500K. fixed_indoor: Fixed color adjustment, ideal for a room with some artificial light other than fluorescent lighting and good for a normal color temperature at around 3000K. fixed_fluor1: Fixed color adjustment; good for fluorescent lighting with a color temperature at around 4000K. fixed_fluor2: Fixed color adjustment; good for fluorescent lighting with a color temperature at around 3000K.
LocalContrast500...100admin: r/w operator: r/wThe level of local contrast. This will enhance the contrast locally, especially in scenes with high dynamic range.
Stabilizeroffoff on low highadmin: r/w operator: r/w viewer: rImage stabilizer. Some products only allow toggling the image stabilizer on and off. Others have the two active states low and high, which enables the variable stabilization frequency.
StabilizerTypeProduct dependentelectronic, optical, limitedOpticaladmin: r/w operator: r/w viewer: rParameters that indicate what type of image stabilization that is supported. electronic: Image stabilization that is supported by the software. optical: Image stabilization that is supported by optics. limitedOptical: Image stabilization that is supported by optics. Limited means that it cannot be used continuously due to mechanical limitations.
StabilizerMargin500...9999admin: r/w operator: r/w viewer: rThe max amplitude of vibration to stabilize for. Default value 50 means 0.5 degrees of margin. Max value is 99.99 degrees.
StabilizerFocalLength00...2 147 483 646admin: r/w operator: r/w viewer: rThe focal length (in micrometers) of the optics. This is used when no feedback on optical zoom setting is available.
Defogoffoff on autoadmin: r/w operator: r/wThe contrast adaptations to remove fog effect from the image. off: No defog effect. auto: Automatic adaptation of defog effect with boundaries changed by DefogEffect. on: Fixed defog effect according to DefogEffect.
DefogEffect00...100admin: r/w operator: r/wThe amount of defog effect to apply when Defog is active. Controls defog in both on and auto mode, i.e. the range differs between on and auto mode.
SensorProtectorcloseclose openadmin: r/w operator: r/wSome products have a mechanical shutter to protect the sensor from getting exposed to sunlight. This parameter controls the state of the sensor protector shutter. open: Opens the sensor protector shutter. close: Closes the sensor protector shutter. The sensor would NOT get any light and so there would be NO video.

ImageSource.I0 parameters

ParameterDefault valuesValid valuesSecurity level (get/set)Description
AutoRotation0 90 180 270admin: r/w operator: r/w viewer: rThe rotation of the device measured by sensors to use auto rotation compensation on an image.
CameraTiltOrientation-90 0 90admin: r/w operator: r/w viewer: r-90: Select this option if the camera is mounted in the ceiling. 0: Select this option if the camera is mounted on a wall. 90: Select this option if the camera is mounted on a desk or a similar flat surface.
ShockTriggeredLensCalibrationnoyes noadmin: r/w operator: r viewer: rThis parameter will either enable or disable automatic calibration of the lens after a shock, as defined in the Shock detection. The Shock detection must be enabled and configured for the automatic lens calibration to work. no: Do not automatically calibrate the lens after the Shock detection service emits a Shock event. yes: Automatically calibrate the lens after the Shock detection service emits a Shock event.

ImageSource.I0.Appearance parameters

ParameterDefault valuesValid valuesSecurity level (get/set)Description
AutoRotationEnabledyesyes noadmin: r/w; operator: r/w; viewer: r;yes = The image is automatically rotated when the stream is started according to sensor readings. no = The image is rotated when stream is started according to the Rotation setting.

Error codes

Information on errors can be found here: Error codes.

Error codes

Errors will be generated as HTML text HTTP response code 200 OK.