Variable ImageUtilConst

ImageUtil: Readonly<{
    precomputations: ((input: TextureDataFloat, LUT_WIDTH?: number) => SeamlessTextureData);
}> = ...

Utility class for image processing operations. Provides methods for seamless texture synthesis and image manipulation.

Type declaration

  • precomputations: ((input: TextureDataFloat, LUT_WIDTH?: number) => SeamlessTextureData)
      • (input, LUT_WIDTH?): SeamlessTextureData
      • Performs all necessary precomputations for seamless texture synthesis. This includes color space decorrelation, histogram transformation, and LUT prefiltering.

        Parameters

        • input: TextureDataFloat

          The input example texture

        • LUT_WIDTH: number = 128

          The width of the Look-Up Table (default: 128)

        Returns SeamlessTextureData

        SeamlessTextureData containing all precomputed data