CITorusLensDistortion - emcconville/cif GitHub Wiki

CITorusLensDistortion

Creates a torus-shaped lens and distorts the portion of the image over which the lens is placed.

  • -inputImage <image> : The image to use as an input image. For filters that also use a background image, this is the foreground image.
  • -inputWidth <number> : The width of the ring. [Default 80]
  • -inputRadius <number> : The outer radius of the torus. [Default 160]
  • -inputRefraction <number> : The refraction of the glass. [Default 1.7]
  • -inputCenter <vector> : The x and y position to use as the center of the torus. [Default 150,150]