bazar
1.3.1
Main Page
Modules
Classes
Files
Examples
File List
File Members
garfeild
viewsets
image_classifier.cpp
Go to the documentation of this file.
1
/*
2
Copyright 2005, 2006 Computer Vision Lab,
3
Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland.
4
All rights reserved.
5
6
This file is part of BazAR.
7
8
BazAR is free software; you can redistribute it and/or modify it under the
9
terms of the GNU General Public License as published by the Free Software
10
Foundation; either version 2 of the License, or (at your option) any later
11
version.
12
13
BazAR is distributed in the hope that it will be useful, but WITHOUT ANY
14
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
PARTICULAR PURPOSE. See the GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License along with
18
BazAR; if not, write to the Free Software Foundation, Inc., 51 Franklin
19
Street, Fifth Floor, Boston, MA 02110-1301, USA
20
*/
21
#include "
image_classifier.h
"
22
23
image_classifier::image_classifier
(
LEARNPROGRESSION
_LearnProgress)
24
{
25
LearnProgression
=_LearnProgress;
26
}
27
28
29
image_classifier::image_classifier
(
int
_image_width,
int
_image_height,
int
_class_number,
30
LEARNPROGRESSION
_LearnProgress)
31
{
32
LearnProgression
=_LearnProgress;
33
34
image_width
= _image_width;
35
image_height
= _image_height;
36
class_number
= _class_number;
37
}
38
Generated on Tue Jan 15 2013 12:50:21 for bazar by
1.8.1.2