Search Results for

    Show / Hide Table of Contents

    Class DeltaPixelBlender<TPixel>

    Blends pixels based on their differences. Pixels that are equal return gray. Pixels where the source is less than backdrop return black. Pixels where the source is greater than the backdrop return white.

    Inheritance
    Object
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>
    DeltaPixelBlender<TPixel>
    Inherited Members
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend<TPixelSrc>(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixelSrc>, System.Single)
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<System.Single>)
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend<TPixelSrc>(SixLabors.ImageSharp.Configuration, System.Span<TPixel>, System.ReadOnlySpan<TPixel>, System.ReadOnlySpan<TPixelSrc>, System.ReadOnlySpan<System.Single>)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Acoustics.Shared.ImageSharp
    Assembly: Acoustics.Shared.dll
    Syntax
    public class DeltaPixelBlender<TPixel> : PixelBlender<TPixel> where TPixel : struct, IPixel<TPixel>
    Type Parameters
    Name Description
    TPixel

    The type of pixel to operate on.

    Methods

    | Improve this Doc View Source

    Blend(TPixel, TPixel, Single)

    Declaration
    public override TPixel Blend(TPixel background, TPixel source, float amount)
    Parameters
    Type Name Description
    TPixel background
    TPixel source
    Single amount
    Returns
    Type Description
    TPixel
    Overrides
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.Blend(TPixel, TPixel, System.Single)
    | Improve this Doc View Source

    BlendFunction(Span<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Single>)

    Declaration
    protected override void BlendFunction(Span<Vector4> destination, ReadOnlySpan<Vector4> background, ReadOnlySpan<Vector4> source, ReadOnlySpan<float> amount)
    Parameters
    Type Name Description
    Span<Vector4> destination
    ReadOnlySpan<Vector4> background
    ReadOnlySpan<Vector4> source
    ReadOnlySpan<Single> amount
    Overrides
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.BlendFunction(System.Span<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Single>)
    | Improve this Doc View Source

    BlendFunction(Span<Vector4>, ReadOnlySpan<Vector4>, ReadOnlySpan<Vector4>, Single)

    Declaration
    protected override void BlendFunction(Span<Vector4> destination, ReadOnlySpan<Vector4> background, ReadOnlySpan<Vector4> source, float amount)
    Parameters
    Type Name Description
    Span<Vector4> destination
    ReadOnlySpan<Vector4> background
    ReadOnlySpan<Vector4> source
    Single amount
    Overrides
    SixLabors.ImageSharp.PixelFormats.PixelBlender<TPixel>.BlendFunction(System.Span<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.ReadOnlySpan<System.Numerics.Vector4>, System.Single)

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top