Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Median Filter using OpenCL*

$
0
0

Features / Description

The sample demonstrates how to implement efficient median filter with OpenCL*. This implementation relies on auto-vectorization performed by Intel® SDK for OpenCL* Applications compiler. This kernel code effectively minimizes number of color buffer accesses, removes synchronization points, and uses data-level parallelism.

This sample demonstrates a CPU-optimized implementation of 2D image median filtration, showing how to:

  • Implement calculation kernels using OpenCL* C99
  • Parallelize the kernels by running several work-groups in parallel
  • Organize host-device data exchange with final image storage on the hard drive.

Supported Devices: CPU, Intel® HD Graphics 4000/2500
Complexity level: Novice

Refer to the Release Notes for information on system requirements.

* OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.


Viewing all articles
Browse latest Browse all 3384

Trending Articles