Package 

Class ToonFilterTransformation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String cacheKey
    • Method Summary

      Modifier and Type Method Description
      String getCacheKey()
      GPUImageFilter createFilter() Create the GPUImageFilter to apply to this Transformation
      • Methods inherited from class com.commit451.coiltransformations.gpu.ToonFilterTransformation

        transform
      • Methods inherited from class com.commit451.coiltransformations.gpu.GPUFilterTransformation

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToonFilterTransformation

        ToonFilterTransformation(Context context, Float threshold, Float quantizationLevels)
        Parameters:
        context - context
        threshold - The threshold at which to apply the edges, default of 0.2f.
        quantizationLevels - The levels of quantization for the posterization of colors within the scene, default of 10.0f.