Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
drwnMultiSegVis.h
Go to the documentation of this file.
1 /*****************************************************************************
2 ** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT
3 ** Distributed under the terms of the BSD license (see the LICENSE file)
4 ** Copyright (c) 2007-2015, Stephen Gould
5 ** All rights reserved.
6 **
7 ******************************************************************************
8 ** FILENAME: drwnMultiSegVis.h
9 ** AUTHOR(S): Stephen Gould <stephen.gould@anu.edu.au>
10 **
11 *****************************************************************************/
12 
21 #pragma once
22 
23 #include <cstdlib>
24 #include <cassert>
25 
26 #include "drwnBase.h"
27 #include "drwnIO.h"
28 
29 #include "drwnMultiSegConfig.h"
30 #include "drwnSegImageInstance.h"
31 
32 using namespace std;
33 
34 // visualization rountines
35 namespace drwnMultiSegVis {
37  cv::Mat visualizeInstance(const drwnSegImageInstance &instance);
39  void visualizePixelLabels(const drwnSegImageInstance &instance, cv::Mat &canvas,
40  double alpha = 0.5);
42  cv::Mat visualizePixelFeatures(const drwnSegImageInstance &instance);
43 };
44 
Encapsulates a single instance of an image for multi-class pixel labeling problems (i...
Definition: drwnSegImageInstance.h:47