#include <GUI.h>
List of all members.
Static Public Member Functions |
static void | showImage (const cv::Mat &image, bool autosize=true) |
static bool | showSystemImage (const cv::Mat &image, const std::string &tmp_file="tmp.png", const std::string &app="eog") |
Detailed Description
Definition at line 19 of file GUI.h.
Member Function Documentation
Creates a windows showing the given image and waits untils some key is pressed
- Parameters:
-
Definition at line 37 of file GUI.cpp.
bool GUI::showSystemImage |
( |
const cv::Mat & |
image, |
|
|
const std::string & |
tmp_file = "tmp.png" , |
|
|
const std::string & |
app = "eog" |
|
) |
| [static] |
Saves the image in a temporary file to visualize it with a system application
- Parameters:
-
image | |
tmp_file | file where the image is stored |
app | application invoked to visualize the image |
- Returns:
- true iff success
Definition at line 54 of file GUI.cpp.
The documentation for this class was generated from the following files: