Basic Image AlgorithmS Library
2.8.0
|
class to send images from a camera or disk to a client More...
#include <VideoSource/VideoServer.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
VideoSource * | GetCamera () |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
double | GetFPS () |
unsigned int | GetMessageSize () |
BIAS::Camera< unsigned char > * | GetSendImage () |
int | Init (int port=D_CS_DEFAULT_PORT) |
int | InitFromExistingSource (VideoSource *theSource, int port=D_CS_DEFAULT_PORT) |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
int | ProcessOneImage () |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | SetCameraType (int camType=1) |
void | SetCompression (int compLvl=60) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
VideoServer () | |
~VideoServer () | |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
Protected Attributes | |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
std::map< std::string, long int > | _String2Debuglevel |
VideoSource * | camera_ |
BIAS::Camera< unsigned char > | CamImage_ |
BIAS::Vector< double > | camParam_ |
int | camType_ |
bool | compressionColor_ |
JpegHandler | Compressor_ |
int | imgHeight_ |
int | imgWidth_ |
bool | Initialized_ |
int | jpeg_ |
unsigned int | msgSize_ |
int | port_ |
BIAS::Rescale< unsigned char, unsigned char > | RescaleFilter_ |
double | resizeFactor_ |
std::ostringstream | SendBuffer_ |
BIAS::Camera< unsigned char > | SendImage_ |
CScommServer | server_ |
std::string | targetAddress_ |
int | UDPServerThrottle_ |
bool | useUDP_ |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
class to send images from a camera or disk to a client
uses TCP or UDPServer Catch images with the VideoSourve_Net class.
Definition at line 37 of file VideoServer.hh.
VideoServer::VideoServer | ( | ) |
Definition at line 20 of file VideoServer.cpp.
VideoServer::~VideoServer | ( | ) |
Definition at line 45 of file VideoServer.cpp.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
inline |
Definition at line 52 of file VideoServer.hh.
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 54 of file VideoServer.hh.
|
inlinestaticinherited |
|
inline |
Definition at line 58 of file VideoServer.hh.
|
inline |
Definition at line 56 of file VideoServer.hh.
int VideoServer::Init | ( | int | port = D_CS_DEFAULT_PORT | ) |
Definition at line 56 of file VideoServer.cpp.
int VideoServer::InitFromExistingSource | ( | VideoSource * | theSource, |
int | port = D_CS_DEFAULT_PORT |
||
) |
Definition at line 132 of file VideoServer.cpp.
References BIAS::VideoSource::OpenDevice().
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inlineinherited |
int VideoServer::ProcessOneImage | ( | ) |
Definition at line 172 of file VideoServer.cpp.
References BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::UUID::GenerateUUID(), BIAS::ImageConvert::ToGrey(), and BIAS::ImageConvert::ToRGB().
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 48 of file VideoServer.hh.
|
inline |
Definition at line 46 of file VideoServer.hh.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
Definition at line 70 of file VideoServer.hh.
|
protected |
Definition at line 71 of file VideoServer.hh.
|
protected |
Definition at line 63 of file VideoServer.hh.
|
protected |
Definition at line 64 of file VideoServer.hh.
|
protected |
Definition at line 79 of file VideoServer.hh.
|
protected |
Definition at line 85 of file VideoServer.hh.
|
staticprotectedinherited |
|
protected |
Definition at line 64 of file VideoServer.hh.
|
protected |
Definition at line 64 of file VideoServer.hh.
|
protected |
Definition at line 73 of file VideoServer.hh.
|
protected |
Definition at line 64 of file VideoServer.hh.
|
protected |
Definition at line 77 of file VideoServer.hh.
|
protected |
Definition at line 61 of file VideoServer.hh.
|
protected |
Definition at line 75 of file VideoServer.hh.
|
protected |
Definition at line 65 of file VideoServer.hh.
|
protected |
Definition at line 74 of file VideoServer.hh.
|
protected |
Definition at line 72 of file VideoServer.hh.
|
protected |
Definition at line 82 of file VideoServer.hh.
|
protected |
Definition at line 62 of file VideoServer.hh.
|
protected |
Definition at line 66 of file VideoServer.hh.
|
protected |
Definition at line 67 of file VideoServer.hh.