VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ChangePixelFormatToBlackWhiteCommand Class / ChangePixelFormatToBlackWhiteCommand Constructors / ChangePixelFormatToBlackWhiteCommand Constructor(Int32,Int32,Double,Double,Int32)
Syntax Requirements SeeAlso
In This Topic
    ChangePixelFormatToBlackWhiteCommand Constructor(Int32,Int32,Double,Double,Int32)
    In This Topic
    Initializes a new instance of the ChangePixelFormatToBlackWhiteCommand class with the specified parameters of an adaptive binarization.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal minLevelDifference
    The sensibility of light pixels in dark regions.
    As System.Int32, _
    ByVal maxLevelDifference
    The sensibility of dark pixels in light regions.
    As System.Int32, _
    ByVal convertToBlackLevel
    The level to convert pixels with darker luminance to black.
    As Double, _
    ByVal convertToWhiteLevel
    The level to convert pixels with lighter luminance to white.
    As Double, _
    ByVal windowRadius
    The radius of the local window.
    As System.Int32 _
    )
    public ChangePixelFormatToBlackWhiteCommand(
    System.Int32 minLevelDifference,
    System.Int32 maxLevelDifference,
    double convertToBlackLevel,
    double convertToWhiteLevel,
    System.Int32 windowRadius
    )
    public: ChangePixelFormatToBlackWhiteCommand(
    System.Int32 minLevelDifference,
    System.Int32 maxLevelDifference,
    double convertToBlackLevel,
    double convertToWhiteLevel,
    System.Int32 windowRadius
    )
    public:
    ChangePixelFormatToBlackWhiteCommand(
    System.Int32 minLevelDifference,
    System.Int32 maxLevelDifference,
    double convertToBlackLevel,
    double convertToWhiteLevel,
    System.Int32 windowRadius
    )

    Parameters

    minLevelDifference
    The sensibility of light pixels in dark regions.
    maxLevelDifference
    The sensibility of dark pixels in light regions.
    convertToBlackLevel
    The level to convert pixels with darker luminance to black.
    convertToWhiteLevel
    The level to convert pixels with lighter luminance to white.
    windowRadius
    The radius of the local window.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also