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++]
static void Lut(
const EROIBW16
* sourceImage,
EROIBW16
* destinationImage,
const EBW16Vector
* lookupTable
)
static void Lut(
const EROIBW8
* sourceImage,
EROIBW8
* destinationImage,
const EBW8Vector
* lookupTable
)
static 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 numberOfScalingBits
parameter. Leaving this parameter undefined indicates that the significant bits are left aligned on the word.
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#]
static void Lut(
EROIBW16
sourceImage,
EROIBW16
destinationImage,
EBW16Vector
lookupTable
)
static void Lut(
EROIBW8
sourceImage,
EROIBW8
destinationImage,
EBW8Vector
lookupTable
)
static void Lut(
EROIBW16
sourceImage,
EROIBW8
destinationImage,
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 numberOfScalingBits
parameter. Leaving this parameter undefined indicates that the significant bits are left aligned on the word.
EasyImage.Lut
Transforms the gray levels of an image, using a lookup table stored in a vector (of unsigned values).
Module: open_evision
[Python]
@staticmethod
Lut(
sourceImage: EROIBW16
destinationImage: EROIBW16
lookupTable: EBW16Vector
) -> None
@staticmethod
Lut(
sourceImage: EROIBW8
destinationImage: EROIBW8
lookupTable: EBW8Vector
) -> None
@staticmethod
Lut(
sourceImage: EROIBW16
destinationImage: EROIBW8
lookupTable: EBW8Vector
numberOfScalingBits: int
) -> None
@staticmethod
Lut(
sourceImage: EROIBW16
destinationImage: EROIBW8
lookupTable: EBW8Vector
) -> None
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 numberOfScalingBits
parameter. Leaving this parameter undefined indicates that the significant bits are left aligned on the word.