FastCV Sample Application
1.7.1
|
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] |
native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.cleanup | ( | ) | [virtual] |
Performs native cleanup routines for application exit.
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.initTitle | ( | ) | [inline, protected, virtual] |
Function which retrieves title based on module used.
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
boolean com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.onCreateOptionsMenu | ( | Menu | menu | ) | [inline] |
Called when the option menu is created.
Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.
boolean com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.onOptionsItemSelected | ( | MenuItem | item | ) | [inline] |
User Option selection menu
void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.onResume | ( | ) | [inline, protected] |
Resumes camera preview
Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.
native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.setGradientOrientation | ( | int | gradientOrientation | ) |
Sets the desired orientation.
gradientOrientaion | Desired orientation |
native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.setGradientType | ( | int | gradientType | ) |
Sets the desired gradient type.
gradientType | Desired gradient type. |
void com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.setupCamera | ( | ) | [inline, protected] |
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.
data | Byte buffer for data. |
w | Width of data |
h | Height of data |
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
final int com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.RESET = 0 [static] |
Values for sobel options
ToggleButton com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.tBtnOrientationSwitch [protected] |
Button to allow user to switch orientation
final int com.qualcomm.fastcvdemo.apis.imageProcessing.ImageGradient.VERTICAL_GRADIENT = 0 [static] |
Values for orientation options