Basic Image AlgorithmS Library
2.8.0
|
Use Kinect with the libfreenect drivers just like the ToF Cameras. More...
#include <VideoSource/VideoSource_Kinect.hh>
Public Types | |
enum | CaptureMode { DepthRay =0, DepthEuclidean, DepthRaw } |
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. More... | |
virtual int | CreateDepthLookupTable (double px=328.82739, double py=252.6967098, double fx=585.9303337, double fy=585.5482334) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
virtual void | EnsureLatestFrame (const bool b) |
virtual int | GetAccelerometer (double &tilt, double &x, double &y, double &z) |
Get the values of tilt and accelerometer. More... | |
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 (BIAS::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, BIAS::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 int | GetNumDevices () |
Get the number of 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 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) |
depth according to formula by Stephane Magnenat, see http://openkinect.org/wiki/Imaging_Information, todo: needs validation! More... | |
virtual bool | HasControlBrightness () |
virtual bool | HasControlContrast () |
virtual bool | HasControlGain () |
virtual bool | HasControlShutter () |
virtual bool | HasControlWhiteBalance () |
virtual int | InitDepthImage (BIAS::ImageBase &Image) |
kinect depth image will be 640x480, float in Millimeters More... | |
virtual int | InitImage (BIAS::ImageBase &Image) |
kinect color image will be 640x480, RGB. 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 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 thread More... | |
virtual int | PreGrab () |
set appropriate operation mode for kinect and start grabbing thread (see callbacks in VideoSource_Kinect_Callback) 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) |
virtual int | SetDepthCaptureMode (CaptureMode mode) |
set the depth capture mode More... | |
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 | SetLed (int mode) |
Set the Led mode, e.g. 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 int | SetSwitchVideoModeAfterGrab () |
Set whether to switch between infrared and color after each grab. More... | |
virtual int | SetTilt (double degrees) |
Set the tilt angle of the Kinect Motor. More... | |
virtual int | SetVideoModeColor () |
Set the video mode to color. More... | |
virtual int | SetVideoModeIR () |
Set the video mode to infrared. 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... | |
virtual int | ToggleDepthStream () |
VideoSource_Kinect () | |
Contrructor. More... | |
virtual | ~VideoSource_Kinect () |
Destructor. More... | |
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 Kinect with the libfreenect drivers just like the ToF Cameras.
There is no parameters to control the camera yet. Functionally might be added later depending on evolution of libfreenect
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02b0", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ad", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ae", MODE="0666"
Definition at line 59 of file VideoSource_Kinect.hh.
|
inherited |
Enumerator | |
---|---|
DepthRay | |
DepthEuclidean | |
DepthRaw |
Definition at line 41 of file VideoSource_Kinect_Base.hh.
BIAS::VideoSource_Kinect::VideoSource_Kinect | ( | ) |
Contrructor.
Definition at line 42 of file VideoSource_Kinect.cpp.
|
virtual |
Destructor.
Definition at line 50 of file VideoSource_Kinect.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)
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 101 of file VideoSource_Kinect.cpp.
|
inlineprotectedinherited |
|
virtual |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 177 of file VideoSource_Kinect.cpp.
|
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.
|
virtual |
Get the values of tilt and accelerometer.
tilt[out],: | the tilt angle |
x[out],: | x acceleration |
y[out],: | y acceleration |
z[out],: | z acceleration |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 240 of file VideoSource_Kinect.cpp.
|
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 |
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.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 254 of file VideoSource_Kinect.cpp.
|
virtual |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 259 of file VideoSource_Kinect.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.
|
inlinevirtual |
Get the number of devices.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 123 of file VideoSource_Kinect.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 |
grab single color image
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 172 of file VideoSource_Kinect.cpp.
|
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 |
depth according to formula by Stephane Magnenat, see http://openkinect.org/wiki/Imaging_Information, todo: needs validation!
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 183 of file VideoSource_Kinect.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 depth image will be 640x480, float in Millimeters
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 160 of file VideoSource_Kinect.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), and BIAS::ImageBase::SetColorModel().
|
virtual |
kinect color image will be 640x480, RGB.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 148 of file VideoSource_Kinect.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), and BIAS::ImageBase::SetColorModel().
|
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 |
Opens first device found, OpenDevice(0)
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 63 of file VideoSource_Kinect.cpp.
|
virtual |
Opens device by id.
On first call inits the context and looks for available cameras (i.e. scan bus)
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 69 of file VideoSource_Kinect.cpp.
|
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 thread
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 135 of file VideoSource_Kinect.cpp.
|
virtual |
set appropriate operation mode for kinect and start grabbing thread (see callbacks in VideoSource_Kinect_Callback)
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 109 of file VideoSource_Kinect.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 |
|
virtual |
set the depth capture mode
mode[in],: | the capture mode |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 200 of file VideoSource_Kinect.cpp.
|
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 |
|
virtual |
Set the Led mode, e.g.
blinking
mode[in],: | the mode of the led, see freenect_led_options |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 229 of file VideoSource_Kinect.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().
|
virtual |
Set whether to switch between infrared and color after each grab.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 206 of file VideoSource_Kinect.cpp.
|
virtual |
Set the tilt angle of the Kinect Motor.
degree[in],: | the degrees to tilt |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 210 of file VideoSource_Kinect.cpp.
|
virtual |
Set the video mode to color.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 188 of file VideoSource_Kinect.cpp.
|
virtual |
Set the video mode to infrared.
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 194 of file VideoSource_Kinect.cpp.
|
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().
|
virtual |
Implements BIAS::VideoSource_Kinect_Base.
Definition at line 264 of file VideoSource_Kinect.cpp.
|
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().