Skip to Content
Computer Vision with OpenCV 3 and Qt5
book

Computer Vision with OpenCV 3 and Qt5

by Amin Ahmadi Tazehkandi
January 2018
Intermediate to advanced content levelIntermediate to advanced
486 pages
11h 28m
English
Packt Publishing
Content preview from Computer Vision with OpenCV 3 and Qt5

The UMat class

The UMat class is a newly introduced Mat-like class and is not available on OpenCV versions prior to version 3.0. The advantage of using the new UMat class (or Unified Mat class) depends mostly on the presence of an OpenCL layer on the platform it is running on. We're not going to go through the gory details of that, but it should be enough to note that OpenCL (with an L, not to be confused with our own OpenCV) is a framework that allows the use of CPUs, GPUs, and other computing resources on a system to work together (sometimes even in parallel) to achieve a common computing goal. So, simply put, if it exists on a platform, then passing the UMat class to an OpenCV function will cause the underlying OpenCL instructions to be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering OpenCV 4 - Third Edition

Mastering OpenCV 4 - Third Edition

Roy Shilkrot, David Millán Escrivá
Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres
OpenCV 4 with Python Blueprints - Second Edition

OpenCV 4 with Python Blueprints - Second Edition

Dr. Menua Gevorgyan, Michael Beyeler (USD), Arsen Mamikonyan, Michael Beyeler

Publisher Resources

ISBN: 9781788472395Supplemental Content