Webcam Tracker
V1.0
Using openCV and an Arduino Uno
|
Child-classe, converts from BGR to HSV color space. More...
#include <ConvertColorSpace.h>
Public Member Functions | |
ConvertColorSpace (const cv::String name) | |
Constructor. More... | |
void | setAction (void *data) |
sets the output of the action More... | |
void | showWindow () |
shows the action to the user More... | |
![]() | |
PipeLineAction () | |
Default constructor. | |
PipeLineAction (const cv::String name) | |
Constructor. More... | |
virtual void * | getAction () |
gets the output of the action More... | |
void | hideWindow () |
hides the action to the user More... | |
cv::String | getName () |
gets the pipeline action name More... | |
Additional Inherited Members | |
![]() | |
cv::Mat | img |
Matrix which holds the image of the action. | |
bool | show |
Show action flag. | |
cv::String | name |
(screen)name of the pipeline action | |
Child-classe, converts from BGR to HSV color space.
ConvertColorSpace::ConvertColorSpace | ( | const cv::String | name | ) |
Constructor.
name | (screen)name of ConvertColorSpace action |
|
virtual |
sets the output of the action
in this case: converting from BGR to HSV colorspace.
data | pointer to the input data, should be a OpenCV matrix |
Implements PipeLineAction.
|
virtual |
shows the action to the user
uses cv::imshow(). The name of the window is the name of the pipeline action.
Implements PipeLineAction.