EasyImage::Lut
Transforms the gray levels of an image, using a lookup table stored in a vector (of unsigned values).
Namespace: Euresys::Open_eVision
[C++]
void Lut(
const EROIBW16* sourceImage,
EROIBW16* destinationImage,
const EBW16Vector* lookupTable
)
void Lut(
const EROIBW8* sourceImage,
EROIBW8* destinationImage,
const EBW8Vector* lookupTable
)
void Lut(
const EROIBW16* sourceImage,
EROIBW8* destinationImage,
const EBW8Vector* lookupTable,
OEV_UINT32 numberOfScalingBits
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
lookupTable
Pointer to the lookup vector.
numberOfScalingBits
Number of scaling bits (or right padding bits).
Remarks
A 16-bit image usually does not make use of its 16 bits. In most cases, only 10 or 12 bits are used. These bits are called significant bits. In the 16-bit information, significant bits can be left aligned, right aligned or not aligned at all. To indicate which are the significant bits, we have to tell how many bits are significant and the number of right padding bits (0 right padding bit means that significant bits are right aligned).
The number of significant bits is given by the number of Look Up table entries. For example a Lut of 1024 entries is used for an image of 10 significant bits (as 210 = 1024).
The number of right padding bits is given by means of the
EasyImage.Lut
Transforms the gray levels of an image, using a lookup table stored in a vector (of unsigned values).
Namespace: Euresys.Open_eVision
[C#]
void Lut(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EROIBW16 destinationImage,
Euresys.Open_eVision.EBW16Vector lookupTable
)
void Lut(
Euresys.Open_eVision.EROIBW8 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
Euresys.Open_eVision.EBW8Vector lookupTable
)
void Lut(
Euresys.Open_eVision.EROIBW16 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
Euresys.Open_eVision.EBW8Vector lookupTable,
uint numberOfScalingBits
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
lookupTable
Pointer to the lookup vector.
numberOfScalingBits
Number of scaling bits (or right padding bits).
Remarks
A 16-bit image usually does not make use of its 16 bits. In most cases, only 10 or 12 bits are used. These bits are called significant bits. In the 16-bit information, significant bits can be left aligned, right aligned or not aligned at all. To indicate which are the significant bits, we have to tell how many bits are significant and the number of right padding bits (0 right padding bit means that significant bits are right aligned).
The number of significant bits is given by the number of Look Up table entries. For example a Lut of 1024 entries is used for an image of 10 significant bits (as 210 = 1024).
The number of right padding bits is given by means of the