FG Camera Library  1.7.3.0 (2026-04-13)
Loading...
Searching...
No Matches
Sony Pregius

Overview

The following Sony Pregius S sensor models are available for the VisionCam XM2 or VisionSensor PV3 / PV4:

Supported sensors
SensorTypePlatformeFG_CAMERA_TYPENumber of
usable pixels
Pixel sizeOptical format
IMX565-AAMJMonochromeVisionCam XM2FG_CAMERA_TYPE_4096_3008_IMAGO_VCx_IMX565M4096 x 30082.74 µm x 2.74 µm1/1.1"
IMX565-AAQJColorFG_CAMERA_TYPE_4096_3008_IMAGO_VCx_IMX565C
IMX567-AAMJMonochromeFG_CAMERA_TYPE_2432_2064_IMAGO_VCx_IMX567M2432 x 20641/1.8"
IMX567-AAQJColorFG_CAMERA_TYPE_2432_2064_IMAGO_VCx_IMX567C
IMX568-AAMJMonochromeVisionSensor PV3 / PV4FG_CAMERA_TYPE_2472_2064_IMAGO_VSx_IMX568M2472 x 2064
IMX568-AAQJColorFG_CAMERA_TYPE_2472_2064_IMAGO_VSx_IMX568C
IMX900-AMR-CMonochromeFG_CAMERA_TYPE_2064_1552_IMAGO_VSx_IMX900M2064 x 15522.25 µm x 2.25 µm1/3.1"
IMX900-AQR-CColorFG_CAMERA_TYPE_2064_1552_IMAGO_VSx_IMX900C
Note
The SoC's MIPI CSI interface on the VisionSensor PV3 / PV4 requires at least two image buffers in the aquisition queue to avoid dropped sensor frames. A third buffer is required at the end of a frame, so that there are still remaining at least two buffers after one is given back to the user.
In order to avoid any dropped frames during startup while adding the first buffers with FG_append_image(), the sensor aquisition start is delayed until the second buffer is added. A third buffer should be added before the first frame completes.

Features

  • Global shutter
  • Overlapped integration and readout in free-run mode
  • 10-bit to 8-bit conversion using linear mapping or compression (IMX56x only)
  • Automatic black level correction
  • 2x2 pixel binning
  • Vertical and horizontal mirroring
  • Short trigger delay < 1 µs
  • Support for Line scan / multi-scan mode when using the VisionSensor PV3

Supported pixel formats

The supported pixel formats are listed below:

Supported pixel types
SensoreFG_PIXEL_TYPEOutput format
IMX56x-AAMJ, MX900-AMR-C (Monochrome)FG_PIXEL_TYPE_Y_81 byte per pixel
IMX56x-AAQJ, MX900-AQR-C (Color)FG_PIXEL_TYPE_Y_8Raw bayer, 1 byte per pixel
Note
Adjusting color gain by using FG_set_gain_rgb() is not supported.
FG_PIXEL_TYPE_RGB_243 bytes per pixel containing 8-bit R/G/B
Note
  • Available on the VisionSensor PV4 only and used as default.
  • Uses the i.MX 95 NEO ISP pipeline for color conversion.
  • FG_set_gain_rgb() can be used to apply digital color gain in the NEO ISP pipeline.
  • The order of RGB components can be adjusted with FG_set_pixel_order()
  • The AOI width must be a multiple of 64 pixels.

Frame rate

The frame rate can be increased be reducing the AOI height or by using binning mode. Use the calculator to obtain the maximum frame rate in free-run mode:

IMX565
Frame rate:
IMX567
Frame rate:
IMX568
Frame rate:
IMX900
Frame rate:

Note
The exposure duration reduces the achievable frame rate in triggered mode, because integration and readout of the previous frame cannot run simultaneously.

Special features

The sensor supports the following special features:

Special features
Property nameDescription
MirrorFlips the image horizontally and / or vertically
0: no flipping (default)
1: flip horizontally
2: flip vertically
3: flip horizontally and vertically (rotation by 180°)
Note
The order of color components for raw Bayer format depends on this setting. Use FG_get_pixel_order() to get the order after the Mirror option is configured.
BinningBinning mode
1: no pixel binning (default)
2: 2x2 pixel binning
Note
  • Binning 2x2 is not available for color sensors.
  • The binning mode must be configured before the first buffer is allocated.
  • The parameters for FG_set_scan_param() and FG_set_aoi() refer to the reduced image size after binning is enabled.
  • For IMX56x: binning increases pixel brightness by a factor of four (sum of four pixels).
  • For IMX900: binning doesn't change the pixel brightness (average of four pixels).
ImageModeControls the digital test pattern:
0: Video output
1: Enable test pattern
FrameRateSets the desired sensor frame rate in Hertz. This setting is only applied in free run mode. The actual frame rate may be lower if the exposure time setting is too high, or if the sensor's limit is exceeded.
0: Use maximum frame rate
≥ 1: Desired frame rate in Hertz
ScanPeriodSets the desired sensor frame period in microseconds (similar to "FrameRate"). This setting is only applied in free run mode. The actual frame period may be longer if the exposure time setting is too high, or if the sensor's limit is exceeded.
0: Use maximum frame rate
≥ 1: Desired frame period in µs
CompressionControls the mapping of 10 bit pixels to 8 bit output values, see Compression (not available for IMX900).
0: Linear mapping (default)
1: Compression curve 1
2: Compression curve 2
TemperatureReturns the sensor's temperature in °C
Note
The acquisition must have started to read the temperature.

Additional features are described in the platform pages for the VisionCam XM2 and VisionSensor PV3 / PV4.

Compression

The IMX56x sensors use a linear mapping of 10-bit pixel values to 8-bit output values by default. Compression can be enabled to provide higher resolution at low light and lower resolution at high light.

Three Compression settings are supported (0...2):

Note
Compression is not supported by the IMX900.