EColorLookup::Calibrate

Sets a color transformation to recalibrate.

Namespace: Euresys::Open_eVision

[C++]

void Calibrate(
   EC24 Color0,
   float x0,
   float y0,
   float z0,
   EC24 Color1,
   float x1,
   float y1,
   float z1,
   EC24 Color2,
   float x2,
   float y2,
   float z2
)

void Calibrate(
   EC24 Color0,
   float x0,
   float y0,
   float z0,
   EC24 Color1,
   float x1,
   float y1,
   float z1,
   EC24 Color2,
   float x2,
   float y2,
   float z2,
   EC24 Color3,
   float x3,
   float y3,
   float z3
)

Parameters

Color0

Measured quantized values of a pixel of color 0.

x0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

y0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

z0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

Color1

Measured quantized values of a pixel of color 1.

x1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

y1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

z1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

Color2

Measured quantized values of a pixel of color 2.

x2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

y2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

z2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

Color3

Measured quantized values of a pixel of color 3.

x3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

y3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

z3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

color

-

x

-

y

-

z

-

Remarks

The first prototype uses 3 reference colors. The second uses 4 reference colors. To apply some transform to a color image, you initialize a color lookup once for all and use it at will in a transformation operation such as EColorLookup::Transform.

EColorLookup.Calibrate

Sets a color transformation to recalibrate.

Namespace: Euresys.Open_eVision

[C#]

void Calibrate(
   Euresys.Open_eVision.EC24 Color0,
   float x0,
   float y0,
   float z0,
   Euresys.Open_eVision.EC24 Color1,
   float x1,
   float y1,
   float z1,
   Euresys.Open_eVision.EC24 Color2,
   float x2,
   float y2,
   float z2
)

void Calibrate(
   Euresys.Open_eVision.EC24 Color0,
   float x0,
   float y0,
   float z0,
   Euresys.Open_eVision.EC24 Color1,
   float x1,
   float y1,
   float z1,
   Euresys.Open_eVision.EC24 Color2,
   float x2,
   float y2,
   float z2,
   Euresys.Open_eVision.EC24 Color3,
   float x3,
   float y3,
   float z3
)

Parameters

Color0

Measured quantized values of a pixel of color 0.

x0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

y0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

z0

CIE XYZ tri-stimulus unquantized values corresponding to color 0.

Color1

Measured quantized values of a pixel of color 1.

x1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

y1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

z1

CIE XYZ tri-stimulus unquantized values corresponding to color 1.

Color2

Measured quantized values of a pixel of color 2.

x2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

y2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

z2

CIE XYZ tri-stimulus unquantized values corresponding to color 2.

Color3

Measured quantized values of a pixel of color 3.

x3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

y3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

z3

CIE XYZ tri-stimulus unquantized values corresponding to color 3.

color

-

x

-

y

-

z

-

Remarks

The first prototype uses 3 reference colors. The second uses 4 reference colors. To apply some transform to a color image, you initialize a color lookup once for all and use it at will in a transformation operation such as EColorLookup::Transform.