Basic Image AlgorithmS Library
2.8.0
|
Use the Kinect2 class to grab images from the Microsoft Kinect2. More...
#include <VideoSource/VideoSource_Kinect2.hh>
Public Types | |
enum | Kinect2Mode { all = 0, depthAndIr, color } |
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... | |
virtual int | CloseDevice () |
Close device, if no other kinect cameras are in use, context is deleted (i.e. close usb bus connection) More... | |
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) |
No standard capabilities here. More... | |
virtual int | GetCapabilities (const char *device, VideoSourceCapabilities &caps) |
No standard capabilities here. More... | |
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 int | GetNumDevices () |
Return the number of available Kinect 2 devices. More... | |
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) |
grab single color image. Note: This image has already been jpeg compressed More... | |
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 int | GrabSingleDepth (BIAS::Camera< float > &image) |
grab the depth image (slow). More... | |
virtual int | GrabSingleIR (BIAS::Camera< float > &image) |
grab the raw ir data dump (very fast). More... | |
virtual int | GrabSingleIRFull (BIAS::Camera< float > &image) |
grab all raw ir images (fast) as a 9 channel float image. More... | |
virtual bool | HasControlBrightness () |
virtual bool | HasControlContrast () |
virtual bool | HasControlGain () |
virtual bool | HasControlShutter () |
virtual bool | HasControlWhiteBalance () |
virtual int | InitDepthImage (BIAS::ImageBase &Image) |
kinect 2 depth image will be 512x424, float in Millimeters More... | |
virtual int | InitImage (BIAS::ImageBase &Image) |
kinect 2 color image will be 1920x1080, RGB. More... | |
virtual int | InitIrFullImage (ImageBase &Image) |
all kinect 2 ir phase images in 512x242, nine channel float More... | |
virtual int | InitIrImage (BIAS::ImageBase &Image) |
kinect 2 ir image will be 512x424, single channel unsigned char More... | |
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 bool | onNewFrame (libfreenect2::Frame::Type type, libfreenect2::Frame *frame) |
virtual int | OpenDevice () |
Opens first device found, OpenDevice(0) More... | |
virtual int | OpenDevice (int device) |
Opens device by id. More... | |
virtual int | OpenDevice (const char *device) |
a device name like "/dev/video1" can be specified here 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... | |
virtual int | PostGrab () |
Stop grabbing. More... | |
virtual int | PreGrab () |
Start grabbing. 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... | |
void | SetMode (Kinect2Mode mode) |
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_Kinect2 () | |
virtual | ~VideoSource_Kinect2 () |
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... | |
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... | |
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... | |
double | maxBrightness_ |
double | maxContrast_ |
double | maxGain_ |
double | maxShutter_ |
double | minBrightness_ |
double | minContrast_ |
Feature ranges. More... | |
double | minGain_ |
double | minShutter_ |
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 |
Use the Kinect2 class to grab images from the Microsoft Kinect2.
The VideoSource_Kinect2 allows you to grab the HD color camera image with GrabSingle(), the depth image with GrabSingleDepth(), and the IR image with GrabSingleIR(). Before calling OpenDevice(), set a desired mode with SetMode() to control which images you want to grab. You have to grab all images in the mode you have selected initially.
Definition at line 22 of file VideoSource_Kinect2.hh.
Enumerator | |
---|---|
all |
get color, ir and depth images (default) |
depthAndIr |
get depth and ir only |
color |
get color only |
Definition at line 27 of file VideoSource_Kinect2.hh.
VideoSource_Kinect2::VideoSource_Kinect2 | ( | ) |
Definition at line 582 of file VideoSource_Kinect2.cpp.
|
virtual |
Definition at line 589 of file VideoSource_Kinect2.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 |
|
virtualinherited |
Use this to enable/disable any automatic modes addressed via enumerations.
Definition at line 283 of file VideoSource_Base.cpp.
|
virtual |
Close device, if no other kinect cameras are in use, context is deleted (i.e. close usb bus connection)
Reimplemented from BIAS::VideoSource.
Definition at line 656 of file VideoSource_Kinect2.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 |
|
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.
|
virtual |
No standard capabilities here.
Reimplemented from BIAS::VideoSource.
Definition at line 746 of file VideoSource_Kinect2.cpp.
|
virtual |
No standard capabilities here.
Reimplemented from BIAS::VideoSource.
Definition at line 751 of file VideoSource_Kinect2.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.
|
virtual |
Return the number of available Kinect 2 devices.
Definition at line 738 of file VideoSource_Kinect2.cpp.
Referenced by BIAS::ShowCamWxFrame::OnFindKinect2(), and OpenDevice().
|
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 |
grab single color image. Note: This image has already been jpeg compressed
Reimplemented from BIAS::VideoSource.
Definition at line 706 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::CopyIn_NoInit().
Referenced by BIAS::GrabSingleThread::Entry().
|
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.
|
virtual |
grab the depth image (slow).
Use this function only if no high framerates are required, since the conversion from ir to depth image is done on the cpu and requires a lot computation.
Definition at line 729 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::CopyIn_NoInit().
Referenced by BIAS::GrabSingleThread::Entry().
|
virtual |
grab the raw ir data dump (very fast).
grab the raw ir data dump (very fast). It contains a 11 bit information for each of the 512*424 pixels + 1 bit magic, so the complete data dump has the size of 512*424*11/8 = 298496 bytes. This function expects this memory already allocated. grab the ir sum image computed from the phase images.
Definition at line 715 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::CopyIn_NoInit().
Referenced by BIAS::GrabSingleThread::Entry().
|
virtual |
grab all raw ir images (fast) as a 9 channel float image.
The image contains 3 phase images for each of the 3 frequencies.
Definition at line 724 of file VideoSource_Kinect2.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.
|
virtual |
kinect 2 depth image will be 512x424, float in Millimeters
Definition at line 690 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::Init(), and BIAS::ImageBase::ST_float.
|
virtual |
kinect 2 color image will be 1920x1080, RGB.
Reimplemented from BIAS::VideoSource.
Definition at line 685 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::Init(), and BIAS::ImageBase::ST_unsignedchar.
|
virtual |
all kinect 2 ir phase images in 512x242, nine channel float
Definition at line 700 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::Init(), and BIAS::ImageBase::ST_float.
|
virtual |
kinect 2 ir image will be 512x424, single channel unsigned char
Definition at line 695 of file VideoSource_Kinect2.cpp.
References BIAS::ImageBase::Init(), and BIAS::ImageBase::ST_float.
|
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 |
Definition at line 599 of file VideoSource_Kinect2.cpp.
|
virtual |
Opens first device found, OpenDevice(0)
Reimplemented from BIAS::VideoSource.
Definition at line 636 of file VideoSource_Kinect2.cpp.
|
virtual |
Opens device by id.
Use GetNumDevices() to determine the number of available Kinect2s
Reimplemented from BIAS::VideoSource.
Definition at line 642 of file VideoSource_Kinect2.cpp.
References GetNumDevices().
|
virtualinherited |
a device name like "/dev/video1" can be specified here
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_FFmpeg, BIAS::VideoSource_Shm, BIAS::VideoSource_uEye, BIAS::VideoSource_DV, BIAS::VideoSource_Net, and BIAS::VideoSource_Stereo.
Definition at line 179 of file VideoSource_Base.cpp.
|
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 grabbing.
Reimplemented from BIAS::VideoSource.
Definition at line 679 of file VideoSource_Kinect2.cpp.
|
virtual |
Start grabbing.
Reimplemented from BIAS::VideoSource.
Definition at line 668 of file VideoSource_Kinect2.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 |
void VideoSource_Kinect2::SetMode | ( | Kinect2Mode | mode | ) |
Definition at line 595 of file VideoSource_Kinect2.cpp.
|
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(), BIAS::VideoSource_Net::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().
|
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(), BIAS::VideoSource_Net::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_(), BIAS::VideoSource_Net::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_(), BIAS::VideoSource_Net::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().
|
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(), BIAS::VideoSource_Net::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().
|
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().
|
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(), BIAS::VideoSource_Net::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().