Difference between revisions of "CUVI Features"
From CUVI Wiki
Line 9: | Line 9: | ||
* [[Module:cuviif|Image Filtering]] | * [[Module:cuviif|Image Filtering]] | ||
* [[Module:cuviit|Image Transforms]] | * [[Module:cuviit|Image Transforms]] | ||
Line 109: | Line 66: | ||
<br/> | <br/> | ||
|} | |||
<!-- CUVI Core Starts --> | |||
==CUVI Core== | |||
CUVI Core includes the following helper functionality: | |||
{| style="width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ccc;" | |||
|style="width:100%;"| | |||
===CuviImage=== | |||
A C++ class to hold image data on the device. It has the following methods | |||
* CuviImage(); - default constructor | |||
* CuviImage(CuviSize size, Cuvi32u depth, Cuvi32u channels) - Main Constructor. throws exception in case of failure | |||
* CuviImage(const CuviImage&) - copy constructor | |||
* CuviImage(const CuviMat&) - copy constructor to initialize from CuviMat | |||
* Upload(void* pSrcHost, size_t srcPitch, CuviStream* stream = NULL) - Copy image data from host to device. Async operation supported | |||
* Download(void* pDstHost, size_t dstPitch, CuviStream* stream = NULL) - Copy image data from device to host | |||
* Show(char* title = "CUVI Image",int milliseconds = 0) - Render device image directly on the screen | |||
* ~CuviImage() - Destructor. Frees Device Memory. throws exception in case of failure | |||
|- | |||
|style="width:100%; text-align: left;"| | |||
===CuviMat=== | |||
A C structure to hold image data on the device. It has the following functions | |||
* cuviCreateMat(CuviMat** mat, CuviSize size, Cuvi32u depth, Cuvi32u channels) - Allocates device memory to CuviMat | |||
* cuviCloneMat(CuviMat** dstMat, CuviMat* srcMat, int copyData) - Creates an exact copy of a CuviMat, with optionally copying data | |||
* cuviUploadData(CuviMat* dstMat, void* pSrcHost, size_t srcPitch, CuviStream* stream) - Copy data from host to CuviMat and supports async operation | |||
* cuviDownloadData(CuviMat* srcMat, void* pDstHost, size_t dstPitch, CuviStream* stream) - Copy data from device back to host | |||
* cuviDestroyMat(CuviImage** mat) - Frees device memory from CuviMat object | |||
* cuviShowMat(char* title, CuviMat* mat, int milliseconds) - Renders a CuviMat directly on the screen for specified time | |||
{| | |||
|- | |||
|style="width:50%;"| | |||
===Timer=== | |||
CUVI provides a C++ Timer class that accurately profiles your application timing | |||
* Start() - Starts the timer. | |||
* Stop() - Stops the timer | |||
* Reset() - Resets the timer | |||
* GetElapsedTime() - Returns the elapsed time between Start and Stop calls in microseconds | |||
|style="width:50%; "| | |||
===DeviceProperties=== | |||
|} | |||
|} | |} | ||
<!-- CUVI Core Ends--> |
Revision as of 18:11, 25 April 2012
This page provides a list of all the functionality available in the latest release of CUVI Library.
Modules
CUVI comes in following image processing modules.
- Arithmetic & Logical
- Color Opertions
- Computer Vision
- Data Exchange & Initialization
- Geometry Transforms
- Image Filtering
- Image Transforms
Function List
|
|
CUVI Core
CUVI Core includes the following helper functionality:
CuviImageA C++ class to hold image data on the device. It has the following methods
| ||
CuviMatA C structure to hold image data on the device. It has the following functions
|