Difference between revisions of "CUVI Features"

From CUVI Wiki
Line 32: Line 32:
{| style="width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ccc;"
{| style="width:100%; background:#f6f6f6; margin-top:1.2em; border:1px solid #ccc;"
|style="width:50%;"|
|style="width:50%;"|
{|
* [[Function:Add|Add]] - Adds two images
* [[Function:Add|Add]] - Adds two images
* [[Function:Adjust|Adjust]] - Equivalent to MATLAB's imadjust
* [[Function:Adjust|Adjust]] - Equivalent to MATLAB's imadjust
Line 60: Line 61:
* [[Function:Min|Min]] - Computes the minimum of image pixel values
* [[Function:Min|Min]] - Computes the minimum of image pixel values
* [[Function:MinFilter|MinFilter]] - Filters an image using a min filter
* [[Function:MinFilter|MinFilter]] - Filters an image using a min filter
|}
|style="width:50%;"|
|style="width:50%;"|
{|
* [[Function:MinIndx|MinIndx]] - Computes the minimum of image pixel values, and retrieves the coordinates of pixels with minimal intensity values
* [[Function:MinIndx|MinIndx]] - Computes the minimum of image pixel values, and retrieves the coordinates of pixels with minimal intensity values
* [[Function:MinMax|MinMax]] - Computes the minimum and maximum of image pixel values
* [[Function:MinMax|MinMax]] - Computes the minimum and maximum of image pixel values
Line 80: Line 83:
* [[Function:XOR|XOR]] - Combines corresponding pixels of two image buffers by a bitwise XOR operation
* [[Function:XOR|XOR]] - Combines corresponding pixels of two image buffers by a bitwise XOR operation
* [[Function:YUV2RGB|YUV2RGB]] - Convert YUV color model to an RGB image
* [[Function:YUV2RGB|YUV2RGB]] - Convert YUV color model to an RGB image
|}
<br/>
<br/>




|}
|}

Revision as of 17:22, 25 April 2012

CUVI Core

CUVI Core includes the following helper functionality:

CuviImage

  • 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 a

CuviMat

  • 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 a

Timer

DeviceProperties

Function List

  • Add - Adds two images
  • Adjust - Equivalent to MATLAB's imadjust
  • AND - Logical Bitwise AND
  • BitConversion - Converts image pixel values from one data type to another
  • BorderMask - Masks image borders with custom intensity
  • ChannelMerge - Merges R, G and B Channel to form a color image
  • ChannelSplit - Splits a three channel image into R, G and B channels
  • Color2Gray - Converts an RGB image to gray scale using custom transform coefficients.
  • ColorTwist - Applies a color twist matrix to an image
  • CountInRange - Counts the number of pixels within the given intensity range
  • Crop - Crops the desired portion of an image
  • Demosaic - Restores an RGB image from a gray-scale Bayer image
  • Divide - Divides pixel values of two image buffers
  • DWT - Performs forward discrete wavelet transform
  • Flip - Mirrors an image about a horizontal or vertical axis, or both
  • GoodFeaturesToTrack - selects N best points on a image using KLT or Harris
  • HistEq - Performs histogram equalization
  • IDWT - Performs inverse discrete wavelet transform
  • ImageBinary - Converts input image into a binary image based on threshold
  • ImageGradients - Calculates X and Y gradients of image
  • ImageFilter - Performs linear 1D and 2D image filtering
  • Max - Computes the maximum of image pixel values
  • MaxFilter - Filters an image using a max filter
  • MaxIndx - Computes the maximum of image pixel values, and retrieves the coordinates of pixels with maximal intensity values
  • Mean - Computes the mean of image pixel values
  • MeanStdDev - Computes the mean and standard deviation of image pixel values
  • Min - Computes the minimum of image pixel values
  • MinFilter - Filters an image using a min filter
  • MinIndx - Computes the minimum of image pixel values, and retrieves the coordinates of pixels with minimal intensity values
  • MinMax - Computes the minimum and maximum of image pixel values
  • MinMaxIndx - Calculates minimum and maximum pixel values and their indexes
  • Multiply - Multiplies pixel values of two image buffers
  • NOT - Performs a bitwise NOT operation on each pixel
  • OpticalFlowHS - Calculates flow of each image pixel in two frames using Horn–Schunck method
  • OpticalFlowPyrLK - Calculates flow of each image pixel or input pixel list in two frames using pyramidal Lucas–Kanade method
  • OR - Combines corresponding pixels of two image buffers by a bitwise OR operation
  • Resize
  • RGB2Gray - Converts an RGB image to gray scale using fixed transform coefficients.
  • RGB2YUV - Convert RGB image to YUV color model
  • RGBA2Gray - Converts an RGBA image to gray scale using fixed transform
  • Rotate - Rotates an image with the origin (0,0) or center
  • Subtract - Subtracts pixel values of two image buffers
  • Sum - Computes the sum of image pixel values
  • TrackFeatures - Tracks input features from frame 1 onto frame 2 using KLT method
  • Transpose - Performs Image transform
  • XOR - Combines corresponding pixels of two image buffers by a bitwise XOR operation
  • YUV2RGB - Convert YUV color model to an RGB image