LArOpenCV
1
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
ImageCluster
EmptyImageCluster.h
Go to the documentation of this file.
1
14
#ifndef __EMPTYIMAGECLUSTER_H__
15
#define __EMPTYIMAGECLUSTER_H__
16
17
#include "
ImageClusterBase.h
"
18
19
namespace
larcv {
24
class
EmptyImageCluster
:
public
larcv::ImageClusterBase
{
25
26
public
:
27
29
EmptyImageCluster
(
const
std::string name=
"EmptyImageCluster"
) :
ImageClusterBase
(name)
30
{}
31
33
~EmptyImageCluster
(){}
34
35
protected
:
36
38
void
_Configure_
(const ::fcllite::PSet &pset);
39
41
larcv::ContourArray_t
_Process_
(
const
larcv::ContourArray_t
& clusters,
42
const ::cv::Mat& img,
43
larcv::ImageMeta
& meta);
44
45
private
:
46
47
std::vector<double>
_canny_params
;
48
49
};
50
55
class
EmptyImageClusterFactory
:
public
ImageClusterFactoryBase
{
56
public
:
58
EmptyImageClusterFactory
() {
ImageClusterFactory::get
().
add_factory
(
"EmptyImageCluster"
,
this
); }
60
~EmptyImageClusterFactory
() {}
62
ImageClusterBase
*
create
(
const
std::string instance_name) {
return
new
EmptyImageCluster
(instance_name); }
63
};
65
static
EmptyImageClusterFactory
__global_EmptyImageClusterFactory__
;
66
}
67
#endif
68
// end of doxygen group
69
Generated on Wed Jan 27 2016 14:36:23 for LArOpenCV by
1.8.4