Basic Image AlgorithmS Library
2.8.0
Main Page
Related Pages
Modules
Classes
Examples
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
VideoSource
VideoSource_Disk_Bayer.hh
1
/*
2
This file is part of the BIAS library (Basic ImageAlgorithmS).
3
4
Copyright (C) 2003-2009 (see file CONTACT for details)
5
Multimediale Systeme der Informationsverarbeitung
6
Institut fuer Informatik
7
Christian-Albrechts-Universitaet Kiel
8
9
10
BIAS is free software; you can redistribute it and/or modify
11
it under the terms of the GNU Lesser General Public License as published by
12
the Free Software Foundation; either version 2.1 of the License, or
13
(at your option) any later version.
14
15
BIAS is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU Lesser General Public License for more details.
19
20
You should have received a copy of the GNU Lesser General Public License
21
along with BIAS; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
*/
24
25
26
#ifndef __BIASVIDEOSOURCE_DISK_BAYER_HH__
27
#define __BIASVIDEOSOURCE_DISK_BAYER_HH__
28
29
#include <VideoSource/VideoSource_Disk.hh>
30
#include "Base/Debug/TimeMeasure.hh"
31
32
33
namespace
BIAS{
34
/**
35
\class VideoSource_Disk
36
\ingroup g_videosource
37
\author evers
38
\brief This class simulates a video device by loading images from disk.
39
*/
40
class
BIASVideoSource_EXPORT
VideoSource_Disk_Bayer
:
public
VideoSource_Disk
{
41
42
public
:
43
VideoSource_Disk_Bayer
();
44
virtual
~
VideoSource_Disk_Bayer
();
45
46
virtual
int
OpenDevice(
const
std::vector<std::string> &FileNames);
47
48
int
SetColorMode(
BIAS::ImageBase::EColorModel
mode);
49
50
virtual
int
GrabSingle(
BIAS::Camera <unsigned char>
&image);
51
virtual
int
GrabSingle(
BIAS::Camera <float>
&image);
52
#ifdef BUILD_IMAGE_USHORT
53
virtual
int
GrabSingle(
BIAS::Camera <unsigned short int>
&image);
54
#endif
55
virtual
int
GrabSingle(
BIAS::ImageBase
&image);
56
57
58
};
59
60
61
}
// namespace MIP
62
63
#endif
BIAS::ImageBase::EColorModel
EColorModel
These are the most often used color models.
Definition:
ImageBase.hh:127
BIAS::Camera< unsigned char >
BIAS::VideoSource_Disk_Bayer
Definition:
VideoSource_Disk_Bayer.hh:40
BIAS::ImageBase
This is the base class for images in BIAS.
Definition:
ImageBase.hh:102
BIAS::VideoSource_Disk
This class simulates a video device by loading images from disk.
Definition:
VideoSource_Disk.hh:46
Generated on Tue Feb 6 2018 02:01:46 for Basic Image AlgorithmS Library by
1.8.5