- Jump To … +
  analyze.coffee autoload.coffee blender.coffee calculate.coffee caman.coffee convert.coffee event.coffee filter.coffee io.coffee layer.coffee logger.coffee module.coffee pixel.coffee plugin.coffee renderer.coffee store.coffee util.coffee blenders.coffee filters.coffee size.coffee blur.coffee camera.coffee compoundBlur.coffee edges.coffee posterize.coffee presets.coffee rotate.coffee stackBlur.coffee threshold.coffee

- # edges.coffee

- ¶

      Caman.Filter.register "edgeEnhance", ->
        @processKernel "Edge Enhance", [
          0, 0, 0,
          -1, 1, 0,
          0, 0, 0
        ]

      Caman.Filter.register "edgeDetect", ->
        @processKernel "Edge Detect", [
          -1, -1, -1,
          -1, 8, -1,
          -1, -1, -1
        ]

      Caman.Filter.register "emboss", ->
        @processKernel "Emboss", [
          -2, -1, 0,
          -1, 1, 1,
          0, 1, 2
        ]