File Exchange

image thumbnail

Color-balance demo with GPU computing

version (8.17 MB) by

Use GPU in MATLAB to perform white-balance operation to input image.



View License

This demo shows how to identify bottlenecks in code that is run on a CPU using the MATLAB Profiler.
The computations forming the bottleneck in this example are then executed on the system's GPU using the gpuArray() command and the interface to CUDA kernels.

Code to compare the calculations from the CPU and from the GPU is also provided.

Comments and Ratings (1)


Updated license

MATLAB Release
MATLAB 8.0 (R2012b)

Inspired by: MATLAB for CUDA Programmers

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video