Skip to content

PLPixelDataConverter.MonoConversionMethodEnum Class#

Sets the conversion method for monochrome images.

Visibility: Beginner

Inheritance Hierarchy#

System.Object
  Basler.Pylon.ParameterListEnum
    Basler.Pylon.PLPixelDataConverter.MonoConversionMethodEnum

Constructors#

 NameDescription
Public methodPLPixelDataConverter.MonoConversionMethodEnum Initializes a new instance of the PLPixelDataConverter.MonoConversionMethodEnum class
 

Properties#

 NameDescription
Public propertyGamma

When converting images, Gamma conversion is used.

Public propertyName The full name of MonoConversionMethod (Overrides ParameterListEnum.Name.)
Public propertyTruncate

When converting images, image data is shifted. If the target bit depth is lower than the source bit depth, the least significant bits of the input pixel values are truncated. If the target bit depth is greater than the source bit depth, you can control the data alignment with the Output Bit Alignment parameter. You can use the Additional Left Shift parameter to additionally shift the input value further to the left or to the right.

 

Methods#

 NameDescription
Public methodToString The full name of MonoConversionMethod (Overrides Object.ToString()()()().)
 

PLPixelDataConverter.MonoConversionMethodEnum.ToString Method#

The full name of MonoConversionMethod

Return Value#

Type: String
Returns the full name of MonoConversionMethod

PLPixelDataConverter.MonoConversionMethodEnum Constructor#

Initializes a new instance of the PLPixelDataConverter.MonoConversionMethodEnum class

PLPixelDataConverter.MonoConversionMethodEnum.Gamma Property#

When converting images, Gamma conversion is used.

PLPixelDataConverter.MonoConversionMethodEnum.Name Property#

The full name of MonoConversionMethod

PLPixelDataConverter.MonoConversionMethodEnum.Truncate Property#

When converting images, image data is shifted. If the target bit depth is lower than the source bit depth, the least significant bits of the input pixel values are truncated. If the target bit depth is greater than the source bit depth, you can control the data alignment with the Output Bit Alignment parameter. You can use the Additional Left Shift parameter to additionally shift the input value further to the left or to the right.