Hierarchy

  • any
    • SMAAFilter

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • Optional config: Partial<SMAAFilterConfig> = {}

      The config (defaults: SMAAFilter.PRESETS.DEFAULT)

    Returns SMAAFilter

Properties

#edgesFilter: default

The edge detection filter.

#weightsFilter: default

The blending weight calculation filter.

#blendFilter: default

The neighborhood blending filter.

Accessors

  • get PRESETS(): {
        LOW: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        MEDIUM: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        HIGH: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        ULTRA: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
    }
  • The presets.

    Returns {
        LOW: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        MEDIUM: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        HIGH: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
        ULTRA: {
            threshold: number;
            localContrastAdaptionFactor: number;
            maxSearchSteps: number;
            maxSearchStepsDiag: number;
            cornerRounding: number;
            disableDiagDetection: boolean;
            disableCornerDetection: boolean;
        };
    }

    • LOW: {
          threshold: number;
          localContrastAdaptionFactor: number;
          maxSearchSteps: number;
          maxSearchStepsDiag: number;
          cornerRounding: number;
          disableDiagDetection: boolean;
          disableCornerDetection: boolean;
      }
      • threshold: number
      • localContrastAdaptionFactor: number
      • maxSearchSteps: number
      • maxSearchStepsDiag: number
      • cornerRounding: number
      • disableDiagDetection: boolean
      • disableCornerDetection: boolean
    • MEDIUM: {
          threshold: number;
          localContrastAdaptionFactor: number;
          maxSearchSteps: number;
          maxSearchStepsDiag: number;
          cornerRounding: number;
          disableDiagDetection: boolean;
          disableCornerDetection: boolean;
      }
      • threshold: number
      • localContrastAdaptionFactor: number
      • maxSearchSteps: number
      • maxSearchStepsDiag: number
      • cornerRounding: number
      • disableDiagDetection: boolean
      • disableCornerDetection: boolean
    • HIGH: {
          threshold: number;
          localContrastAdaptionFactor: number;
          maxSearchSteps: number;
          maxSearchStepsDiag: number;
          cornerRounding: number;
          disableDiagDetection: boolean;
          disableCornerDetection: boolean;
      }
      • threshold: number
      • localContrastAdaptionFactor: number
      • maxSearchSteps: number
      • maxSearchStepsDiag: number
      • cornerRounding: number
      • disableDiagDetection: boolean
      • disableCornerDetection: boolean
    • ULTRA: {
          threshold: number;
          localContrastAdaptionFactor: number;
          maxSearchSteps: number;
          maxSearchStepsDiag: number;
          cornerRounding: number;
          disableDiagDetection: boolean;
          disableCornerDetection: boolean;
      }
      • threshold: number
      • localContrastAdaptionFactor: number
      • maxSearchSteps: number
      • maxSearchStepsDiag: number
      • cornerRounding: number
      • disableDiagDetection: boolean
      • disableCornerDetection: boolean

Methods

  • Parameters

    • filterManager: any
    • input: any
    • output: any
    • clearMode: any
    • currentState: any

    Returns void