Basic Image AlgorithmS Library
2.8.0
|
Support for CamCube usb cam. More...
#include <VideoSource/VideoSource_PMD.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
virtual int | AutoMode (int a, bool b) |
Use this to enable/disable any automatic modes addressed via enumerations. More... | |
int | CalcAmplitudesFromSourceData (BIAS::Image< char > &sourceData, BIAS::Image< float > &Image) |
int | CalcAmplitudesFromSourceData (char *sourceData, PMDDataDescription dd, BIAS::Image< float > &Image) |
int | CalcDistancesFromSourceData (BIAS::Image< char > &sourceData, BIAS::Image< float > &depthImage) |
int | CalcDistancesFromSourceData (char *sourceData, PMDDataDescription dd, BIAS::Image< float > &depthImage) |
int | CalcIntensitiesFromSourceData (BIAS::Image< char > &sourceData, BIAS::Image< float > &intImage) |
int | CalcIntensitiesFromSourceData (char *sourceData, PMDDataDescription dd, BIAS::Image< float > &intImage) |
virtual int | CloseDevice () |
int | CloseProcessingPlugin () |
Close the processing plugin. More... | |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
void | EnsureLatestFrame (const bool ensure) |
virtual int | GetAllDevices (std::vector< std::string > &devices) |
virtual bool | GetAutoBrightness () |
virtual bool | GetAutoContrast () |
virtual bool | GetAutoGain () |
virtual bool | GetAutoShutter () |
virtual float | GetBrightness () |
Get brightness as value in interval [0, 100]. */. More... | |
virtual void | GetBrightnessRange (double &min, double &max) |
float | GetBytesPerPixel () const |
virtual int | GetCapabilities (VideoSourceCapabilities &caps) |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g. More... | |
virtual int | GetCapabilities (const char *device, VideoSourceCapabilities &caps) |
int | GetColorChannels () const |
BIAS::ImageBase::EColorModel | GetColorModel () const |
virtual float | GetContrast () |
Get contrast as value in interval [0, 100]. */. More... | |
virtual void | GetContrastRange (double &min, double &max) |
PMDDataDescription & | GetDataDescription () |
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... | |
int | GetDistanceOffset (unsigned int &millimeters) |
EXPOSURE_MODE | GetExposureMode () |
virtual unsigned int | GetFeature (int feature) |
This function is used to query features like shutter, zoom, etc. More... | |
double | GetFPS () |
Returns current framerate. 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 | GetIntegrationTime (unsigned int &val) |
Get the IntegrationTime. More... | |
virtual int | GetIntegrationTimeMS (unsigned int &val) |
Get the IntegrationTime in milliseconds. More... | |
int | GetModulationFrequency (unsigned int &val) |
int | GetSerialNumber (std::string &serial) |
virtual float | GetShutter () |
Get shutter (exposure time) in seconds. More... | |
virtual void | GetShutterRange (double &min, double &max) |
int | GetSourceDataSize () |
virtual int | GetWhiteBalance (float &rvalue, float &bvalue) |
Get white balance as values in interval [0, 100]. */. More... | |
int | GetWidth () const |
void | GrabImageReturnsDepth (bool on) |
virtual int | GrabSingle (Camera< unsigned char > &image) |
Returns the 2D image, and reads depth and modulation coefficients. 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) |
int | GrabSingleDepth (Camera< float > &image) |
Returns the depth image. More... | |
int | GrabSingleIntensity (Camera< float > &image) |
Returns the amplitude image. More... | |
int | GrabSingleModCoeff (Camera< float > &image) |
Returns the amplitude image. More... | |
int | GrabSourceData (char *sourceData, unsigned int size) |
int | GrabSourceData (BIAS::Image< char > &sourceData) |
virtual bool | HasControlBrightness () |
virtual bool | HasControlContrast () |
virtual bool | HasControlGain () |
virtual bool | HasControlShutter () |
virtual bool | HasControlWhiteBalance () |
virtual int | InitDepthImage (ImageBase &img) |
virtual int | InitImage (ImageBase &img) |
virtual int | InitIntensityImage (ImageBase &img) |
virtual int | InitModCoeffImage (ImageBase &img) |
bool | IsActive () const |
bool | IsControllable () |
Specify if SetShutter(), SetGain() ... would work for this camera. More... | |
bool | IsProcessingPluginOpen () |
bool | IsSourcePluginOpen () |
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 () |
selects the first available device to open (e.g. More... | |
virtual int | OpenDevice (int camNr) |
a device number can be specified here (DCAM) or port number (Net) More... | |
virtual int | OpenDevice (std::string serialNumber) |
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... | |
int | OpenProcessingPlugin (std::string plugin=BIAS_PMD_PMDTec_PROCPLUGIN) |
Open the processing plugin. More... | |
int | OpenSourcePlugin (std::string serial, std::string plugin=BIAS_PMD_PMDTec_SOURCEPLUGIN) |
Open the source plugin. More... | |
virtual int | PostGrab () |
Stop anything started in PreGrab() More... | |
virtual int | PreGrab () |
Do last preparations before grabbing (e.g. start ISO transfer) More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
virtual void | ResetPanTiltZoom () |
Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration. More... | |
virtual void | SetAutoBrightness (bool b) |
virtual void | SetAutoContrast (bool b) |
virtual void | SetAutoGain (bool b) |
virtual void | SetAutoShutter (bool b) |
virtual int | SetBrightness (float g) |
Set brightness as value in interval [0, 100]. */. More... | |
void | SetBytesPerPixel (unsigned char bpp) |
virtual int | SetColorModel (BIAS::ImageBase::EColorModel mode) |
Select colormodel to use. More... | |
virtual int | SetContrast (float g) |
Set contrast as value in interval [0, 100]. */. More... | |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetDeviceChannel (int channel) |
Use channel to select one of many cameras on the same. More... | |
int | SetDirectToDisk (const std::string &filename) |
Enables the very fast direct-to-disk mode. More... | |
int | SetDistanceOffset (const unsigned int in_millimeters) |
int | SetExposureMode (EXPOSURE_MODE mode) |
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... | |
int | SetFOV (const float fov) |
int | SetFPNCalibrationOn (bool on) |
void | SetFPS (float fps) |
Set frame per second for image capturing. More... | |
virtual int | SetGain (float g) |
Set gain in dB. More... | |
void | SetGenerateNewUIDs (bool s) |
virtual int | SetIntegrationTime (const unsigned int inttime) |
Set IntegrationTime. More... | |
virtual int | SetIntegrationTimeMS (const unsigned int inttime) |
Set IntegrationTime. More... | |
int | SetModulationFrequency (const unsigned int dModulationFrequency) |
void | SetProcessingPlugin (std::string plugin) |
only set the plugin to be opened at OpenDevice More... | |
int | SetROI (const unsigned int UpperLeftX, const unsigned int UpperLeftY, const unsigned int Width, const unsigned int Height) |
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... | |
void | SetSourcePlugin (std::string plugin) |
only set the plugin to be opened at OpenDevice 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_PMD () | |
virtual | ~VideoSource_PMD () |
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... | |
void | FlopImage_ (float *src, float *dst) |
void | InitAllImages_ () |
int | InitImage_ (ImageBase &img, ImageBase::EStorageType st, ImageBase::EColorModel cm) |
void | SetMaxDist_ () |
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 | bEnsureLatestFrame_ |
bool | bExternalTrigger_ |
External trigger flag. More... | |
bool | bGrabImageReturnsDepth_ |
bool | bIsOpen_ |
size_t | bufSz_ |
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... | |
PMDDataDescription | datadesc_ |
const char * | DefaultDevice_ |
Device name. More... | |
BIAS::Camera< unsigned char > | DepthImg_ |
BIAS::Camera< float > | DepthImgF_ |
int | DeviceChannel_ |
Device channel. More... | |
bool | DirectToDisk_ |
Write directly to disk. More... | |
unsigned int | distanceOffset_ |
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... | |
EXPOSURE_MODE | expMode_ |
float | FramesPerSecond_ |
Capturing framerate. More... | |
bool | Grabbing_ |
Grabbing flag is set and unset in GrabSingle() methods. More... | |
PMDHandle | handle_ |
int | Height_ |
int | ID_ |
Camera ID. More... | |
unsigned char * | idaDI_ |
float * | idaDIF_ |
unsigned char * | idaII_ |
float * | idaIIF_ |
float * | idaMCIF_ |
float * | idaTmp_ |
std::string | Identifier_ |
Verbose camera descriptor. More... | |
unsigned int | ImageSize_ |
Image size, useful for allocating and copying memory. More... | |
unsigned int | integrationTime_ |
BIAS::Camera< unsigned char > | IntensityImg_ |
BIAS::Camera< float > | IntensityImgF_ |
bool | IsControllable_ |
Must be initialized be the derived classes. More... | |
float | max_dist_ |
double | maxBrightness_ |
double | maxContrast_ |
double | maxGain_ |
double | maxShutter_ |
double | minBrightness_ |
double | minContrast_ |
Feature ranges. More... | |
double | minGain_ |
double | minShutter_ |
BIAS::Camera< float > | ModCoeffImgF_ |
unsigned int | modulationFrequency_ |
bool | procPluginIsOpen_ |
std::string | procPluginPath_ |
std::string | serialNumber_ |
bool | sourcePluginIsOpen_ |
std::string | sourcePluginPath_ |
BIAS::Camera< float > | tmpImg_ |
BIAS::Camera< float > | tmpScale_ |
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 |
Support for CamCube usb cam.
Definition at line 49 of file VideoSource_PMD.hh.
VideoSource_PMD::VideoSource_PMD | ( | ) |
Definition at line 40 of file VideoSource_PMD.cpp.
References bEnsureLatestFrame_, bGrabImageReturnsDepth_, bIsOpen_, BIAS::ImageBase::CM_Grey, distanceOffset_, expMode_, BIAS::VideoSource::Height_, integrationTime_, modulationFrequency_, BIAS::NORMAL, procPluginIsOpen_, procPluginPath_, serialNumber_, BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetSize(), sourcePluginIsOpen_, sourcePluginPath_, and BIAS::VideoSource::Width_.
|
virtual |
Definition at line 62 of file VideoSource_PMD.cpp.
References bIsOpen_, CloseDevice(), procPluginIsOpen_, and sourcePluginIsOpen_.
|
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.
int VideoSource_PMD::CalcAmplitudesFromSourceData | ( | BIAS::Image< char > & | sourceData, |
BIAS::Image< float > & | ampImage | ||
) |
Definition at line 211 of file VideoSource_PMD.cpp.
References BIAS::AppData::data, BIAS::MetaData::Find(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetMetaData(), BIAS::AppData::length, BIAS::AppData::MD_PMD_DataDesc, and procPluginIsOpen_.
int VideoSource_PMD::CalcAmplitudesFromSourceData | ( | char * | sourceData, |
PMDDataDescription | dd, | ||
BIAS::Image< float > & | ampImage | ||
) |
Definition at line 265 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), handle_, BIAS::Image< StorageType >::Init(), procPluginIsOpen_, and BIAS::Image< StorageType >::Release().
int VideoSource_PMD::CalcDistancesFromSourceData | ( | BIAS::Image< char > & | sourceData, |
BIAS::Image< float > & | depthImage | ||
) |
Definition at line 157 of file VideoSource_PMD.cpp.
References BIAS::AppData::data, BIAS::MetaData::Find(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetMetaData(), BIAS::AppData::length, BIAS::AppData::MD_PMD_DataDesc, and procPluginIsOpen_.
int VideoSource_PMD::CalcDistancesFromSourceData | ( | char * | sourceData, |
PMDDataDescription | dd, | ||
BIAS::Image< float > & | depthImage | ||
) |
Definition at line 239 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), handle_, BIAS::Image< StorageType >::Init(), procPluginIsOpen_, and BIAS::Image< StorageType >::Release().
int VideoSource_PMD::CalcIntensitiesFromSourceData | ( | BIAS::Image< char > & | sourceData, |
BIAS::Image< float > & | intImage | ||
) |
Definition at line 184 of file VideoSource_PMD.cpp.
References BIAS::AppData::data, BIAS::MetaData::Find(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetMetaData(), BIAS::AppData::length, BIAS::AppData::MD_PMD_DataDesc, and procPluginIsOpen_.
int VideoSource_PMD::CalcIntensitiesFromSourceData | ( | char * | sourceData, |
PMDDataDescription | dd, | ||
BIAS::Image< float > & | intImage | ||
) |
Definition at line 291 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), handle_, BIAS::Image< StorageType >::Init(), procPluginIsOpen_, and BIAS::Image< StorageType >::Release().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 406 of file VideoSource_PMD.cpp.
Referenced by ~VideoSource_PMD().
int VideoSource_PMD::CloseProcessingPlugin | ( | ) |
Close the processing plugin.
Definition at line 138 of file VideoSource_PMD.cpp.
References handle_, and procPluginIsOpen_.
|
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 |
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 799 of file VideoSource_PMD.cpp.
References bEnsureLatestFrame_.
|
protected |
Definition at line 645 of file VideoSource_PMD.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.
|
virtualinherited |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g.
/dev/video0). Output is send to stdout.
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_V4L, and BIAS::VideoSource_Kinect2Net.
Definition at line 203 of file VideoSource_Base.cpp.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_V4L, and BIAS::VideoSource_Kinect2Net.
Definition at line 209 of file VideoSource_Base.cpp.
|
inlineinherited |
Definition at line 189 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitImage(), and BIAS::VideoSource_DSHOW::InitVideoCapture_().
|
inlineinherited |
Definition at line 191 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_uEye::OpenDevice(), and BIAS::VideoSource_DCAM::SetModeAndFramerate().
|
inlinevirtualinherited |
Get contrast as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 253 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Definition at line 258 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateController().
PMDDataDescription & VideoSource_PMD::GetDataDescription | ( | ) |
Definition at line 689 of file VideoSource_PMD.cpp.
References datadesc_.
|
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().
int VideoSource_PMD::GetDistanceOffset | ( | unsigned int & | millimeters | ) |
Definition at line 745 of file VideoSource_PMD.cpp.
References distanceOffset_.
EXPOSURE_MODE VideoSource_PMD::GetExposureMode | ( | ) |
Definition at line 730 of file VideoSource_PMD.cpp.
References expMode_.
|
virtualinherited |
This function is used to query features like shutter, zoom, etc.
Definition at line 290 of file VideoSource_Base.cpp.
|
inline |
Returns current framerate.
Definition at line 86 of file VideoSource_PMD.hh.
|
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 |
Get the IntegrationTime.
val[out],: | integration time in microseconds |
Definition at line 662 of file VideoSource_PMD.cpp.
References bIsOpen_, handle_, and integrationTime_.
Referenced by GetIntegrationTimeMS(), and OpenDevice().
|
virtual |
Get the IntegrationTime in milliseconds.
val[out],: | integration time in milliseconds |
Definition at line 680 of file VideoSource_PMD.cpp.
References GetIntegrationTime().
Referenced by OpenDevice().
int VideoSource_PMD::GetModulationFrequency | ( | unsigned int & | val | ) |
Definition at line 737 of file VideoSource_PMD.cpp.
References modulationFrequency_.
Referenced by OpenDevice().
int BIAS::VideoSource_PMD::GetSerialNumber | ( | std::string & | serial | ) |
Definition at line 581 of file VideoSource_PMD.cpp.
|
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.
int VideoSource_PMD::GetSourceDataSize | ( | ) |
Definition at line 823 of file VideoSource_PMD.cpp.
References bIsOpen_, datadesc_, and sourcePluginIsOpen_.
|
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().
|
inline |
Definition at line 109 of file VideoSource_PMD.hh.
|
virtual |
Returns the 2D image, and reads depth and modulation coefficients.
Reimplemented from BIAS::VideoSource.
Definition at line 472 of file VideoSource_PMD.cpp.
References BIAS::ImageConvert::ConvertST(), and BIAS::ImageBase::ST_unsignedchar.
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.
int VideoSource_PMD::GrabSingleDepth | ( | Camera< float > & | image | ) |
Returns the depth image.
Must be called after GrabSingle()
Definition at line 753 of file VideoSource_PMD.cpp.
References DepthImgF_, and BIAS::ImageBase::IsEmpty().
Referenced by BIAS::GrabSingleThread::Entry().
int VideoSource_PMD::GrabSingleIntensity | ( | Camera< float > & | image | ) |
Returns the amplitude image.
Must be called after GrabSingle()
Definition at line 777 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::GetStorageType(), IntensityImgF_, and BIAS::ImageBase::IsEmpty().
Referenced by BIAS::GrabSingleThread::Entry().
int VideoSource_PMD::GrabSingleModCoeff | ( | Camera< float > & | image | ) |
Returns the amplitude image.
Must be called after GrabSingle()
Definition at line 765 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::IsEmpty(), and ModCoeffImgF_.
Referenced by BIAS::GrabSingleThread::Entry().
int BIAS::VideoSource_PMD::GrabSourceData | ( | char * | sourceData, |
unsigned int | size | ||
) |
Definition at line 445 of file VideoSource_PMD.cpp.
Referenced by GrabSourceData().
int VideoSource_PMD::GrabSourceData | ( | BIAS::Image< char > & | sourceData | ) |
Definition at line 116 of file VideoSource_PMD.cpp.
References BIAS::MetaData::Add(), bIsOpen_, datadesc_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), GrabSourceData(), BIAS::Image< StorageType >::Init(), BIAS::AppData::MD_PMD_DataDesc, BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetMetaData(), and sourcePluginIsOpen_.
|
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.
|
protected |
Definition at line 624 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::CM_Depth, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::ST_float, and BIAS::ImageBase::ST_unsignedchar.
Referenced by OpenDevice().
|
inlinevirtual |
Definition at line 96 of file VideoSource_PMD.hh.
References BIAS::ImageBase::CM_Depth, and BIAS::ImageBase::ST_float.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 92 of file VideoSource_PMD.hh.
References BIAS::ImageBase::CM_Grey, and BIAS::ImageBase::ST_unsignedchar.
|
protected |
Definition at line 435 of file VideoSource_PMD.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), and BIAS::ImageBase::SetColorModel().
|
inlinevirtual |
Definition at line 100 of file VideoSource_PMD.hh.
References BIAS::ImageBase::CM_Grey, and BIAS::ImageBase::ST_float.
|
inlinevirtual |
Definition at line 104 of file VideoSource_PMD.hh.
References BIAS::ImageBase::CM_Grey, 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.
bool VideoSource_PMD::IsProcessingPluginOpen | ( | ) |
Definition at line 153 of file VideoSource_PMD.cpp.
References procPluginIsOpen_.
bool VideoSource_PMD::IsSourcePluginOpen | ( | ) |
Definition at line 150 of file VideoSource_PMD.cpp.
References sourcePluginIsOpen_.
|
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 |
selects the first available device to open (e.g.
/dev/video0 for V4L, id 0 = first camera for DCAM/DV)
Reimplemented from BIAS::VideoSource.
Definition at line 317 of file VideoSource_PMD.cpp.
References bIsOpen_, datadesc_, GetIntegrationTime(), GetIntegrationTimeMS(), GetModulationFrequency(), handle_, BIAS::VideoSource::Height_, InitAllImages_(), integrationTime_, max_dist_, modulationFrequency_, procPluginPath_, serialNumber_, SetIntegrationTimeMS(), SetMaxDist_(), SetModulationFrequency(), sourcePluginPath_, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::OpenDevice().
|
virtual |
a device number can be specified here (DCAM) or port number (Net)
Reimplemented from BIAS::VideoSource.
Definition at line 392 of file VideoSource_PMD.cpp.
|
virtual |
Definition at line 399 of file VideoSource_PMD.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.
int VideoSource_PMD::OpenProcessingPlugin | ( | std::string | plugin = BIAS_PMD_PMDTec_PROCPLUGIN | ) |
Open the processing plugin.
Definition at line 67 of file VideoSource_PMD.cpp.
References handle_, and procPluginIsOpen_.
int VideoSource_PMD::OpenSourcePlugin | ( | std::string | serial, |
std::string | plugin = BIAS_PMD_PMDTec_SOURCEPLUGIN |
||
) |
Open the source plugin.
Definition at line 90 of file VideoSource_PMD.cpp.
References datadesc_, handle_, serialNumber_, and sourcePluginIsOpen_.
|
virtual |
Stop anything started in PreGrab()
Reimplemented from BIAS::VideoSource.
Definition at line 431 of file VideoSource_PMD.cpp.
|
virtual |
Do last preparations before grabbing (e.g. start ISO transfer)
Reimplemented from BIAS::VideoSource.
Definition at line 427 of file VideoSource_PMD.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(), 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_.
int BIAS::VideoSource_PMD::SetDistanceOffset | ( | const unsigned int | in_millimeters | ) |
Definition at line 568 of file VideoSource_PMD.cpp.
int VideoSource_PMD::SetExposureMode | ( | EXPOSURE_MODE | mode | ) |
Definition at line 695 of file VideoSource_PMD.cpp.
References bIsOpen_, expMode_, handle_, BIAS::SMB, and sourcePluginIsOpen_.
|
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.
int BIAS::VideoSource_PMD::SetFOV | ( | const float | fov | ) |
Definition at line 608 of file VideoSource_PMD.cpp.
int VideoSource_PMD::SetFPNCalibrationOn | ( | bool | on | ) |
Definition at line 806 of file VideoSource_PMD.cpp.
References bIsOpen_, handle_, and sourcePluginIsOpen_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::OpenDevice().
|
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().
void VideoSource_PMD::SetGenerateNewUIDs | ( | bool | s | ) |
Definition at line 792 of file VideoSource_PMD.cpp.
|
inlinestaticinherited |
|
virtual |
Set IntegrationTime.
inttime[in],: | integration time in microseconds |
Definition at line 522 of file VideoSource_PMD.cpp.
Referenced by SetIntegrationTimeMS().
|
virtual |
Set IntegrationTime.
inttime[in],: | integration time in milliseconds |
Definition at line 654 of file VideoSource_PMD.cpp.
References SetIntegrationTime().
Referenced by OpenDevice().
|
protected |
Definition at line 619 of file VideoSource_PMD.cpp.
Referenced by OpenDevice().
int BIAS::VideoSource_PMD::SetModulationFrequency | ( | const unsigned int | dModulationFrequency | ) |
Definition at line 547 of file VideoSource_PMD.cpp.
Referenced by OpenDevice().
void VideoSource_PMD::SetProcessingPlugin | ( | std::string | plugin | ) |
only set the plugin to be opened at OpenDevice
Definition at line 86 of file VideoSource_PMD.cpp.
References procPluginPath_.
int BIAS::VideoSource_PMD::SetROI | ( | const unsigned int | UpperLeftX, |
const unsigned int | UpperLeftY, | ||
const unsigned int | Width, | ||
const unsigned int | Height | ||
) |
Definition at line 591 of file VideoSource_PMD.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(), VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_uEye::VideoSource_uEye().
void VideoSource_PMD::SetSourcePlugin | ( | std::string | plugin | ) |
only set the plugin to be opened at OpenDevice
Definition at line 81 of file VideoSource_PMD.cpp.
References sourcePluginPath_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreatePMD().
|
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().
|
protected |
Definition at line 210 of file VideoSource_PMD.hh.
Referenced by EnsureLatestFrame(), and VideoSource_PMD().
|
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().
|
protected |
Definition at line 240 of file VideoSource_PMD.hh.
Referenced by VideoSource_PMD().
|
protected |
Definition at line 215 of file VideoSource_PMD.hh.
Referenced by GetIntegrationTime(), GetSourceDataSize(), GrabSourceData(), OpenDevice(), SetExposureMode(), SetFPNCalibrationOn(), VideoSource_PMD(), and ~VideoSource_PMD().
|
protected |
Definition at line 239 of file VideoSource_PMD.hh.
|
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().
|
protected |
Definition at line 234 of file VideoSource_PMD.hh.
Referenced by GetDataDescription(), GetSourceDataSize(), GrabSourceData(), OpenDevice(), and OpenSourcePlugin().
|
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().
|
protected |
Definition at line 223 of file VideoSource_PMD.hh.
|
protected |
Definition at line 226 of file VideoSource_PMD.hh.
Referenced by GrabSingleDepth().
|
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().
|
protected |
Definition at line 212 of file VideoSource_PMD.hh.
Referenced by GetDistanceOffset(), and VideoSource_PMD().
|
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_().
|
protected |
Definition at line 236 of file VideoSource_PMD.hh.
Referenced by GetExposureMode(), SetExposureMode(), and VideoSource_PMD().
|
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().
|
protected |
Definition at line 233 of file VideoSource_PMD.hh.
Referenced by CalcAmplitudesFromSourceData(), CalcDistancesFromSourceData(), CalcIntensitiesFromSourceData(), CloseProcessingPlugin(), GetIntegrationTime(), OpenDevice(), OpenProcessingPlugin(), OpenSourcePlugin(), SetExposureMode(), and SetFPNCalibrationOn().
|
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(), 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_(), 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().
|
protected |
Definition at line 231 of file VideoSource_PMD.hh.
|
protected |
Definition at line 230 of file VideoSource_PMD.hh.
|
protected |
Definition at line 231 of file VideoSource_PMD.hh.
|
protected |
Definition at line 230 of file VideoSource_PMD.hh.
|
protected |
Definition at line 230 of file VideoSource_PMD.hh.
|
protected |
Definition at line 230 of file VideoSource_PMD.hh.
|
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_().
|
protected |
Definition at line 211 of file VideoSource_PMD.hh.
Referenced by GetIntegrationTime(), OpenDevice(), and VideoSource_PMD().
|
protected |
Definition at line 224 of file VideoSource_PMD.hh.
|
protected |
Definition at line 228 of file VideoSource_PMD.hh.
Referenced by GrabSingleIntensity().
|
protectedinherited |
Must be initialized be the derived classes.
Definition at line 360 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), BIAS::VideoSource_uEye::VideoSource_uEye(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protected |
Definition at line 238 of file VideoSource_PMD.hh.
Referenced by OpenDevice().
|
protectedinherited |
Definition at line 366 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Definition at line 363 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 364 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 365 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 366 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protectedinherited |
Feature ranges.
Definition at line 363 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 364 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protectedinherited |
Definition at line 365 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 227 of file VideoSource_PMD.hh.
Referenced by GrabSingleModCoeff().
|
protected |
Definition at line 213 of file VideoSource_PMD.hh.
Referenced by GetModulationFrequency(), OpenDevice(), and VideoSource_PMD().
|
protected |
Definition at line 216 of file VideoSource_PMD.hh.
Referenced by CalcAmplitudesFromSourceData(), CalcDistancesFromSourceData(), CalcIntensitiesFromSourceData(), CloseProcessingPlugin(), IsProcessingPluginOpen(), OpenProcessingPlugin(), VideoSource_PMD(), and ~VideoSource_PMD().
|
protected |
Definition at line 219 of file VideoSource_PMD.hh.
Referenced by OpenDevice(), SetProcessingPlugin(), and VideoSource_PMD().
|
protected |
Definition at line 241 of file VideoSource_PMD.hh.
Referenced by OpenDevice(), OpenSourcePlugin(), and VideoSource_PMD().
|
protected |
Definition at line 217 of file VideoSource_PMD.hh.
Referenced by GetSourceDataSize(), GrabSourceData(), IsSourcePluginOpen(), OpenSourcePlugin(), SetExposureMode(), SetFPNCalibrationOn(), VideoSource_PMD(), and ~VideoSource_PMD().
|
protected |
Definition at line 220 of file VideoSource_PMD.hh.
Referenced by OpenDevice(), SetSourcePlugin(), and VideoSource_PMD().
|
protected |
Definition at line 225 of file VideoSource_PMD.hh.
|
protected |
Definition at line 225 of file VideoSource_PMD.hh.
|
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(), 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_(), VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_V4L::VideoSource_V4L().