gui.h
Go to the documentation of this file.
1 /*
2 * ECVL - European Computer Vision Library
3 * Version: 0.3.4
4 * copyright (c) 2021, Università degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
5 * Authors:
6 * Costantino Grana (costantino.grana@unimore.it)
7 * Federico Bolelli (federico.bolelli@unimore.it)
8 * Michele Cancilla (michele.cancilla@unimore.it)
9 * Laura Canalini (laura.canalini@unimore.it)
10 * Stefano Allegretti (stefano.allegretti@unimore.it)
11 * All rights reserved.
12 */
13 
14 #ifndef ECVL_GUI_H_
15 #define ECVL_GUI_H_
16 
17 #include <wx/wx.h>
18 #include "wx/notebook.h"
19 #undef _
20 
21 #include "ecvl/core/image.h"
22 
23 namespace ecvl
24 {
33 void ImShow(const Image& img);
34 
42 wxImage WxFromImg(Image& img);
43 
51 Image ImgFromWx(const wxImage& wx);
52 
53 #if defined ECVL_WITH_OPENGL
54 
61 void ImShow3D(const Image& img);
62 #endif
63 
67 } // namespace ecvl
68 
69 #endif // ECVL_GUI_H_
Image ImgFromWx(const wxImage &wx)
Convert a wxImage into an ECVL Image.
void ImShow(const Image &img)
Displays an Image.
wxImage WxFromImg(Image &img)
Convert an ECVL Image into a wxImage.