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

Inherits com.qualcomm.fastcvdemo.base.GraphicalActivity.

Public Member Functions

boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
native void setFilter (int filterType)
native void update (byte[] data, int w, int h)
native void cleanup ()

Static Public Attributes

static final int RESET = 0
static final int ENABLE_GAUSS_3X3 = 1
static final int ENABLE_GAUSS_5X5 = 2
static final int ENABLE_GAUSS_11X11 = 3
static final int ENABLE_CANNY = 4
static final int ENABLE_ERODE = 5
static final int ENABLE_DILATE = 6
static final int ENABLE_MEDIAN = 7
static final int ENABLE_SOBEL = 8
static final int ENABLE_THRESHOLD = 9

Protected Member Functions

void initTitle ()
void setupCamera ()

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 filter type.

filterTypeDesired filter 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.Filter.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 filter options

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