Basic Image AlgorithmS Library
2.8.0
|
VideoSource_MDcam simplifies acces to more then one DCam. It suports multiple IEEE1394-adapters, extern synchronization via parallel port and networked capture cluster. More...
#include <VideoSource/VideoSource_MDcam.hh>
Public Member Functions | |
void | ActivateScorpionTimestamp () |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
int | AutoMode (dc1394feature_t feature, dc1394feature_mode_t mode) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
int | EqualizeFeature (int master, dc1394feature_t feature) |
Read. More... | |
int | ExternalTrigger (bool on, bool active) |
if on==true && active=true try to open parport at ParPort_, if it fails, return -1 else set cameras to external trigger mode if on==false set cameras to internal trigger mode if active==true est cameras into external trigger mode but ignore parport More... | |
VideoSource_DCAM * | GetCamera (int n) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
float | GetGain () |
int | GetID (int i) |
int | GetNumCams () |
float | GetShutter () |
int | GrabSingle (BIAS::Camera< unsigned char > *Image) |
Call GrabSingle() with a prepared array of images to be filled. More... | |
int | GrabSingle (BIAS::Camera< unsigned short > *image) |
int | InitCameras (const std::string filename) |
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... | |
int | OnePushAuto (dc1394feature_t feature) |
int | PostGrab () |
int | PreGrab () |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
int | ReleaseCameras () |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
int | ScanBus (std::ofstream &ofs) |
void | SetBytesPerPixel (unsigned char b) |
int | SetCamera (CameraParameterSet camparam) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugLevelDcam (int d) |
void | SetDebugStream (const std::ostream &os) |
int | SetFeature (dc1394feature_t feature, unsigned int value) |
void | SetFps (float fps) |
int | SetGain (float g) |
int | SetShutter (float exptime) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
VideoSource_MDcam () | |
~VideoSource_MDcam () | |
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 |
bool | ActiveTrigger_ |
unsigned char | BytesPerPixel_ |
VideoSource_DCAM ** | Camera_ |
int | DebuglevelDcam_ |
bool | ExternalTrigger_ |
float | Fps_ |
int | NumCams_ |
unsigned long | ParPort_ |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
VideoSource_MDcam simplifies acces to more then one DCam. It suports multiple IEEE1394-adapters, extern synchronization via parallel port and networked capture cluster.
Definition at line 57 of file VideoSource_MDcam.hh.
VideoSource_MDcam::VideoSource_MDcam | ( | ) |
Definition at line 37 of file VideoSource_MDcam.cpp.
VideoSource_MDcam::~VideoSource_MDcam | ( | ) |
Definition at line 49 of file VideoSource_MDcam.cpp.
void VideoSource_MDcam::ActivateScorpionTimestamp | ( | ) |
Activates the timestamp for PointGrey Scorpion SCOR-20SO
Definition at line 192 of file VideoSource_MDcam.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 |
int VideoSource_MDcam::AutoMode | ( | dc1394feature_t | feature, |
dc1394feature_mode_t | mode | ||
) |
Definition at line 320 of file VideoSource_MDcam.cpp.
|
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 |
int VideoSource_MDcam::EqualizeFeature | ( | int | master, |
dc1394feature_t | feature | ||
) |
Read.
feature | from |
master | and distributed it to all |
Definition at line 367 of file VideoSource_MDcam.cpp.
int VideoSource_MDcam::ExternalTrigger | ( | bool | on, |
bool | active | ||
) |
if on==true && active=true try to open parport at ParPort_,
if it fails, return -1 else set cameras to external trigger mode if on==false set cameras to internal trigger mode if active==true est cameras into external trigger mode but ignore parport
Definition at line 340 of file VideoSource_MDcam.cpp.
|
inline |
Definition at line 120 of file VideoSource_MDcam.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 97 of file VideoSource_MDcam.hh.
|
inlinestaticinherited |
|
inline |
Definition at line 121 of file VideoSource_MDcam.hh.
|
inline |
Definition at line 118 of file VideoSource_MDcam.hh.
|
inline |
Definition at line 94 of file VideoSource_MDcam.hh.
int VideoSource_MDcam::GrabSingle | ( | BIAS::Camera< unsigned char > * | Image | ) |
Call GrabSingle() with a prepared array of images to be filled.
The size of the array MUST be the number of cameras
Definition at line 225 of file VideoSource_MDcam.cpp.
int VideoSource_MDcam::GrabSingle | ( | BIAS::Camera< unsigned short > * | image | ) |
Definition at line 256 of file VideoSource_MDcam.cpp.
int VideoSource_MDcam::InitCameras | ( | const std::string | filename | ) |
Definition at line 112 of file VideoSource_MDcam.cpp.
|
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().
int VideoSource_MDcam::OnePushAuto | ( | dc1394feature_t | feature | ) |
Definition at line 330 of file VideoSource_MDcam.cpp.
int VideoSource_MDcam::PostGrab | ( | ) |
Definition at line 213 of file VideoSource_MDcam.cpp.
int VideoSource_MDcam::PreGrab | ( | ) |
Definition at line 199 of file VideoSource_MDcam.cpp.
|
inlineinherited |
int VideoSource_MDcam::ReleaseCameras | ( | ) |
Definition at line 175 of file VideoSource_MDcam.cpp.
|
inlineinherited |
|
inlineinherited |
int VideoSource_MDcam::ScanBus | ( | std::ofstream & | ofs | ) |
Definition at line 65 of file VideoSource_MDcam.cpp.
References BIAS::VideoSource_DCAM::CloseDevice(), BIAS::VideoSource::GetHeight(), BIAS::VideoSource::GetWidth(), BIAS::VideoSource_DCAM::OpenDevice(), BIAS::Debug::SetDebugLevel(), and BIAS::VideoSource::SetSize().
|
inline |
Definition at line 101 of file VideoSource_MDcam.hh.
int VideoSource_MDcam::SetCamera | ( | CameraParameterSet | camparam | ) |
Definition at line 379 of file VideoSource_MDcam.cpp.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), 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 |
void VideoSource_MDcam::SetDebugLevelDcam | ( | int | d | ) |
Definition at line 57 of file VideoSource_MDcam.cpp.
|
inlineinherited |
int VideoSource_MDcam::SetFeature | ( | dc1394feature_t | feature, |
unsigned int | value | ||
) |
Definition at line 288 of file VideoSource_MDcam.cpp.
|
inline |
Definition at line 100 of file VideoSource_MDcam.hh.
int VideoSource_MDcam::SetGain | ( | float | g | ) |
Definition at line 298 of file VideoSource_MDcam.cpp.
|
inlinestaticinherited |
int VideoSource_MDcam::SetShutter | ( | float | exptime | ) |
Definition at line 308 of file VideoSource_MDcam.cpp.
|
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 139 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 134 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 136 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 133 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 138 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 126 of file VideoSource_MDcam.hh.
|
staticprotectedinherited |
|
protected |
Definition at line 137 of file VideoSource_MDcam.hh.
|
protected |
Definition at line 142 of file VideoSource_MDcam.hh.