Basic Image AlgorithmS Library
2.8.0
|
This class extends VideoSource for the use of DirectShow devices you need Microsoft Windows SDK version 6.1 and Microsoft DirectX 9 SDK (November 2008) More...
#include <VideoSource/VideoSource_DSHOW.hh>
Classes | |
struct | CameraControl |
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
virtual int | AutoMode (int a, bool b) |
Use this to enable/disable any automatic modes addressed via enumerations. More... | |
int | CloseDevice () |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
bool | DisplayCameraProperties () |
bool | DisplayFilterProperties (CComPtr< IBaseFilter > pFilter) |
void | DisplaySourcePinProperties () |
virtual void | EnsureLatestFrame (const bool b) |
int | GetAllDevices (std::vector< std::string > &devices) |
bool | GetAutoBrightness () |
bool | GetAutoContrast () |
bool | GetAutoGain () |
bool | GetAutoShutter () |
float | GetBrightness () |
Get brightness as value in interval [0, 100]. */. More... | |
virtual void | GetBrightnessRange (double &min, double &max) |
float | GetBytesPerPixel () const |
int | GetCapabilities (VideoSourceCapabilities &caps) |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g. More... | |
int | GetCapabilities (const char *device, VideoSourceCapabilities &caps) |
int | GetColorChannels () const |
BIAS::ImageBase::EColorModel | GetColorModel () const |
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... | |
float | GetGain () |
Get gain in dB. More... | |
virtual void | GetGainRange (double &min, double &max) |
int | GetHeight () const |
int | GetID () const |
std::string | GetIdentifier () const |
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< float > &image) |
int | GrabSingle (BIAS::Camera< unsigned char > &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) |
bool | HasControlBrightness () |
bool | HasControlContrast () |
bool | HasControlGain () |
bool | HasControlShutter () |
virtual bool | HasControlWhiteBalance () |
int | InitImage (BIAS::ImageBase &Image) |
bool | IsActive () const |
bool | IsControllable () |
Specify if SetShutter(), SetGain() ... would work for this camera. More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
virtual int | OnePushAuto (int feature) |
virtual int | OpenDevice (int device) |
a device number can be specified here (DCAM) or port number (Net) More... | |
virtual int | OpenDevice (std::string Prefix, std::string Postfix, int DigitCount, int PictureCount, int StartCount=0) |
used by derived class VideoSource_Disk More... | |
int | OpenDevice (unsigned int width, unsigned int height, unsigned int channels, const char *device, BIAS::ImageBase::EColorModel model=BIAS::ImageBase::CM_RGB) |
int | OpenDevice (const char *device) |
a device name like "/dev/video1" can be specified here More... | |
virtual int | OpenDevice (const std::vector< std::string > &FileNames) |
used by derived class VideoSource_Disk More... | |
int | OpenDevice () |
selects the first available device to open (e.g. More... | |
int | PostGrab () |
Stop anything started in PreGrab() More... | |
int | PreGrab () |
Do last preparations before grabbing (e.g. start ISO transfer) More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | ResetPanTiltZoom (void) |
Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration. More... | |
void | SetAutoBrightness (bool b) |
void | SetAutoContrast (bool b) |
void | SetAutoGain (bool b) |
void | SetAutoShutter (bool b) |
int | SetBrightness (float g) |
Set brightness as value in interval [0, 100]. */. More... | |
void | SetBytesPerPixel (unsigned char bpp) |
void | SetCaptureDeviceName (std::string sName) |
virtual int | SetColorModel (BIAS::ImageBase::EColorModel mode) |
Select colormodel to use. More... | |
int | SetContrast (float g) |
Set contrast as value in interval [0, 100]. */. More... | |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetDeviceChannel (int channel) |
Use channel to select one of many cameras on the same. More... | |
int | SetDirectToDisk (const std::string &filename) |
Enables the very fast direct-to-disk mode. More... | |
virtual void | SetExternalTrigger (bool trigger=true) |
Specify if there is an external trigger to be used. More... | |
virtual int | SetFeature (int feature, unsigned int value) |
This function is used to control features like shutter, zoom, etc. More... | |
void | SetFPS (float fps) |
Set frame per second for image capturing. More... | |
int | SetGain (float g) |
Set gain to g with g[dB]. More... | |
int | SetShutter (float exptime) |
Set shutter (exposure time) to exptime 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 | SetSizeAndColorModel (int width, int height, int bytesperpixel=1, BIAS::ImageBase::EColorModel model=BIAS::ImageBase::CM_invalid) |
void | SetWaitForNew (bool waitForNew) |
overwrites Base class function 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_DSHOW (bool bShowDialogs=false) | |
VideoSource_DSHOW (int width, int height, int depth, bool bShowDialogs=false) | |
~VideoSource_DSHOW () | |
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 | DeleteMediaType_ (AM_MEDIA_TYPE *pmt) |
void | DetermineBIASColorModel_ () |
void | DetermineColorModel_ () |
bool | DisplayPinProperties_ (CComPtr< IPin > pSrcPin) |
HRESULT | EnumFilters_ (IFilterGraph *pGraph) |
HRESULT | FindCaptureDevice_ (IBaseFilter **ppSrcFilter) |
HRESULT | GetInterfaces_ (void) |
void | InitCamControls_ () |
HRESULT | InitVideoCapture_ () |
HRESULT | SaveGraphFile_ (IGraphBuilder *pGraph, WCHAR *wszPath) |
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 | bCheckNewImage_ |
bool | bExternalTrigger_ |
External trigger flag. More... | |
BIAS::ImageBase::EColorModel | BIASColorModel_ |
bool | bShowDialogs_ |
float | BytesPerPixel_ |
BytesPerPixel cannot be int (e.g. it is 1.5 for YUV420p) More... | |
BIAS::Camera< unsigned char > | camera_ |
VideoSourceCapabilities | Capabilities_ |
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... | |
CameraControl | ControlBrightness_ |
CameraControl | ControlContrast_ |
CameraControl | ControlExposure_ |
CameraControl | ControlPan_ |
CameraControl | ControlTilt_ |
CameraControl | ControlZoom_ |
int | dDepth_ |
long | dDsBufferSize_ |
const char * | DefaultDevice_ |
Device name. More... | |
int | DeviceChannel_ |
Device channel. More... | |
int | dHeight_ |
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... | |
int | dWidth_ |
MySampleGrabberCB * | FGCB |
float | FramesPerSecond_ |
Capturing framerate. More... | |
bool | GetCapabilitiesOnly_ |
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... | |
int | ImageHeightSign_ |
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_ |
GUID | MediaSubTypeColorModel_ |
double | minBrightness_ |
double | minContrast_ |
Feature ranges. More... | |
double | minGain_ |
double | minShutter_ |
bool | OverrideColorMode_ |
CComPtr< IAMCameraControl > | pCameraControl_ |
CComPtr< ICaptureGraphBuilder2 > | pCaptureGraphBuilder2_ |
long * | pDsBuffer_ |
CComPtr< ISampleGrabber > | pGrabber_ |
CComPtr< IGraphBuilder > | pGraphBuilder_ |
unsigned char * | pImageBuffer_ |
IPin * | pInPin_ |
CComPtr< IMediaControl > | pMediaControl_ |
CComPtr< IMediaEventEx > | pMediaEvent_ |
CComPtr< IBaseFilter > | pNullRenderer_ |
CComPtr< IPin > | pOutPin_ |
CComPtr< IPin > | pSampleOutPin_ |
CComPtr< IBaseFilter > | pSrcFilter_ |
CComPtr< IAMVideoProcAmp > | pVideoProcControl_ |
std::string | sCaptureDeviceName_ |
bool | WaitForNew_ |
Wait for new frames in GrabSingle() More... | |
int | Width_ |
Image format. More... | |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
This class extends VideoSource for the use of DirectShow devices you need Microsoft Windows SDK version 6.1 and Microsoft DirectX 9 SDK (November 2008)
Definition at line 101 of file VideoSource_DSHOW.hh.
VideoSource_DSHOW::VideoSource_DSHOW | ( | bool | bShowDialogs = false | ) |
Definition at line 42 of file VideoSource_DSHOW.cpp.
References BIASColorModel_, bShowDialogs_, BIAS::ImageBase::CM_BGR, dDepth_, dDsBufferSize_, dHeight_, dWidth_, FGCB, GetCapabilitiesOnly_, MediaSubTypeColorModel_, OverrideColorMode_, pCaptureGraphBuilder2_, pDsBuffer_, pGrabber_, pGraphBuilder_, pImageBuffer_, pMediaControl_, pMediaEvent_, pNullRenderer_, sCaptureDeviceName_, and SetSizeAndColorModel().
VideoSource_DSHOW::VideoSource_DSHOW | ( | int | width, |
int | height, | ||
int | depth, | ||
bool | bShowDialogs = false |
||
) |
Definition at line 71 of file VideoSource_DSHOW.cpp.
References BIASColorModel_, bShowDialogs_, BIAS::ImageBase::CM_BGR, dDepth_, dDsBufferSize_, dHeight_, dWidth_, FGCB, GetCapabilitiesOnly_, MediaSubTypeColorModel_, pCaptureGraphBuilder2_, pDsBuffer_, pGrabber_, pGraphBuilder_, pImageBuffer_, pMediaControl_, pMediaEvent_, pNullRenderer_, sCaptureDeviceName_, and SetSizeAndColorModel().
VideoSource_DSHOW::~VideoSource_DSHOW | ( | ) |
Definition at line 96 of file VideoSource_DSHOW.cpp.
References FGCB, pDsBuffer_, and pImageBuffer_.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
virtualinherited |
Use this to enable/disable any automatic modes addressed via enumerations.
Definition at line 283 of file VideoSource_Base.cpp.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 153 of file VideoSource_DSHOW.cpp.
References pCameraControl_, pCaptureGraphBuilder2_, pGrabber_, pGraphBuilder_, pMediaControl_, pMediaEvent_, pNullRenderer_, pOutPin_, pSampleOutPin_, pSrcFilter_, and pVideoProcControl_.
Referenced by GetCapabilities().
|
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 |
|
protected |
Definition at line 217 of file VideoSource_DSHOW.cpp.
Referenced by InitVideoCapture_().
|
protected |
Definition at line 384 of file VideoSource_DSHOW.cpp.
References BIASColorModel_, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV411, BIAS::ImageBase::CM_YUV420P, BIAS::ImageBase::CM_YUYV422, and MediaSubTypeColorModel_.
Referenced by InitVideoCapture_().
|
protected |
Definition at line 365 of file VideoSource_DSHOW.cpp.
References BIASColorModel_, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV420P, and MediaSubTypeColorModel_.
bool VideoSource_DSHOW::DisplayCameraProperties | ( | ) |
Definition at line 329 of file VideoSource_DSHOW.cpp.
References pSrcFilter_.
bool VideoSource_DSHOW::DisplayFilterProperties | ( | CComPtr< IBaseFilter > | pFilter | ) |
Definition at line 286 of file VideoSource_DSHOW.cpp.
Referenced by EnumFilters_().
|
protected |
Definition at line 254 of file VideoSource_DSHOW.cpp.
Referenced by DisplaySourcePinProperties(), and InitVideoCapture_().
void VideoSource_DSHOW::DisplaySourcePinProperties | ( | ) |
Definition at line 320 of file VideoSource_DSHOW.cpp.
References DisplayPinProperties_(), and pOutPin_.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_SwissRanger, and BIAS::VideoSource_PMD.
Definition at line 283 of file VideoSource_Base.hh.
|
protected |
Definition at line 972 of file VideoSource_DSHOW.cpp.
References bShowDialogs_, and DisplayFilterProperties().
Referenced by InitVideoCapture_().
|
protected |
Definition at line 899 of file VideoSource_DSHOW.cpp.
References BIAS::VideoSource::Identifier_, and sCaptureDeviceName_.
Referenced by InitVideoCapture_().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 799 of file VideoSource_DSHOW.cpp.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1261 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1311 of file VideoSource_DSHOW.cpp.
References ControlContrast_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 165 of file VideoSource_DSHOW.hh.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1197 of file VideoSource_DSHOW.cpp.
References pCameraControl_.
|
virtual |
Get brightness as value in interval [0, 100]. */.
Reimplemented from BIAS::VideoSource.
Definition at line 1225 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
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.
Reimplemented from BIAS::VideoSource.
Definition at line 737 of file VideoSource_DSHOW.cpp.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 744 of file VideoSource_DSHOW.cpp.
References Capabilities_, CloseDevice(), GetCapabilitiesOnly_, InitVideoCapture_(), sCaptureDeviceName_, and BIAS::BaseException::what().
|
inlineinherited |
Definition at line 189 of file VideoSource_Base.hh.
Referenced by InitImage(), and 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().
|
virtual |
Get contrast as value in interval [0, 100]. */.
Reimplemented from BIAS::VideoSource.
Definition at line 1274 of file VideoSource_DSHOW.cpp.
References ControlContrast_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, BIAS::VideoSource_DSHOW::CameraControl::max, BIAS::VideoSource_DSHOW::CameraControl::min, and pVideoProcControl_.
|
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.
|
inlinevirtual |
Get gain in dB.
Reimplemented from BIAS::VideoSource.
Definition at line 166 of file VideoSource_DSHOW.hh.
|
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(), InitImage(), 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.
|
protected |
Definition at line 840 of file VideoSource_DSHOW.cpp.
References pCaptureGraphBuilder2_, pGrabber_, pGraphBuilder_, pMediaControl_, pMediaEvent_, and pNullRenderer_.
Referenced by InitVideoCapture_().
|
virtual |
Get shutter (exposure time) in seconds.
Reimplemented from BIAS::VideoSource.
Definition at line 1146 of file VideoSource_DSHOW.cpp.
References pCameraControl_.
|
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(), InitImage(), InitVideoCapture_(), BIAS::VideoSource_uEye::PreGrab(), BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
virtualinherited |
Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.
Definition at line 229 of file VideoSource_Base.cpp.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 173 of file VideoSource_DSHOW.cpp.
References BIAS::ImageBase::CopyIn_NoInit(), FGCB, BIAS::UUID::GenerateUUID(), BIAS::MySampleGrabberCB::GetImage(), BIAS::Image< StorageType >::GetImageData(), BIAS::MySampleGrabberCB::HasNewImage(), pMediaEvent_, and BIAS::ImageBase::SetUID().
Referenced by BIAS::GrabSingleThread::Entry().
|
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 |
Reimplemented from BIAS::VideoSource.
Definition at line 1218 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1268 of file VideoSource_DSHOW.cpp.
References ControlContrast_, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 163 of file VideoSource_DSHOW.hh.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1211 of file VideoSource_DSHOW.cpp.
References pCameraControl_.
|
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 1013 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, ControlExposure_, ControlPan_, ControlTilt_, ControlZoom_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, BIAS::VideoSource_DSHOW::CameraControl::max, BIAS::VideoSource::maxGain_, BIAS::VideoSource::maxShutter_, BIAS::VideoSource_DSHOW::CameraControl::min, BIAS::VideoSource::minGain_, BIAS::VideoSource::minShutter_, pCameraControl_, pSrcFilter_, pVideoProcControl_, BIAS::VideoSource_DSHOW::CameraControl::standard, and BIAS::VideoSource_DSHOW::CameraControl::stepping.
Referenced by InitVideoCapture_().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 106 of file VideoSource_DSHOW.cpp.
References BIASColorModel_, BIAS::VideoSource::GetColorChannels(), BIAS::VideoSource::GetHeight(), BIAS::VideoSource::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), and BIAS::ImageBase::SetColorModel().
|
protected |
Definition at line 411 of file VideoSource_DSHOW.cpp.
References BIAS::VideoSourceCapabilities::AddMode(), BIASColorModel_, bShowDialogs_, Capabilities_, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_YUYV422, BIAS::VideoSource::ColorMode_, DeleteMediaType_(), DetermineBIASColorModel_(), DisplayPinProperties_(), EnumFilters_(), FGCB, FindCaptureDevice_(), GetCapabilitiesOnly_, BIAS::VideoSource::GetColorChannels(), BIAS::VideoSource::GetHeight(), GetInterfaces_(), BIAS::VideoSource::GetWidth(), ImageHeightSign_, InitCamControls_(), MediaSubTypeColorModel_, OverrideColorMode_, pCaptureGraphBuilder2_, pGrabber_, pGraphBuilder_, pInPin_, pMediaControl_, pNullRenderer_, pOutPin_, pSampleOutPin_, pSrcFilter_, SaveGraphFile_(), BIAS::MySampleGrabberCB::SetNewImageCheck(), SetSizeAndColorModel(), and BIAS::VideoSource::WaitForNew_.
Referenced by GetCapabilities(), and OpenDevice().
|
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.
|
virtualinherited |
a device number can be specified here (DCAM) or port number (Net)
Reimplemented in BIAS::VideoSource_DCAM, BIAS::VideoSource_V4L, BIAS::VideoSource_PMDZess, BIAS::VideoSource_Kinect, BIAS::VideoSource_OpenNI, BIAS::VideoSource_PMD, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_Net, BIAS::VideoSource_Kinect_Base, and BIAS::VideoSource_Kinect2.
Definition at line 173 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.
int VideoSource_DSHOW::OpenDevice | ( | unsigned int | width, |
unsigned int | height, | ||
unsigned int | channels, | ||
const char * | device, | ||
BIAS::ImageBase::EColorModel | model = BIAS::ImageBase::CM_RGB |
||
) |
Definition at line 136 of file VideoSource_DSHOW.cpp.
References InitVideoCapture_(), sCaptureDeviceName_, BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetSize(), and BIAS::BaseException::what().
|
virtual |
a device name like "/dev/video1" can be specified here
Reimplemented from BIAS::VideoSource.
Definition at line 122 of file VideoSource_DSHOW.cpp.
References InitVideoCapture_(), sCaptureDeviceName_, and BIAS::BaseException::what().
|
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 117 of file VideoSource_DSHOW.cpp.
|
virtualinherited |
used by derived class VideoSource_Disk
Reimplemented in BIAS::VideoSource_Disk, BIAS::VideoSource_DiskPMD, BIAS::VideoSource_DiskZessPMD, and BIAS::VideoSource_Disk_Bayer.
Definition at line 191 of file VideoSource_Base.cpp.
|
virtual |
Stop anything started in PreGrab()
Reimplemented from BIAS::VideoSource.
Definition at line 246 of file VideoSource_DSHOW.cpp.
|
virtual |
Do last preparations before grabbing (e.g. start ISO transfer)
Reimplemented from BIAS::VideoSource.
Definition at line 241 of file VideoSource_DSHOW.cpp.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
virtual |
Reset digital zoom, pan, and tilt to defaults to ensure compliance with calibration.
Reimplemented from BIAS::VideoSource.
Definition at line 1323 of file VideoSource_DSHOW.cpp.
|
protected |
Definition at line 1100 of file VideoSource_DSHOW.cpp.
Referenced by InitVideoCapture_().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1250 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1300 of file VideoSource_DSHOW.cpp.
References ControlContrast_, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 164 of file VideoSource_DSHOW.hh.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1186 of file VideoSource_DSHOW.cpp.
References pCameraControl_.
|
virtual |
Set brightness as value in interval [0, 100]. */.
Reimplemented from BIAS::VideoSource.
Definition at line 1238 of file VideoSource_DSHOW.cpp.
References ControlBrightness_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, and pVideoProcControl_.
|
inlineinherited |
Definition at line 183 of file VideoSource_Base.hh.
|
inline |
Definition at line 133 of file VideoSource_DSHOW.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(), 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().
|
virtual |
Set contrast as value in interval [0, 100]. */.
Reimplemented from BIAS::VideoSource.
Definition at line 1286 of file VideoSource_DSHOW.cpp.
References ControlContrast_, BIAS::VideoSource_DSHOW::CameraControl::flags, BIAS::VideoSource_DSHOW::CameraControl::id, BIAS::VideoSource_DSHOW::CameraControl::max, BIAS::VideoSource_DSHOW::CameraControl::min, and pVideoProcControl_.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Use channel to select one of many cameras on the same.
Definition at line 165 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
inherited |
Enables the very fast direct-to-disk mode.
Definition at line 394 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, BIAS::VideoSource::DirectToDisk_, BIAS::VideoSource::DtDBuffer_, BIAS::VideoSource::DtDBufferSize_, BIAS::VideoSource::DtDFd_, BIAS::VideoSource::DtDImageHeader_, BIAS::VideoSource::DtDStartOfImage_, BIAS::VideoSource::Height_, BIAS::VideoSource::ImageSize_, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::VideoSource::Width_.
|
inlinevirtualinherited |
Specify if there is an external trigger to be used.
[in] | trigger | Specifies if external trigger should be acticated |
Reimplemented in BIAS::VideoSource_DCAM, and BIAS::VideoSource_uEye.
Definition at line 180 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_uEye::SetExternalTrigger(), and BIAS::VideoSource_DCAM::SetExternalTrigger().
|
virtualinherited |
This function is used to control features like shutter, zoom, etc.
Definition at line 296 of file VideoSource_Base.cpp.
|
inlineinherited |
Set frame per second for image capturing.
Definition at line 175 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DCAM::SetModeAndFramerate().
|
inlinevirtual |
Set gain to g with g[dB].
Reimplemented from BIAS::VideoSource.
Definition at line 168 of file VideoSource_DSHOW.hh.
|
inlinestaticinherited |
|
virtual |
Set shutter (exposure time) to exptime in seconds.
Reimplemented from BIAS::VideoSource.
Definition at line 1162 of file VideoSource_DSHOW.cpp.
References pCameraControl_.
|
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(), 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().
|
inline |
Definition at line 136 of file VideoSource_DSHOW.hh.
Referenced by InitVideoCapture_(), and VideoSource_DSHOW().
|
inlinevirtual |
overwrites Base class function
Reimplemented from BIAS::VideoSource.
Definition at line 120 of file VideoSource_DSHOW.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 196 of file VideoSource_DSHOW.hh.
|
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 225 of file VideoSource_DSHOW.hh.
Referenced by DetermineBIASColorModel_(), DetermineColorModel_(), InitImage(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 203 of file VideoSource_DSHOW.hh.
Referenced by EnumFilters_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
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().
|
protected |
Definition at line 205 of file VideoSource_DSHOW.hh.
|
protected |
Definition at line 255 of file VideoSource_DSHOW.hh.
Referenced by GetCapabilities(), and InitVideoCapture_().
|
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(), 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 247 of file VideoSource_DSHOW.hh.
Referenced by GetAutoBrightness(), GetBrightness(), HasControlBrightness(), InitCamControls_(), SetAutoBrightness(), and SetBrightness().
|
protected |
Definition at line 248 of file VideoSource_DSHOW.hh.
Referenced by GetAutoContrast(), GetContrast(), HasControlContrast(), SetAutoContrast(), and SetContrast().
|
protected |
Definition at line 246 of file VideoSource_DSHOW.hh.
Referenced by InitCamControls_().
|
protected |
Definition at line 243 of file VideoSource_DSHOW.hh.
Referenced by InitCamControls_().
|
protected |
Definition at line 244 of file VideoSource_DSHOW.hh.
Referenced by InitCamControls_().
|
protected |
Definition at line 245 of file VideoSource_DSHOW.hh.
Referenced by InitCamControls_().
|
protected |
Definition at line 202 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW().
|
protected |
Definition at line 197 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW().
|
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().
|
protected |
Definition at line 201 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW().
|
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_().
|
protected |
Definition at line 200 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW().
|
protected |
Definition at line 195 of file VideoSource_DSHOW.hh.
Referenced by GrabSingle(), InitVideoCapture_(), VideoSource_DSHOW(), and ~VideoSource_DSHOW().
|
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().
|
protected |
Definition at line 256 of file VideoSource_DSHOW.hh.
Referenced by GetCapabilities(), InitVideoCapture_(), and VideoSource_DSHOW().
|
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 FindCaptureDevice_(), BIAS::VideoSource_V4L::FixIdentifierString_(), BIAS::VideoSource_V4L::GetAllDevices(), BIAS::VideoSource_Disk::OpenDevice(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 252 of file VideoSource_DSHOW.hh.
Referenced by InitVideoCapture_().
|
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 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 InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DCAM::SelectDefault(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 226 of file VideoSource_DSHOW.hh.
Referenced by DetermineBIASColorModel_(), DetermineColorModel_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
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 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 InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource::VideoSource(), BIAS::VideoSource_DCAM::VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 253 of file VideoSource_DSHOW.hh.
Referenced by InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 231 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetAutoShutter(), GetShutter(), HasControlShutter(), InitCamControls_(), SetAutoShutter(), and SetShutter().
|
protected |
Definition at line 240 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 198 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW(), and ~VideoSource_DSHOW().
|
protected |
Definition at line 237 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 239 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 199 of file VideoSource_DSHOW.hh.
Referenced by VideoSource_DSHOW(), and ~VideoSource_DSHOW().
|
protected |
Definition at line 236 of file VideoSource_DSHOW.hh.
Referenced by InitVideoCapture_().
|
protected |
Definition at line 228 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 229 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), GrabSingle(), and VideoSource_DSHOW().
|
protected |
Definition at line 238 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetInterfaces_(), InitVideoCapture_(), and VideoSource_DSHOW().
|
protected |
Definition at line 234 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), DisplaySourcePinProperties(), and InitVideoCapture_().
|
protected |
Definition at line 235 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), and InitVideoCapture_().
|
protected |
Definition at line 241 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), DisplayCameraProperties(), InitCamControls_(), and InitVideoCapture_().
|
protected |
Definition at line 233 of file VideoSource_DSHOW.hh.
Referenced by CloseDevice(), GetAutoBrightness(), GetAutoContrast(), GetBrightness(), GetContrast(), HasControlBrightness(), HasControlContrast(), InitCamControls_(), SetAutoBrightness(), SetAutoContrast(), SetBrightness(), and SetContrast().
|
protected |
Definition at line 207 of file VideoSource_DSHOW.hh.
Referenced by FindCaptureDevice_(), GetCapabilities(), OpenDevice(), and VideoSource_DSHOW().
|
protectedinherited |
Wait for new frames in GrabSingle()
Definition at line 336 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GrabSingle(), 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().