[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

Accessors for OpenCL types

Encapsulate access to members of OpenCL vector types.

#include <vigra/multi_opencl.hxx>

OpenCL 1.1 [6.1.7] - Vector Components

where TYPE is one of {char, uchar, short, ushort, int, uint, long, ulong, float, double }

For example:

#include <vigra/multi_opencl.hxx>
MultiArrayView<2, cl_double3 > dataView = ...;
vigra::inspectMultiArray(srcMultiArrayRange(dataView, cl_double3Accessor_z()), minmax);
std::cout << "range of .z: " << minmax.min << " - " << minmax.max;
Find the minimum and maximum pixel value in an image or ROI.
Definition inspectimage.hxx:1002
VALUETYPE min
Definition inspectimage.hxx:1080
VALUETYPE max
Definition inspectimage.hxx:1084
void inspectMultiArray(...)
Call an analyzing functor at every element of a multi-dimensional array.

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.12.2