Impact Acquire SDK Java
TColorProcessingMode Class Reference

Defines the color processing mode. More...

Static Public Attributes

static final int cpmAuto = acquireJNI.cpmAuto_get()
 The driver decides (depending on the connected camera) what kind of color processing has to be applied.
 
static final int cpmBayer = acquireJNI.cpmBayer_get()
 A Bayer color conversion will be applied before the image is transferred to the user.
 
static final int cpmBayerToMono = acquireJNI.cpmBayerToMono_get()
 A Bayer to mono conversion will be applied before the image is transferred to the user.
 
static final int cpmRaw = acquireJNI.cpmRaw_get()
 No color processing will be performed.
 
static final int cpmRawToPlanes = acquireJNI.cpmRawToPlanes_get()
 No color processing will be performed but the packed raw Bayer data will be re-arranged within the buffer.
 

Detailed Description

Defines the color processing mode.

Member Data Documentation

◆ cpmAuto

final int cpmAuto = acquireJNI.cpmAuto_get()
static

The driver decides (depending on the connected camera) what kind of color processing has to be applied.

◆ cpmBayer

final int cpmBayer = acquireJNI.cpmBayer_get()
static

A Bayer color conversion will be applied before the image is transferred to the user.

◆ cpmBayerToMono

final int cpmBayerToMono = acquireJNI.cpmBayerToMono_get()
static

A Bayer to mono conversion will be applied before the image is transferred to the user.

◆ cpmRaw

final int cpmRaw = acquireJNI.cpmRaw_get()
static

No color processing will be performed.

◆ cpmRawToPlanes

final int cpmRawToPlanes = acquireJNI.cpmRawToPlanes_get()
static

No color processing will be performed but the packed raw Bayer data will be re-arranged within the buffer.

In the resulting image the top left quarter of the image will contain the red pixels, the top right quarter the blue pixels, the lower left quarter the green pixels from the red line and the lower right quarter the green pixels from the blue line:

* // w: width, h: height
* R(0, 0)          R(0, 1), ...          R(0, (w-1)/2)          B(0, 0)          B(0, 1), ...          B(0, (w-1)/2)
* R(1, 0)          R(1, 1), ...          R(1, (w-1)/2)          B(1, 0)          B(1, 1), ...          B(1, (w-1)/2)
          * .
          * .
          * .
* R((h-1/2), 0)    R((h-1/2), 1), ...    R((h-1/2), (w-1)/2)    B((h-1/2), 0)    B((h-1/2), 1), ...    B((h-1/2), (w-1)/2)
* G(R)(0, 0)       G(R)(0, 1), ...       G(R)(0, (w-1)/2)       G(B)(0, 0)       G(B)(0, 1), ...       G(B)(0, (w-1)/2)
* G(R)(1, 0)       G(R)(1, 1), ...       G(R)(1, (w-1)/2)       G(B)(1, 0)       G(B)(1, 1), ...       G(B)(1, (w-1)/2)
          * .
          * .
          * .
* G(R)((h-1/2), 0) G(R)((h-1/2), 1), ... G(R)((h-1/2), (w-1)/2) G(B)((h-1/2), 0) G(B)((h-1/2), 1), ... G(B)((h-1/2), (w-1)/2)
*