EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method ConvertEdgePixels

    ConvertEdgePixels(Image<Gray, byte>, Image<Gray, byte>, Size, Predicate<byte>, Func<byte, byte>)

    Scans the edges of an image and compares them against a condition. If the condition is met, a converter function is applied.

    Declaration
    public static void ConvertEdgePixels(this Image<Gray, byte> input, Image<Gray, byte> output, Size proximity, Predicate<byte> condition, Func<byte, byte> converter)
    Parameters
    Type Name Description
    Image<Gray, byte> input

    The input image. This image will not be modified.

    Image<Gray, byte> output

    The output image. This image will be modified by the converter function when the condition is met.

    Size proximity

    Specifies the size of the edge area to scan. This area extends inward from the edge of the image.

    Predicate<byte> condition

    A predicate function that determines whether a pixel should be converted.

    Func<byte, byte> converter

    A function that converts a pixel value. This function is only applied when the condition is met.

    © Xab3r. All rights reserved.