Basic Image AlgorithmS Library
2.8.0
|
This class implements a video streaming client using TCP. More...
#include <VideoSource/VideoSource_Net.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
virtual int | AutoMode (int a, bool b) |
Use this to enable/disable any automatic modes addressed via enumerations. More... | |
int | CloseDevice () |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
virtual void | EnsureLatestFrame (const bool b) |
virtual int | GetAllDevices (std::vector< std::string > &devices) |
virtual bool | GetAutoBrightness () |
virtual bool | GetAutoContrast () |
virtual bool | GetAutoGain () |
virtual bool | GetAutoShutter () |
virtual float | GetBrightness () |
Get brightness as value in interval [0, 100]. */. More... | |
virtual void | GetBrightnessRange (double &min, double &max) |
float | GetBytesPerPixel () const |
virtual int | GetCapabilities (VideoSourceCapabilities &caps) |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g. More... | |
virtual int | GetCapabilities (const char *device, VideoSourceCapabilities &caps) |
int | GetColorChannels () const |
BIAS::ImageBase::EColorModel | GetColorModel () const |
virtual float | GetContrast () |
Get contrast as value in interval [0, 100]. */. More... | |
virtual void | GetContrastRange (double &min, double &max) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
virtual void | GetDeviceChannelNames (std::vector< std::string > &names) |
If more than one channel is present, names can be returned here. More... | |
virtual unsigned int | GetFeature (int feature) |
This function is used to query features like shutter, zoom, etc. More... | |
virtual float | GetGain () |
Get gain in dB. More... | |
virtual void | GetGainRange (double &min, double &max) |
int | GetHeight () const |
int | GetID () const |
std::string | GetIdentifier () const |
virtual float | GetShutter () |
Get shutter (exposure time) in seconds. More... | |
virtual void | GetShutterRange (double &min, double &max) |
virtual int | GetWhiteBalance (float &rvalue, float &bvalue) |
Get white balance as values in interval [0, 100]. */. More... | |
int | GetWidth () const |
virtual int | GrabSingle (BIAS::Camera< unsigned char > &image) |
virtual int | GrabSingle (BIAS::ImageBase &image) |
virtual int | GrabSingle (BIAS::Camera< float > &image) |
virtual int | GrabSingle (BIAS::Camera< char > &image) |
virtual int | GrabSingle (BIAS::Camera< short int > &image) |
virtual int | GrabSingle (BIAS::Camera< int > &image) |
virtual int | GrabSingle (BIAS::Camera< unsigned short int > &image) |
virtual int | GrabSingle (BIAS::Camera< unsigned int > &image) |
virtual int | GrabSingle (BIAS::Camera< double > &image) |
virtual bool | HasControlBrightness () |
virtual bool | HasControlContrast () |
virtual bool | HasControlGain () |
virtual bool | HasControlShutter () |
virtual bool | HasControlWhiteBalance () |
virtual int | InitImage (BIAS::ImageBase &Image) |
bool | IsActive () const |
bool | IsControllable () |
Specify if SetShutter(), SetGain() ... would work for this camera. More... | |
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... | |
virtual int | OnePushAuto (int feature) |
virtual int | OpenDevice (const char *serverName) |
use given port and ip address to connect to videoserver More... | |
virtual int | OpenDevice (const std::string &serverName, int port=D_CS_DEFAULT_PORT) |
use given port and ip address to connect to videoserver More... | |
virtual int | OpenDevice (int port=D_CS_DEFAULT_PORT) |
for UDP commm, listen on this port for data More... | |
virtual int | OpenDevice () |
selects the first available device to open (e.g. More... | |
virtual int | OpenDevice (std::string Prefix, std::string Postfix, int DigitCount, int PictureCount, int StartCount=0) |
used by derived class VideoSource_Disk More... | |
virtual int | OpenDevice (const std::vector< std::string > &FileNames) |
used by derived class VideoSource_Disk More... | |
int | PostGrab () |
Stop anything started in PreGrab() More... | |
int | PreGrab () |
Do last preparations before grabbing (e.g. start ISO transfer) More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
virtual void | ResetPanTiltZoom () |
Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration. More... | |
virtual void | SetAutoBrightness (bool b) |
virtual void | SetAutoContrast (bool b) |
virtual void | SetAutoGain (bool b) |
virtual void | SetAutoShutter (bool b) |
virtual int | SetBrightness (float g) |
Set brightness as value in interval [0, 100]. */. More... | |
void | SetBytesPerPixel (unsigned char bpp) |
virtual int | SetColorModel (BIAS::ImageBase::EColorModel mode) |
Select colormodel to use. More... | |
virtual int | SetContrast (float g) |
Set contrast as value in interval [0, 100]. */. More... | |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetDeviceChannel (int channel) |
Use channel to select one of many cameras on the same. More... | |
int | SetDirectToDisk (const std::string &filename) |
Enables the very fast direct-to-disk mode. More... | |
virtual void | SetExternalTrigger (bool trigger=true) |
Specify if there is an external trigger to be used. More... | |
virtual int | SetFeature (int feature, unsigned int value) |
This function is used to control features like shutter, zoom, etc. More... | |
void | SetFPS (float fps) |
Set frame per second for image capturing. More... | |
virtual int | SetGain (float g) |
Set gain in dB. More... | |
virtual int | SetShutter (float exptime) |
Set shutter (exposure time) in seconds. More... | |
virtual void | SetSize (int w, int h, int bytesperpixel=1) |
Set image size and number of bytes per pixel (e.g. More... | |
virtual void | SetWaitForNew (bool waitForNew) |
Specify if grab should wait for new frames. More... | |
virtual int | SetWhiteBalance (float rvalue, float bvalue) |
Set white balance as values in interval [0, 100]. */. More... | |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
virtual int | SoftwareWhiteBalance () |
Set white balance to optimal value in software. More... | |
VideoSource_Net (bool threaded=true) | |
Standard Constructor use threaded param for dis-/enabling threaded receiving! If threaded receiving is disabled, keepAll-param will be enabled for client_! (you'll get every image that was sent) More... | |
virtual | ~VideoSource_Net () |
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... | |
int | WriteDirect_ (const unsigned char *data, const BIAS::UUID &uuid, const long int &sec, const long int &usec) |
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 | Active_ |
Active flag is set in PreGrab() und unset in PostGrab() More... | |
bool | bExternalTrigger_ |
External trigger flag. More... | |
float | BytesPerPixel_ |
BytesPerPixel cannot be int (e.g. it is 1.5 for YUV420p) More... | |
CScommClient | client_ |
int | ColorChannels_ |
BIAS::ImageBase::EColorModel | ColorMode_ |
Color mode used by camera. More... | |
bool | CompleteInitialized_ |
Complete_initialized_ is set when OpenDevice(), UseChannel() etc. are done. More... | |
int | count_ |
JpegHandler | Decompressor_ |
const char * | DefaultDevice_ |
Device name. More... | |
int | DeviceChannel_ |
Device channel. More... | |
bool | DirectToDisk_ |
Write directly to disk. More... | |
char * | DtDBuffer_ |
512 byte aligned buffer, contains VSImageHeader and image data More... | |
unsigned int | DtDBufferSize_ |
Buffer size must be multiple of 512. More... | |
int | DtDFd_ |
File descriptor for direct-to-disk mode. More... | |
BIAS::VideoStream::VSImageHeader * | DtDImageHeader_ |
Pointer to the beginning of DtDBuffer_. More... | |
char * | DtDStartOfImage_ |
Pointer into DtDBuffer after VSImageHeader. More... | |
float | FramesPerSecond_ |
Capturing framerate. More... | |
bool | Grabbing_ |
Grabbing flag is set and unset in GrabSingle() methods. More... | |
int | Height_ |
int | ID_ |
Camera ID. More... | |
std::string | Identifier_ |
Verbose camera descriptor. More... | |
unsigned int | ImageSize_ |
Image size, useful for allocating and copying memory. More... | |
bool | IsControllable_ |
Must be initialized be the derived classes. More... | |
BIAS::Image< unsigned char > | jpegImg_ |
double | maxBrightness_ |
double | maxContrast_ |
double | maxGain_ |
double | maxShutter_ |
double | minBrightness_ |
double | minContrast_ |
Feature ranges. More... | |
double | minGain_ |
double | minShutter_ |
std::stringstream * | pImgBuffer_ |
int | port_ |
bool | UseTCP_ |
bool | WaitForNew_ |
Wait for new frames in GrabSingle() More... | |
int | Width_ |
Image format. More... | |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
This class implements a video streaming client using TCP.
Use VideoServer to feed this beast.
Definition at line 30 of file VideoSource_Net.hh.
VideoSource_Net::VideoSource_Net | ( | bool | threaded = true | ) |
Standard Constructor use threaded param for dis-/enabling threaded receiving! If threaded receiving is disabled, keepAll-param will be enabled for client_! (you'll get every image that was sent)
Definition at line 23 of file VideoSource_Net.cpp.
References client_, BIAS::ImageBase::CM_RGB, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, count_, Decompressor_, BIAS::JpegHandler::Init(), pImgBuffer_, BIAS::CScommBase::SetKeepAll(), and UseTCP_.
|
inlinevirtual |
Definition at line 41 of file VideoSource_Net.hh.
|
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 |
|
virtualinherited |
Use this to enable/disable any automatic modes addressed via enumerations.
Definition at line 283 of file VideoSource_Base.cpp.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 157 of file VideoSource_Net.cpp.
References Decompressor_, and BIAS::JpegHandler::Release().
|
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 |
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_SwissRanger, and BIAS::VideoSource_PMD.
Definition at line 283 of file VideoSource_Base.hh.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 197 of file VideoSource_Base.cpp.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 247 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 257 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 237 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 227 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Get brightness as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_uEye, and BIAS::VideoSource_V4L.
Definition at line 243 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Definition at line 248 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateController().
|
inlineinherited |
Definition at line 193 of file VideoSource_Base.hh.
|
virtualinherited |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g.
/dev/video0). Output is send to stdout.
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_V4L, and BIAS::VideoSource_Kinect2Net.
Definition at line 203 of file VideoSource_Base.cpp.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_V4L, and BIAS::VideoSource_Kinect2Net.
Definition at line 209 of file VideoSource_Base.cpp.
|
inlineinherited |
Definition at line 189 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitImage(), and BIAS::VideoSource_DSHOW::InitVideoCapture_().
|
inlineinherited |
Definition at line 191 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_uEye::OpenDevice(), and BIAS::VideoSource_DCAM::SetModeAndFramerate().
|
inlinevirtualinherited |
Get contrast as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 253 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Definition at line 258 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateController().
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
If more than one channel is present, names can be returned here.
The position in the vector corresponds to the channel number in SetChannel().
Reimplemented in BIAS::VideoSource_V4L.
Definition at line 170 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
virtualinherited |
This function is used to query features like shutter, zoom, etc.
Definition at line 290 of file VideoSource_Base.cpp.
|
virtualinherited |
Get gain in dB.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_uEye, and BIAS::VideoSource_DcamPMD.
Definition at line 315 of file VideoSource_Base.cpp.
|
inlinevirtualinherited |
Definition at line 238 of file VideoSource_Base.hh.
|
inlinestaticinherited |
|
inlineinherited |
Definition at line 187 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_DSHOW::InitVideoCapture_(), BIAS::VideoSource_uEye::PreGrab(), BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
inlineinherited |
Definition at line 206 of file VideoSource_Base.hh.
|
inlineinherited |
Definition at line 285 of file VideoSource_Base.hh.
|
virtualinherited |
Get shutter (exposure time) in seconds.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_DcamPMD, and BIAS::VideoSource_uEye.
Definition at line 321 of file VideoSource_Base.cpp.
|
inlinevirtualinherited |
Definition at line 228 of file VideoSource_Base.hh.
|
virtualinherited |
Get white balance as values in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_uEye.
Definition at line 335 of file VideoSource_Base.cpp.
|
inlineinherited |
Definition at line 185 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_DSHOW::InitVideoCapture_(), BIAS::VideoSource_uEye::PreGrab(), BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 77 of file VideoSource_Net.cpp.
References BIAS::ImageBase::GetStorageType(), BIAS::Camera< StorageType >::ParseMetaData(), and BIAS::ImageBase::ST_unsignedchar.
Referenced by OpenDevice().
|
virtual |
Definition at line 91 of file VideoSource_Net.cpp.
References client_, BIAS::ImageBase::CopyIn_NoInit(), count_, BIAS::JpegHandler::Decompress(), Decompressor_, BIAS::CScommBase::GetData(), BIAS::Image< StorageType >::GetImageData(), jpegImg_, pImgBuffer_, BIAS::ImageBase::SamePixelAndChannelCount(), BIAS::JpegHandler::SetCompressedData(), and UseTCP_.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.
Definition at line 229 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 252 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 260 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 268 of file VideoSource_Base.cpp.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.
Definition at line 236 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 244 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 276 of file VideoSource_Base.cpp.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_uEye, and BIAS::VideoSource_V4L.
Definition at line 241 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 251 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 231 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 221 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 262 of file VideoSource_Base.hh.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_PMD, BIAS::VideoSource_PMDZess, BIAS::VideoSource_Kinect, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_OpenNI, BIAS::VideoSource_DcamPMD, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_uEye, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Centaurus, BIAS::VideoSource_DCAM_BumbleBee, and BIAS::VideoSource_Stereo.
Definition at line 120 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, BIAS::ImageBase::GetStorageType(), BIAS::VideoSource::Height_, BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::ST_invalid, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_V4L::OpenDevice(), and BIAS::VideoSource::SoftwareWhiteBalance().
|
inlineinherited |
Definition at line 208 of file VideoSource_Base.hh.
|
inlineinherited |
Specify if SetShutter(), SetGain() ... would work for this camera.
Definition at line 211 of file VideoSource_Base.hh.
|
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().
|
virtualinherited |
Definition at line 326 of file VideoSource_Base.cpp.
|
virtual |
use given port and ip address to connect to videoserver
Reimplemented from BIAS::VideoSource.
Definition at line 44 of file VideoSource_Net.cpp.
References BIAS::VideoSource::OpenDevice().
Referenced by BIAS::ShowCamWxVideoSourceFactory::OpenDevice().
|
virtual |
use given port and ip address to connect to videoserver
Definition at line 49 of file VideoSource_Net.cpp.
References BIAS::VideoSource::BytesPerPixel_, client_, BIAS::VideoSource::ColorChannels_, BIAS::CScommClient::ConnectServer(), BIAS::CS_BINARY, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GrabSingle(), BIAS::VideoSource::Height_, BIAS::CScommBase::RegisterMsg(), BIAS::CScommBase::SetVerbose(), and BIAS::VideoSource::Width_.
|
virtual |
for UDP commm, listen on this port for data
Reimplemented from BIAS::VideoSource.
Definition at line 38 of file VideoSource_Net.cpp.
|
virtualinherited |
selects the first available device to open (e.g.
/dev/video0 for V4L, id 0 = first camera for DCAM/DV)
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_PMDZess, BIAS::VideoSource_Shm, BIAS::VideoSource_Kinect, BIAS::VideoSource_DiskPMD, BIAS::VideoSource_DcamPMD, BIAS::VideoSource_OpenNI, BIAS::VideoSource_PMD, BIAS::VideoSource_uEye, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_DiskZessPMD, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_DV, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Centaurus, BIAS::VideoSource_DV2, BIAS::VideoSource_Kinect2Net, and BIAS::VideoSource_Stereo.
Definition at line 167 of file VideoSource_Base.cpp.
Referenced by BIAS::VideoServer::InitFromExistingSource(), BIAS::ShowCamWxFrame::OnFindWebcams(), OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::VideoSource::SoftwareWhiteBalance().
|
virtualinherited |
used by derived class VideoSource_Disk
Reimplemented in BIAS::VideoSource_Disk.
Definition at line 185 of file VideoSource_Base.cpp.
|
virtualinherited |
used by derived class VideoSource_Disk
Reimplemented in BIAS::VideoSource_Disk, BIAS::VideoSource_DiskPMD, BIAS::VideoSource_DiskZessPMD, and BIAS::VideoSource_Disk_Bayer.
Definition at line 191 of file VideoSource_Base.cpp.
|
virtual |
Stop anything started in PreGrab()
Reimplemented from BIAS::VideoSource.
Definition at line 151 of file VideoSource_Net.cpp.
|
virtual |
Do last preparations before grabbing (e.g. start ISO transfer)
Reimplemented from BIAS::VideoSource.
Definition at line 70 of file VideoSource_Net.cpp.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 265 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 246 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 256 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 236 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 226 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Set brightness as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, and BIAS::VideoSource_uEye.
Definition at line 245 of file VideoSource_Base.hh.
|
inlineinherited |
Definition at line 183 of file VideoSource_Base.hh.
|
virtualinherited |
Select colormodel to use.
Not all sources support all colormodels.
Reimplemented in BIAS::VideoSource_FFmpeg.
Definition at line 100 of file VideoSource_Base.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV420P, BIAS::ImageBase::CM_YUYV, BIAS::ImageBase::CM_YUYV422, BIAS::VideoSource::ColorChannels_, and BIAS::VideoSource::ColorMode_.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DSHOW::OpenDevice(), BIAS::VideoSource_DCAM::SetModeAndFramerate(), BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
inlinevirtualinherited |
Set contrast as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 255 of file VideoSource_Base.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 |
|
inlineinherited |
Use channel to select one of many cameras on the same.
Definition at line 165 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
inherited |
Enables the very fast direct-to-disk mode.
Definition at line 394 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, BIAS::VideoSource::DirectToDisk_, BIAS::VideoSource::DtDBuffer_, BIAS::VideoSource::DtDBufferSize_, BIAS::VideoSource::DtDFd_, BIAS::VideoSource::DtDImageHeader_, BIAS::VideoSource::DtDStartOfImage_, BIAS::VideoSource::Height_, BIAS::VideoSource::ImageSize_, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::VideoSource::Width_.
|
inlinevirtualinherited |
Specify if there is an external trigger to be used.
[in] | trigger | Specifies if external trigger should be acticated |
Reimplemented in BIAS::VideoSource_DCAM, and BIAS::VideoSource_uEye.
Definition at line 180 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_uEye::SetExternalTrigger(), and BIAS::VideoSource_DCAM::SetExternalTrigger().
|
virtualinherited |
This function is used to control features like shutter, zoom, etc.
Definition at line 296 of file VideoSource_Base.cpp.
|
inlineinherited |
Set frame per second for image capturing.
Definition at line 175 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::SetModeAndFramerate().
|
virtualinherited |
Set gain in dB.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_uEye, and BIAS::VideoSource_DcamPMD.
Definition at line 309 of file VideoSource_Base.cpp.
Referenced by BIAS::VideoSource::SoftwareWhiteBalance().
|
inlinestaticinherited |
|
virtualinherited |
Set shutter (exposure time) in seconds.
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_uEye, and BIAS::VideoSource_DcamPMD.
Definition at line 303 of file VideoSource_Base.cpp.
|
virtualinherited |
Set image size and number of bytes per pixel (e.g.
1 = 8 bit gray image)
Reimplemented in BIAS::VideoSource_Shm, and BIAS::VideoSource_Stereo.
Definition at line 92 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::Height_, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::ShowCamWxFrame::OnFindWebcams(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DSHOW::OpenDevice(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::ScanBus(), BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
inlinevirtualinherited |
Specify if grab should wait for new frames.
If you want as many images as possible and don't care about equal ones, call this with waitForNew = false. By default, GrabSingle() blocks until a new frame arrives from the camera. Only used in V4L and DSHOW.
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 293 of file VideoSource_Base.hh.
|
virtualinherited |
Set white balance as values in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DCAM, and BIAS::VideoSource_uEye.
Definition at line 330 of file VideoSource_Base.cpp.
Referenced by BIAS::VideoSource::SoftwareWhiteBalance().
|
inlineinherited |
|
virtualinherited |
Set white balance to optimal value in software.
Definition at line 341 of file VideoSource_Base.cpp.
References BIAS::VideoSource::CompleteInitialized_, BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetMeanPixelValue(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::VideoSource::GrabSingle(), BIAS::VideoSource::InitImage(), BIAS::VideoSource::OpenDevice(), BIAS::ROI::SetCorners(), BIAS::VideoSource::SetGain(), BIAS::ImageBase::SetROI(), BIAS::VideoSource::SetWhiteBalance(), and BIAS::ImageConvert::ToRGB().
Referenced by BIAS::VideoSource_DCAM::OnePushAuto().
|
protectedinherited |
Definition at line 484 of file VideoSource_Base.cpp.
References BIAS::VideoSource::DtDBuffer_, BIAS::VideoSource::DtDBufferSize_, BIAS::VideoSource::DtDFd_, BIAS::VideoSource::DtDImageHeader_, BIAS::VideoSource::DtDStartOfImage_, BIAS::UUID::GetString(), BIAS::VideoSource::ImageSize_, BIAS::VideoStream::VSImageHeader::tsec, BIAS::VideoStream::VSImageHeader::tusec, and BIAS::VideoStream::VSImageHeader::uuid.
|
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=().
|
protectedinherited |
Active flag is set in PreGrab() und unset in PostGrab()
Definition at line 324 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_uEye::CloseDevice(), BIAS::VideoSource_V4L::CloseDevice(), BIAS::VideoSource_FFmpeg::CloseDevice(), BIAS::VideoSource_DCAM::CloseDevice(), BIAS::VideoSource_V4L::GrabContThread_(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_V4L::PostGrab(), BIAS::VideoSource::PostGrab(), BIAS::VideoSource_DCAM::PostGrab(), BIAS::VideoSource_V4L::PreGrab(), BIAS::VideoSource::PreGrab(), BIAS::VideoSource_DCAM::PreGrab(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource_DCAM::~VideoSource_DCAM().
|
protectedinherited |
External trigger flag.
Definition at line 330 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::InitCam(), BIAS::VideoSource_DCAM::SetExternalTrigger(), and BIAS::VideoSource::VideoSource().
|
protectedinherited |
BytesPerPixel cannot be int (e.g. it is 1.5 for YUV420p)
Definition at line 309 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_FFmpeg::Init_(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_DCAM::SetColorFromMode_(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), BIAS::VideoSource_DCAM::UserSizeToMode(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 67 of file VideoSource_Net.hh.
Referenced by GrabSingle(), OpenDevice(), and VideoSource_Net().
|
protectedinherited |
Definition at line 303 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::CalcBytesPerPacket(), BIAS::VideoSource_DCAM::GetModelForEuid(), BIAS::VideoSource_FFmpeg::Init_(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_Shm::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource_DCAM::SetColorFromMode_(), BIAS::VideoSource_FFmpeg::SetColorModel(), BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource_DCAM::UserSizeToFormat7_(), BIAS::VideoSource_DCAM::UserSizeToMode_16bit_(), BIAS::VideoSource_DCAM::UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), VideoSource_Net(), BIAS::VideoSource_Shm::VideoSource_Shm(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Color mode used by camera.
Definition at line 318 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_FFmpeg::Init_(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_DSHOW::InitVideoCapture_(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource_DCAM::SetColorFromMode_(), BIAS::VideoSource_Disk_Bayer::SetColorMode(), BIAS::VideoSource_FFmpeg::SetColorModel(), BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_DCAM::UserSizeToMode(), BIAS::VideoSource_DCAM::UserSizeToMode_16bit_(), BIAS::VideoSource_DCAM::UserSizeToMode_8bit_(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_Disk_Bayer::VideoSource_Disk_Bayer(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), VideoSource_Net(), BIAS::VideoSource_Shm::VideoSource_Shm(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Complete_initialized_ is set when OpenDevice(), UseChannel() etc. are done.
Definition at line 321 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DV2::CloseDevice(), BIAS::VideoSource_Disk::CloseDevice(), BIAS::VideoSource_V4L::CloseDevice(), BIAS::VideoSource_FFmpeg::CloseDevice(), BIAS::VideoSource_V4L::GetBrightness(), BIAS::VideoSource_V4L::GetContrast(), BIAS::VideoSource_V4L::GetGain(), BIAS::VideoSource_V4L::GetShutter(), BIAS::VideoSource_DCAM::InitCam(), BIAS::VideoSource_DV2::OpenDevice(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_V4L::OpenDevice(), BIAS::VideoSource::PreGrab(), BIAS::VideoSource_DCAM::PreGrab(), BIAS::VideoSource_V4L::SetBrightness(), BIAS::VideoSource_V4L::SetContrast(), BIAS::VideoSource_DCAM::SetExternalTrigger(), BIAS::VideoSource_V4L::SetGain(), BIAS::VideoSource_V4L::SetShutter(), BIAS::VideoSource::SoftwareWhiteBalance(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 63 of file VideoSource_Net.hh.
Referenced by GrabSingle(), and VideoSource_Net().
|
protected |
Definition at line 72 of file VideoSource_Net.hh.
Referenced by CloseDevice(), GrabSingle(), and VideoSource_Net().
|
protectedinherited |
Device name.
Definition at line 312 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GetCapabilities(), BIAS::VideoSource_DV2::OpenDevice(), BIAS::VideoSource_V4L::OpenDevice(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DV2::VideoSource_DV2(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Device channel.
Definition at line 315 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_FFmpeg::Init_(), BIAS::VideoSource_DV2::OpenDevice(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_V4L::OpenDevice(), BIAS::VideoSource_DV2::UseChannel(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DV2::VideoSource_DV2(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Write directly to disk.
Definition at line 339 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::VideoSource().
|
protectedinherited |
512 byte aligned buffer, contains VSImageHeader and image data
Definition at line 345 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
Buffer size must be multiple of 512.
Definition at line 348 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
File descriptor for direct-to-disk mode.
Definition at line 342 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource::VideoSource(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
Pointer to the beginning of DtDBuffer_.
Definition at line 354 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
Pointer into DtDBuffer after VSImageHeader.
Definition at line 357 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
Capturing framerate.
Definition at line 306 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::CalcBytesPerPacket(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_DCAM::InitCam(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_FFmpeg::SeekFrame(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_Disk::VideoSource_Disk().
|
staticprotectedinherited |
|
protectedinherited |
Grabbing flag is set and unset in GrabSingle() methods.
Definition at line 327 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_Disk::CloseDevice(), BIAS::VideoSource_V4L::CloseDevice(), BIAS::VideoSource_FFmpeg::CloseDevice(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), and BIAS::VideoSource::VideoSource().
|
protectedinherited |
Definition at line 302 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::CalcBytesPerPacket(), BIAS::VideoSource_DCAM::InitCam(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), OpenDevice(), BIAS::VideoSource_PMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_Shm::OpenDevice(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_DCAM::SetLeftTop(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), BIAS::VideoSource_DCAM::UserSizeToFormat7_(), BIAS::VideoSource_DCAM::UserSizeToMode(), BIAS::VideoSource_DCAM::UserSizeToMode_16bit_(), BIAS::VideoSource_DCAM::UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Camera ID.
Definition at line 333 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::ActivateExternalTrigger_(), BIAS::VideoSource_DCAM::GetBytesPerPacketForFormat7(), BIAS::VideoSource_DCAM::GetFeature(), BIAS::VideoSource_DCAM::OpenDevice(), and BIAS::VideoSource_DCAM::SetFeature().
|
protectedinherited |
Verbose camera descriptor.
Definition at line 369 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::FindCaptureDevice_(), BIAS::VideoSource_V4L::FixIdentifierString_(), BIAS::VideoSource_V4L::GetAllDevices(), BIAS::VideoSource_Disk::OpenDevice(), and BIAS::VideoSource::VideoSource().
|
protectedinherited |
Image size, useful for allocating and copying memory.
Definition at line 351 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource::SetDirectToDisk(), and BIAS::VideoSource::WriteDirect_().
|
protectedinherited |
Must be initialized be the derived classes.
Definition at line 360 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_uEye::VideoSource_uEye(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protected |
Definition at line 71 of file VideoSource_Net.hh.
Referenced by GrabSingle().
|
protectedinherited |
Definition at line 366 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Definition at line 363 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 364 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 365 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 366 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Feature ranges.
Definition at line 363 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 364 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 365 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 62 of file VideoSource_Net.hh.
Referenced by GrabSingle(), and VideoSource_Net().
|
protected |
Definition at line 66 of file VideoSource_Net.hh.
|
protected |
Definition at line 64 of file VideoSource_Net.hh.
Referenced by GrabSingle(), and VideoSource_Net().
|
protectedinherited |
Wait for new frames in GrabSingle()
Definition at line 336 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_DSHOW::InitVideoCapture_(), and BIAS::VideoSource::VideoSource().
|
protectedinherited |
Image format.
Definition at line 301 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::CalcBytesPerPacket(), BIAS::VideoSource_DCAM::InitCam(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), OpenDevice(), BIAS::VideoSource_PMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::VideoSource_Shm::OpenDevice(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_DCAM::SetLeftTop(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), BIAS::VideoSource_DCAM::UserSizeToFormat7_(), BIAS::VideoSource_DCAM::UserSizeToMode(), BIAS::VideoSource_DCAM::UserSizeToMode_16bit_(), BIAS::VideoSource_DCAM::UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_V4L::VideoSource_V4L().