FastCV Sample Application  1.7.1
com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient Class Reference

Inherits com.qualcomm.fastcvdemo.base.GraphicalActivity.

Public Member Functions

boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
native void setGradientOrientation (int gradientOrientation)
native void setGradientType (int gradientType)
native void update (byte[] data, int w, int h)
native void cleanup ()

Static Public Attributes

static final int VERTICAL_GRADIENT = 0
static final int HORIZONTAL_GRADIENT = 1
static final int RESET = 0
static final int NO_SOBEL = 1
static final int SOBEL = 2

Protected Member Functions

void initTitle ()
void onResume ()
void setupCamera ()

Protected Attributes

ToggleButton tBtnOrientationSwitch

Static Package Functions

 [static initializer]

Member Function Documentation

Performs native cleanup routines for application exit.

Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.

Function which retrieves title based on module used.

Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.

Called when the option menu is created.

Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.

User Option selection menu

Sets the desired orientation.

gradientOrientaionDesired orientation

Sets the desired gradient type.

gradientTypeDesired gradient type.

Sets up camera configuration parameters

Perform FastCV example configurations as retrieved from application's preferences

Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.

native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.update ( byte[]  data,
int  w,
int  h 
) [virtual]

Function to pass camera frame for native, FastCV processing.

dataByte buffer for data.
wWidth of data
hHeight of data

Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.

Field Documentation

Values for sobel options

Button to allow user to switch orientation

Values for orientation options

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables