CIDisplacementDistortion - emcconville/cif GitHub Wiki

CIDisplacementDistortion

Applies the grayscale values of the second image to the first image. The output image has a texture defined by the grayscale values.

  • -inputDisplacementImage <image> : An image whose grayscale values will be applied to the source image.
  • -inputImage <image> : The image to use as an input image. For filters that also use a background image, this is the foreground image.
  • -inputScale <number> : The amount of texturing of the resulting image. The larger the value, the greater the texturing. [Default 50]