/OpenCL-Filters

Implemented filters for images/frames

Primary LanguageC++

OpenCL-Filters

Implemented OpenCL-based convolution filter(used for blurring, sharpening, embossing, edge detection, and more).

Profiler INFO

Examples for blurring

Source frame, resolution: 1280x720

  1. Boxblur filter(normalized) 3x3, factor = 1.
  BoxBlur filter 3x3:
       { 0.0, 0.2, 0.0 }
       { 0.2, 0.2, 0.2 }
       { 0.0, 0.2, 0.0 }

result of applying filter 3x3 3 times:

  1. Boxblur filter(normalized) 5x5, factor = 1/13.
  BoxBlur filter 5x5:
        { 0, 0, 1, 0, 0 }
        { 0, 1, 1, 1, 0 }
   1/13 { 1, 1, 1, 1, 1 }
        { 0, 1, 1, 1, 0 }
        { 0, 0, 1, 0, 0 }

result of applying filter 5x5 3 times: