Median Filter using OpenCL*
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 Note document for information on system requirements.
OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
This software is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (Burma, Cuba, Iran, Libya, North Korea, Sudan, and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, Specially Designated Nationals, and entities on the Bureau of Export Administration Entity List or involved with missile technology or nuclear, chemical or biological weapons).