SensorBayerOutput Class#

Definition#

Namespace: P1.ImageSdk

A BitmapImage that represents Bayer (raw) sensor output, and therefore includes non-visible pixels More…

public class SensorBayerOutput :  P1::ImageSdk::BitmapBase

Remarks#

A BitmapImage that represents Bayer (raw) sensor output, and therefore includes non-visible pixels

This class represents image data, where there might exist a border of non-illuminated (non exposed) pixels, around the edges of the RAW image.

Image sensors might use such area to store sensor specific data and configurations. This class includes a property to extract the active (exposed) image area from the pixel data.

Properties#

ActiveArea

Defines the offset and dimension of the area of the exposed pixels in the RAW image

FullWidth

The full width of the sensor output, including non-exposed area

FullHeight

The full height of the sensor output, including non-exposed area

Methods#

GainAndOffset(MutableBitmapImage< float > gainImage, MutableBitmapImage< float > offsetImage)

Pixel wise gain and offset: image = image * gainImage + offsetImage

Transform(float a, float b, float c, int axis)

Transform image by second order polynomial: I = I * (a*X*X + b*X + c)

Transform(float ax, float bx, float cx, float ay, float by, float cy)

Transform image by second order polynomial: I = I * (ax*X*X + bx*X + cx) * (ay*Y*Y + by*Y + cy)