Basic Image AlgorithmS Library
2.8.0
|
This class VideoSource_DCAM implements access to IEEE1394 (Firewire, iLink) cameras following the DCam 2.0 standard protocol. More...
#include <VideoSource/VideoSource_DCAM.hh>
Public Member Functions | |
void | ActivateScorpionTimestamp () |
Activates the timestamp for PointGrey Scorpion SCOR-20SO. More... | |
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 | AutoMode (dc1394feature_t feature, dc1394feature_mode_t mode) |
Set a camera feature to auto or to manual mode. More... | |
int | CloseDevice () |
closes a camera device and cleans up More... | |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
void | EnsureLatestFrame (const bool ensure) |
void | ForceFormat7 (bool forcef7) |
this choses f7 mode even for standard resolution More... | |
virtual int | GetAllDevices (std::vector< std::string > &devices) |
bool | GetAutoBrightness () |
virtual bool | GetAutoContrast () |
bool | GetAutoGain () |
bool | GetAutoShutter () |
float | GetBrightness () |
get the value of the brightness feature More... | |
virtual void | GetBrightnessRange (double &min, double &max) |
void | GetBytesPerPacketForFormat7 (int camid, dc1394video_mode_t mode, int width, int height, unsigned int &bppmin, unsigned int &bppmax) |
returns min and max bytes per packet for a specified resolution in format 7 More... | |
float | GetBytesPerPixel () const |
virtual int | GetCapabilities (VideoSourceCapabilities &caps) |
Use this method to learn something about the capabilities of the source (only useful for V4L sources, e.g. More... | |
virtual int | GetCapabilities (const char *device, VideoSourceCapabilities &caps) |
int | GetColorChannels () const |
BIAS::ImageBase::EColorModel | GetColorModel () const |
virtual float | GetContrast () |
Get contrast as value in interval [0, 100]. */. More... | |
virtual void | GetContrastRange (double &min, double &max) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
virtual void | GetDeviceChannelNames (std::vector< std::string > &names) |
If more than one channel is present, names can be returned here. More... | |
virtual unsigned int | GetFeature (int feature) |
This function is used to query features like shutter, zoom, etc. More... | |
unsigned int | GetFeature (dc1394feature_t feature) |
get the value of a specific feature More... | |
void | GetFormat7ImageDimensions (int &maxWidth, int &maxHeight, int &minBpP, int &maxBpP) |
float | GetGain () |
get the value of the gain feature More... | |
virtual void | GetGainRange (double &min, double &max) |
int | GetGammaMode () |
get the value of Gamma Mode More... | |
int | GetHeight () const |
int | GetID () const |
std::string | GetIdentifier () const |
unsigned int | GetLeft () |
float | GetShutter () |
get the value of the shutter feature More... | |
virtual void | GetShutterRange (double &min, double &max) |
unsigned int | GetTop () |
int | GetTransmissionTime () |
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) |
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 | GrabSingle (BIAS::Camera< unsigned char > &image) |
Select the port (bus-id) to use, only valid before OpenDevice() More... | |
int | GrabSingle (BIAS::Camera< unsigned short > &image) |
bool | HasControlBrightness () |
virtual bool | HasControlContrast () |
bool | HasControlGain () |
bool | HasControlShutter () |
bool | HasControlWhiteBalance () |
virtual int | InitImage (BIAS::ImageBase &Image) |
bool | IsActive () const |
bool | IsControllable () |
Specify if SetShutter(), SetGain() ... would work for this camera. More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
virtual int | OnePushAuto (int feature) |
int | OnePushAuto (dc1394feature_t feature) |
bool | OnePushRunning (dc1394feature_t feature) |
is a feature available at OnePush? More... | |
virtual int | OpenDevice (const char *device) |
a device name like "/dev/video1" can be specified here More... | |
virtual int | OpenDevice (std::string Prefix, std::string Postfix, int DigitCount, int PictureCount, int StartCount=0) |
used by derived class VideoSource_Disk More... | |
virtual int | OpenDevice (const std::vector< std::string > &FileNames) |
used by derived class VideoSource_Disk More... | |
int | OpenDevice () |
Opens a dc1394 device. More... | |
int | OpenDevice (int camid) |
Opens a dc1394 device with id camid. More... | |
int | PostGrab () |
stops iso transmission of a camera. More... | |
int | PreGrab () |
initializes the iso transmission of a camera. 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... | |
int | SelectDefault () |
selects the default framerate for a cam More... | |
void | SetAutoBrightness (bool b) |
virtual void | SetAutoContrast (bool b) |
void | SetAutoGain (bool b) |
set the gain to auto or manual mode More... | |
void | SetAutoShutter (bool b) |
set the shutter to auto or manual mode More... | |
void | SetBinning (bool b) |
int | SetBrightness (float b) |
set value for brightness More... | |
void | SetBytesPerPacket (const int b) |
sets the bytes per packet used for format 7 More... | |
void | SetBytesPerPixel (unsigned char bpp) |
void | SetCam_ID (int manualcamid_) |
set's the id of a camera manually, has to be called before OpenDevice() More... | |
int | SetCamera (CameraParameterSet camparam) |
set camera to parameters specified in complete set More... | |
virtual void | SetCameraID (int) |
void | SetCameraModel (CameraModel model) |
Sets the Camera model. More... | |
int | SetColorFromMode_ (dc1394video_mode_t videoMode) |
selects the colormodel for a specific mode More... | |
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... | |
void | SetExternalTrigger (bool trigger=true) |
set External Trigger mode, overrides Base class function More... | |
virtual int | SetFeature (int feature, unsigned int value) |
This function is used to control features like shutter, zoom, etc. More... | |
int | SetFeature (dc1394feature_t feature, unsigned int value) |
Set a camera feature by hand. More... | |
void | SetFirewireB (bool on) |
int | SetFormat7 (int mode, int bpp, dc1394color_coding_t colorCoding=DC1394_COLOR_CODING_MONO8) |
this a special function to by-pass all automatic initializations and Use only in conjuction with SetSize() and SetLeftTop() ! More... | |
void | SetFPS (float fps) |
Set frame per second for image capturing. More... | |
int | SetGain (float g) |
set value for gain More... | |
int | SetGammaMode (int g) |
set Gamma Mode More... | |
int | SetLeftTop (unsigned int left, unsigned int top) |
set the topleft corner for partitial scan More... | |
void | SetModeAndFramerate (dc1394video_mode_t mode, float framerate) |
int | SetShutter (float exptime) |
set value for shutter More... | |
virtual void | SetSize (int w, int h, int bytesperpixel=1) |
Set image size and number of bytes per pixel (e.g. More... | |
virtual void | SetWaitForNew (bool waitForNew) |
Specify if grab should wait for new frames. More... | |
int | SetWhiteBalance (float rvalue, float bvalue) |
sets the white balance of the camera, rvalue and bvalue are in range -0.5 to 0.5 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_DCAM (int Card=0) | |
Constructor with IEEE1394 card. More... | |
~VideoSource_DCAM () | |
Destructor. More... | |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
static std::string | VideoModeToString (dc1394video_mode_t mode) |
returns a string from a IEEE1394 video mode More... | |
Public Attributes | |
bool | ScorpionTimestampActive_ |
Protected Member Functions | |
int | ActivateExternalTrigger_ (bool trigger=true) |
if external triggering is true, activate it here in Opendevice More... | |
int | ApplyBytesPerPacket () |
Set this value and read back what really happend. More... | |
unsigned int | CalcBytesPerPacket () |
Evaluate Min and Max BpP, framesize and fps, then calc BpP. More... | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
CameraModel | GetModelForEuid (const u_int64_t euid) |
searches for the correct cammodel by means of the euid of a camera More... | |
int | InitCam () |
initializes the camera and tries to set the optimal settings for the camera if no settings are specified More... | |
int | QueryCam () |
querys the cam for available modes, framerates and features More... | |
int | ShowCapabilities () |
int | UserSizeToFormat7_ () |
if user requested format 7 More... | |
int | UserSizeToMode () |
tries to find a camera mode from user given width and height More... | |
int | UserSizeToMode_16bit_ () |
for all formats with 16bit per pixel per channel (aka short int) More... | |
int | UserSizeToMode_8bit_ () |
for all formats with standard 8bpp per channel (unsigned char image) More... | |
int | WriteDirect_ (const unsigned char *data, const BIAS::UUID &uuid, const long int &sec, const long int &usec) |
Protected Attributes | |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
std::map< std::string, long int > | _String2Debuglevel |
bool | Active_ |
Active flag is set in PreGrab() und unset in PostGrab() More... | |
bool | bEnsureLatestFrame_ |
bool | bExternalTrigger_ |
External trigger flag. More... | |
int | BytesPerPacket_ |
float | BytesPerPixel_ |
BytesPerPixel cannot be int (e.g. it is 1.5 for YUV420p) More... | |
dc1394camera_t * | camera |
dc1394framerates_t | CameraFramerates_ [DC1394_VIDEO_MODE_NUM] |
dc1394camera_list_t * | cameraList |
dc1394video_modes_t | CameraModes_ |
int | camid |
CameraModel | CamModel_ |
int | ColorChannels_ |
BIAS::ImageBase::EColorModel | ColorMode_ |
Color mode used by camera. More... | |
bool | CompleteInitialized_ |
Complete_initialized_ is set when OpenDevice(), UseChannel() etc. are done. More... | |
int | DcamDMABuffers_ |
dc1394featureset_t | DcamFeatures_ |
int | DcamFormat_ |
dc1394framerate_t | DcamFps_ |
int | DcamIsoChannel_ |
dc1394video_mode_t | DcamMode_ |
int | DcamSpeed_ |
dc1394_t * | dcbus |
const char * | DefaultDevice_ |
Device name. More... | |
int | DeviceChannel_ |
Device channel. More... | |
bool | DirectF7_ |
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... | |
dc1394error_t | err |
dc1394color_coding_t | f7ColorCoding_ |
bool | ForceF7_ |
float | FramesPerSecond_ |
Capturing framerate. More... | |
bool | Grabbing_ |
Grabbing flag is set and unset in GrabSingle() methods. More... | |
pthread_mutex_t | grabMutex_ |
int | Height_ |
int | ID_ |
Camera ID. More... | |
std::string | Identifier_ |
Verbose camera descriptor. More... | |
Image< unsigned char > * | imageintern_ |
unsigned int | ImageSize_ |
Image size, useful for allocating and copying memory. More... | |
bool | IsControllable_ |
Must be initialized be the derived classes. More... | |
unsigned int | Left_ |
LensModel | Lens_ |
unsigned int | MaxBpP_ |
double | maxBrightness_ |
double | maxContrast_ |
double | maxGain_ |
unsigned int | MaxHeight_ |
double | maxShutter_ |
unsigned int | MaxWidth_ |
unsigned int | MinBpP_ |
double | minBrightness_ |
double | minContrast_ |
Feature ranges. More... | |
double | minGain_ |
double | minShutter_ |
int | NumCams_ |
uint32_t | numCamsOnBus |
int | SelectedCam_ |
unsigned char | Shift16_ |
unsigned int | Top_ |
int | TransmissionTime_ |
dc1394trigger_mode_t | Trigger_ |
bool | TryFirewireB_ |
unsigned int | UnitHeight_ |
unsigned int | UnitWidth_ |
bool | UseBinning_ |
bool | UseDMA_ |
bool | UserMode_ |
bool | UserTopLeft_ |
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 |
static int | InstancesTotal_ = 0 |
This class VideoSource_DCAM implements access to IEEE1394 (Firewire, iLink) cameras following the DCam 2.0 standard protocol.
Definition at line 320 of file VideoSource_DCAM.hh.
VideoSource_DCAM::VideoSource_DCAM | ( | int | Card = 0 | ) |
Constructor with IEEE1394 card.
Card | The IEEE1394 card on which the camera is |
Definition at line 242 of file VideoSource_DCAM.cpp.
References bEnsureLatestFrame_, BytesPerPacket_, camera, cameraList, camid, BIAS::ImageBase::CM_UYVY422, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, DcamFormat_, DcamFps_, DcamMode_, dcbus, DirectF7_, f7ColorCoding_, ForceF7_, BIAS::VideoSource::FramesPerSecond_, grabMutex_, BIAS::VideoSource::Height_, InstancesTotal_, BIAS::VideoSource::IsControllable_, BIAS::VideoSource::maxContrast_, BIAS::VideoSource::maxGain_, BIAS::VideoSource::maxShutter_, BIAS::VideoSource::minContrast_, BIAS::VideoSource::minGain_, BIAS::VideoSource::minShutter_, SelectedCam_, Shift16_, TransmissionTime_, TryFirewireB_, UseBinning_, UseDMA_, UserMode_, UserTopLeft_, and BIAS::VideoSource::Width_.
VideoSource_DCAM::~VideoSource_DCAM | ( | ) |
Destructor.
Definition at line 295 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, camera, dcbus, InstancesTotal_, and PostGrab().
|
protected |
if external triggering is true, activate it here in Opendevice
trigger | true if external trigger should be acticated, false if deactivated |
Definition at line 1625 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_SONY_DFW_X700, CamModel_, BIAS::VideoSource::ID_, and Trigger_.
Referenced by InitCam(), and SetExternalTrigger().
void VideoSource_DCAM::ActivateScorpionTimestamp | ( | ) |
Activates the timestamp for PointGrey Scorpion SCOR-20SO.
Definition at line 618 of file VideoSource_DCAM.cpp.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
protected |
Set this value and read back what really happend.
Definition at line 1203 of file VideoSource_DCAM.cpp.
|
virtualinherited |
Use this to enable/disable any automatic modes addressed via enumerations.
Definition at line 283 of file VideoSource_Base.cpp.
int VideoSource_DCAM::AutoMode | ( | dc1394feature_t | feature, |
dc1394feature_mode_t | mode | ||
) |
Set a camera feature to auto or to manual mode.
feature | the feature to set |
mode | the mode to set as enum, use DC1394_FEATURE_MODE_AUTO for auto mode or DC1394_FEATURE_MODE_MANUAL for manual mode |
Definition at line 1498 of file VideoSource_DCAM.cpp.
References camera.
Referenced by SetAutoBrightness(), SetAutoGain(), SetAutoShutter(), SetCamera(), and SetFeature().
|
protected |
Evaluate Min and Max BpP, framesize and fps, then calc BpP.
Definition at line 1139 of file VideoSource_DCAM.cpp.
References BytesPerPacket_, camera, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::FramesPerSecond_, BIAS::VideoSource::Height_, MaxBpP_, MinBpP_, and BIAS::VideoSource::Width_.
|
virtual |
closes a camera device and cleans up
Reimplemented from BIAS::VideoSource.
Definition at line 461 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, and PostGrab().
Referenced by BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
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 |
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 622 of file VideoSource_DCAM.hh.
|
inline |
this choses f7 mode even for standard resolution
forcef7 | true if format 7 should be forced, false if not |
Definition at line 605 of file VideoSource_DCAM.hh.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 197 of file VideoSource_Base.cpp.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1547 of file VideoSource_DCAM.cpp.
References camera.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 257 of file VideoSource_Base.hh.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1570 of file VideoSource_DCAM.cpp.
References camera.
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1521 of file VideoSource_DCAM.cpp.
References camera.
|
virtual |
get the value of the brightness feature
Reimplemented from BIAS::VideoSource.
Definition at line 1958 of file VideoSource_DCAM.cpp.
References camera.
|
inlinevirtualinherited |
Definition at line 248 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateController().
void VideoSource_DCAM::GetBytesPerPacketForFormat7 | ( | int | camid, |
dc1394video_mode_t | mode, | ||
int | width, | ||
int | height, | ||
unsigned int & | bppmin, | ||
unsigned int & | bppmax | ||
) |
returns min and max bytes per packet for a specified resolution in format 7
camid | the id of the cam |
mode | the format 7 mode |
width | of the resulting picture |
height | of the resulting picture |
bppmin | here the minimum bytes per packet are stored bppmax here the maximum bytes per packet are stored |
Definition at line 307 of file VideoSource_DCAM.cpp.
References camera, cameraList, dcbus, err, BIAS::VideoSource::ID_, numCamsOnBus, and SelectedCam_.
|
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 SetModeAndFramerate().
|
inlinevirtualinherited |
Get contrast as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 253 of file VideoSource_Base.hh.
|
inlinevirtualinherited |
Definition at line 258 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateController().
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
If more than one channel is present, names can be returned here.
The position in the vector corresponds to the channel number in SetChannel().
Reimplemented in BIAS::VideoSource_V4L.
Definition at line 170 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
virtualinherited |
This function is used to query features like shutter, zoom, etc.
Definition at line 290 of file VideoSource_Base.cpp.
unsigned int VideoSource_DCAM::GetFeature | ( | dc1394feature_t | feature | ) |
get the value of a specific feature
feature | the feature of which the value should be requested |
Definition at line 1662 of file VideoSource_DCAM.cpp.
References camera, and BIAS::VideoSource::ID_.
Referenced by GetGain(), GetGammaMode(), and GetShutter().
|
inline |
Definition at line 626 of file VideoSource_DCAM.hh.
|
virtual |
get the value of the gain feature
Reimplemented from BIAS::VideoSource.
Definition at line 1894 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_BW, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_FLEA2_BW, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, BIAS::CAMERA_UNIBRAIN_FIREI, CamModel_, and GetFeature().
|
inlinevirtualinherited |
Definition at line 238 of file VideoSource_Base.hh.
int VideoSource_DCAM::GetGammaMode | ( | ) |
get the value of Gamma Mode
Definition at line 1975 of file VideoSource_DCAM.cpp.
References GetFeature().
|
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.
|
inline |
Definition at line 575 of file VideoSource_DCAM.hh.
|
protected |
searches for the correct cammodel by means of the euid of a camera
Definition at line 2146 of file VideoSource_DCAM.cpp.
References BIAS::CAMERA_KAMERAWERK_DRESDEN_LOGILUX_I5, BIAS::CAMERA_NET_FO323SC, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_BW, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_FLEA2_BW, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, BIAS::CAMERA_UNIBRAIN_FIREI, BIAS::CAMERA_UNKNOWN, BIAS::VideoSource::ColorChannels_, and Shift16_.
Referenced by OpenDevice(), and BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode().
|
virtual |
get the value of the shutter feature
Reimplemented from BIAS::VideoSource.
Definition at line 1798 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_BW, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_FLEA2_BW, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, CamModel_, and GetFeature().
|
inlinevirtualinherited |
Definition at line 228 of file VideoSource_Base.hh.
|
inline |
Definition at line 574 of file VideoSource_DCAM.hh.
|
inline |
Definition at line 586 of file VideoSource_DCAM.hh.
|
virtualinherited |
Get white balance as values in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_uEye.
Definition at line 335 of file VideoSource_Base.cpp.
|
inlineinherited |
Definition at line 185 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_DSHOW::InitVideoCapture_(), BIAS::VideoSource_uEye::PreGrab(), BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
virtualinherited |
Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.
Definition at line 229 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 252 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 260 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 268 of file VideoSource_Base.cpp.
|
virtualinherited |
Reimplemented in BIAS::VideoSource_Disk, and BIAS::VideoSource_Disk_Bayer.
Definition at line 236 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 244 of file VideoSource_Base.cpp.
|
virtualinherited |
Definition at line 276 of file VideoSource_Base.cpp.
|
virtual |
Select the port (bus-id) to use, only valid before OpenDevice()
channel | The port (bus-id) to use |
&image | the Camera structure to write the image from the camera in |
Reimplemented from BIAS::VideoSource.
Definition at line 486 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, bEnsureLatestFrame_, camera, CamModel_, BIAS::ImageBase::CopyIn_NoInit(), err, BIAS::UUID::GenerateUUID(), BIAS::VideoSource::Grabbing_, grabMutex_, BIAS::ImageBase::InvalidateUID(), BIAS::ImageBase::IsEmpty(), SelectedCam_, BIAS::Camera< StorageType >::SetTime(), BIAS::ImageBase::SetUID(), and BIAS::Camera< StorageType >::UpdateMetaData().
Referenced by BIAS::GrabSingleThread::Entry(), BIAS::VideoSource_DCAM_XB3::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingleAsSmallRGB(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleAsSmallRGB(), and BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey().
int VideoSource_DCAM::GrabSingle | ( | BIAS::Camera< unsigned short > & | image | ) |
Definition at line 551 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, camera, CamModel_, err, BIAS::UUID::GenerateUUID(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetSize(), BIAS::VideoSource::Grabbing_, grabMutex_, BIAS::ImageBase::InvalidateUID(), BIAS::ImageBase::IsEmpty(), SelectedCam_, BIAS::Camera< StorageType >::SetTime(), BIAS::ImageBase::SetUID(), Shift16_, and BIAS::Camera< StorageType >::UpdateMetaData().
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 499 of file VideoSource_DCAM.hh.
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 251 of file VideoSource_Base.hh.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 498 of file VideoSource_DCAM.hh.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 497 of file VideoSource_DCAM.hh.
|
inlinevirtual |
Reimplemented from BIAS::VideoSource.
Definition at line 500 of file VideoSource_DCAM.hh.
|
protected |
initializes the camera and tries to set the optimal settings for the camera if no settings are specified
Definition at line 1226 of file VideoSource_DCAM.cpp.
References ActivateExternalTrigger_(), BIAS::VideoSource::bExternalTrigger_, BytesPerPacket_, camera, BIAS::CAMERA_SONY_DFW_X700, CameraFramerates_, CamModel_, BIAS::VideoSource::CompleteInitialized_, DcamFps_, DcamMode_, DirectF7_, err, f7ColorCoding_, BIAS::VideoSource::FramesPerSecond_, BIAS::VideoSource::Height_, Left_, SelectDefault(), SelectedCam_, SetColorFromMode_(), Top_, TryFirewireB_, UseBinning_, UserMode_, UserSizeToMode(), and BIAS::VideoSource::Width_.
Referenced by OpenDevice(), and PreGrab().
|
virtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_PMD, BIAS::VideoSource_PMDZess, BIAS::VideoSource_Kinect, BIAS::VideoSource_SwissRanger, BIAS::VideoSource_OpenNI, BIAS::VideoSource_DcamPMD, BIAS::VideoSource_Kinect_Base, BIAS::VideoSource_uEye, BIAS::VideoSource_Kinect2, BIAS::VideoSource_Centaurus, BIAS::VideoSource_DCAM_BumbleBee, and BIAS::VideoSource_Stereo.
Definition at line 120 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, BIAS::ImageBase::GetStorageType(), BIAS::VideoSource::Height_, BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::ST_invalid, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_V4L::OpenDevice(), and BIAS::VideoSource::SoftwareWhiteBalance().
|
inlineinherited |
Definition at line 208 of file VideoSource_Base.hh.
|
inlineinherited |
Specify if SetShutter(), SetGain() ... would work for this camera.
Definition at line 211 of file VideoSource_Base.hh.
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
virtualinherited |
Definition at line 326 of file VideoSource_Base.cpp.
int VideoSource_DCAM::OnePushAuto | ( | dc1394feature_t | feature | ) |
feature | the feature to set one push automode for |
!!ATTENTION BIAS::FEATURE... may differ from ::FEATURE... (from CMU)!!!
Definition at line 1583 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, CamModel_, and BIAS::VideoSource::SoftwareWhiteBalance().
Referenced by SetCamera().
bool VideoSource_DCAM::OnePushRunning | ( | dc1394feature_t | feature | ) |
is a feature available at OnePush?
Definition at line 1607 of file VideoSource_DCAM.cpp.
References camera.
|
virtualinherited |
a device name like "/dev/video1" can be specified here
Reimplemented in BIAS::VideoSource_DSHOW, BIAS::VideoSource_V4L, BIAS::VideoSource_FFmpeg, BIAS::VideoSource_Shm, BIAS::VideoSource_uEye, BIAS::VideoSource_DV, BIAS::VideoSource_Net, and BIAS::VideoSource_Stereo.
Definition at line 179 of file VideoSource_Base.cpp.
|
virtualinherited |
used by derived class VideoSource_Disk
Reimplemented in BIAS::VideoSource_Disk.
Definition at line 185 of file VideoSource_Base.cpp.
|
virtualinherited |
used by derived class VideoSource_Disk
Reimplemented in BIAS::VideoSource_Disk, BIAS::VideoSource_DiskPMD, BIAS::VideoSource_DiskZessPMD, and BIAS::VideoSource_Disk_Bayer.
Definition at line 191 of file VideoSource_Base.cpp.
|
virtual |
Opens a dc1394 device.
Reimplemented from BIAS::VideoSource.
Definition at line 432 of file VideoSource_DCAM.cpp.
References camid.
Referenced by BIAS::VideoSource_MDcam::ScanBus(), and BIAS::ScanBus().
|
virtual |
Opens a dc1394 device with id camid.
camid | The camera id of the camera to open |
Reimplemented from BIAS::VideoSource.
Definition at line 356 of file VideoSource_DCAM.cpp.
References camera, cameraList, CamModel_, dcbus, err, GetModelForEuid(), BIAS::VideoSource::ID_, InitCam(), numCamsOnBus, QueryCam(), and SelectedCam_.
|
virtual |
stops iso transmission of a camera.
this has to be called after capturing any image
Reimplemented from BIAS::VideoSource.
Definition at line 654 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, camera, and SelectedCam_.
Referenced by CloseDevice(), and ~VideoSource_DCAM().
|
virtual |
initializes the iso transmission of a camera.
this has to be called before capturing any image
Reimplemented from BIAS::VideoSource.
Definition at line 626 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Active_, camera, BIAS::VideoSource::CompleteInitialized_, InitCam(), and SelectedCam_.
|
inlineinherited |
|
protected |
querys the cam for available modes, framerates and features
Definition at line 672 of file VideoSource_DCAM.cpp.
References camera, CameraFramerates_, CameraModes_, DcamFeatures_, err, MaxBpP_, MaxHeight_, MaxWidth_, MinBpP_, SelectedCam_, UnitHeight_, and UnitWidth_.
Referenced by OpenDevice().
|
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.
int VideoSource_DCAM::SelectDefault | ( | ) |
selects the default framerate for a cam
Definition at line 813 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_KAMERAWERK_DRESDEN_LOGILUX_I5, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_UNIBRAIN_FIREI, CameraFramerates_, CameraModes_, CamModel_, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, DcamFps_, DcamMode_, BIAS::VideoSource::FramesPerSecond_, BIAS::VideoSource::Height_, BIAS::VideoSource::maxShutter_, SelectedCam_, SetColorFromMode_(), and BIAS::VideoSource::Width_.
Referenced by InitCam().
|
virtual |
Reimplemented from BIAS::VideoSource.
Definition at line 1536 of file VideoSource_DCAM.cpp.
References AutoMode().
|
inlinevirtualinherited |
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 256 of file VideoSource_Base.hh.
|
virtual |
set the gain to auto or manual mode
b | true if the gain should be set to auto mode, false if not |
Reimplemented from BIAS::VideoSource.
Definition at line 1559 of file VideoSource_DCAM.cpp.
References AutoMode().
|
virtual |
set the shutter to auto or manual mode
b | true if the shutter should be set to auto mode, false if not |
Reimplemented from BIAS::VideoSource.
Definition at line 1510 of file VideoSource_DCAM.cpp.
References AutoMode().
|
inline |
Definition at line 371 of file VideoSource_DCAM.hh.
|
virtual |
set value for brightness
b | brightness |
Reimplemented from BIAS::VideoSource.
Definition at line 1948 of file VideoSource_DCAM.cpp.
References camera.
|
inline |
sets the bytes per packet used for format 7
b | the bytes per packet |
Definition at line 611 of file VideoSource_DCAM.hh.
|
inlineinherited |
Definition at line 183 of file VideoSource_Base.hh.
void VideoSource_DCAM::SetCam_ID | ( | int | manualcamid_ | ) |
set's the id of a camera manually, has to be called before OpenDevice()
manualcamid_ | the unique id of the camera |
Definition at line 348 of file VideoSource_DCAM.cpp.
References camid.
int VideoSource_DCAM::SetCamera | ( | CameraParameterSet | camparam | ) |
set camera to parameters specified in complete set
camparam | the CameraParameterSet with the camera parameters to be set |
Definition at line 2056 of file VideoSource_DCAM.cpp.
References BIAS::CameraParameter_s::AutoGain, BIAS::CameraParameter_s::AutoGainChanged, AutoMode(), BIAS::CameraParameter_s::AutoShutter, BIAS::CameraParameter_s::AutoShutterChanged, BIAS::CameraParameter_s::AutoWhiteBalance, BIAS::CameraParameter_s::AutoWhiteBalanceChanged, BIAS::CameraParameter_s::Gain, BIAS::CameraParameter_s::GainChanged, BIAS::CameraParameter_s::GammaMode, BIAS::CameraParameter_s::GammaModeChanged, OnePushAuto(), BIAS::CameraParameter_s::OpticalFilter, BIAS::CameraParameter_s::OpticalFilterChanged, SetFeature(), SetGain(), SetGammaMode(), SetShutter(), BIAS::CameraParameter_s::Sharpen, BIAS::CameraParameter_s::SharpenChanged, BIAS::CameraParameter_s::Shutter, BIAS::CameraParameter_s::ShutterChanged, BIAS::CameraParameter_s::WhiteBalance, BIAS::CameraParameter_s::WhiteBalanceChanged, and BIAS::CameraParameter_s::WhiteBalanceOnePush.
|
inlinevirtual |
Definition at line 595 of file VideoSource_DCAM.hh.
void VideoSource_DCAM::SetCameraModel | ( | CameraModel | model | ) |
Sets the Camera model.
Definition at line 800 of file VideoSource_DCAM_CMU.cpp.
References CamModel_.
int VideoSource_DCAM::SetColorFromMode_ | ( | dc1394video_mode_t | videoMode | ) |
selects the colormodel for a specific mode
videoMode | the videomode to find the colormodel for |
Definition at line 2370 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::BytesPerPixel_, camera, BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV411, BIAS::ImageBase::CM_YUV444, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, DirectF7_, and f7ColorCoding_.
Referenced by InitCam(), and SelectDefault().
|
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(), SetModeAndFramerate(), BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
inlinevirtualinherited |
Set contrast as value in interval [0, 100]. */.
Reimplemented in BIAS::VideoSource_DSHOW, and BIAS::VideoSource_V4L.
Definition at line 255 of file VideoSource_Base.hh.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Use channel to select one of many cameras on the same.
Definition at line 165 of file VideoSource_Base.hh.
Referenced by BIAS::ShowCamWxFrame::OnFindWebcams().
|
inherited |
Enables the very fast direct-to-disk mode.
Definition at line 394 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, BIAS::VideoSource::DirectToDisk_, BIAS::VideoSource::DtDBuffer_, BIAS::VideoSource::DtDBufferSize_, BIAS::VideoSource::DtDFd_, BIAS::VideoSource::DtDImageHeader_, BIAS::VideoSource::DtDStartOfImage_, BIAS::VideoSource::Height_, BIAS::VideoSource::ImageSize_, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::VideoSource::Width_.
|
virtual |
set External Trigger mode, overrides Base class function
trigger,bool | to activate or deactivate trigger |
Reimplemented from BIAS::VideoSource.
Definition at line 1490 of file VideoSource_DCAM.cpp.
References ActivateExternalTrigger_(), BIAS::VideoSource::bExternalTrigger_, BIAS::VideoSource::CompleteInitialized_, and BIAS::VideoSource::SetExternalTrigger().
|
virtualinherited |
This function is used to control features like shutter, zoom, etc.
Definition at line 296 of file VideoSource_Base.cpp.
int VideoSource_DCAM::SetFeature | ( | dc1394feature_t | feature, |
unsigned int | value | ||
) |
Set a camera feature by hand.
feature | the feature to set |
value | the value to be set for the feature feature |
Definition at line 1682 of file VideoSource_DCAM.cpp.
References AutoMode(), camera, and BIAS::VideoSource::ID_.
Referenced by SetCamera(), SetGain(), SetGammaMode(), and SetShutter().
void VideoSource_DCAM::SetFirewireB | ( | bool | on | ) |
Definition at line 472 of file VideoSource_DCAM.cpp.
References TryFirewireB_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM().
int VideoSource_DCAM::SetFormat7 | ( | int | mode, |
int | bpp, | ||
dc1394color_coding_t | colorCoding = DC1394_COLOR_CODING_MONO8 |
||
) |
this a special function to by-pass all automatic initializations and Use only in conjuction with SetSize() and SetLeftTop() !
Definition at line 451 of file VideoSource_DCAM.cpp.
References BytesPerPacket_, DcamMode_, DirectF7_, and f7ColorCoding_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), and BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode().
|
inlineinherited |
Set frame per second for image capturing.
Definition at line 175 of file VideoSource_Base.hh.
Referenced by SetModeAndFramerate().
|
virtual |
set value for gain
g | gain in dB |
Reimplemented from BIAS::VideoSource.
Definition at line 1844 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_BW, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_FLEA2_BW, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, BIAS::CAMERA_UNIBRAIN_FIREI, CamModel_, and SetFeature().
Referenced by SetCamera().
int VideoSource_DCAM::SetGammaMode | ( | int | g | ) |
set Gamma Mode
g | the gamma mode as unsigned char |
Definition at line 1966 of file VideoSource_DCAM.cpp.
References SetFeature().
Referenced by SetCamera().
|
inlinestaticinherited |
int VideoSource_DCAM::SetLeftTop | ( | unsigned int | left, |
unsigned int | top | ||
) |
set the topleft corner for partitial scan
left | distance from left |
top | distance from top |
Definition at line 1703 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::Height_, Left_, MaxHeight_, MaxWidth_, Top_, UserTopLeft_, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), and BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode().
void VideoSource_DCAM::SetModeAndFramerate | ( | dc1394video_mode_t | mode, |
float | framerate | ||
) |
Definition at line 438 of file VideoSource_DCAM.cpp.
References BIAS::ImageBase::CM_Bayer_RGGB, DcamMode_, BIAS::VideoSource::GetColorModel(), BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetFPS(), and UserMode_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), and BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode().
|
virtual |
set value for shutter
exptime | Exposuretime in milliseconds |
Reimplemented from BIAS::VideoSource.
Definition at line 1722 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_KAMERAWERK_DRESDEN_LOGILUX_I5, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB2, BIAS::CAMERA_PTGREY_BUMBLEBEE_XB3, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_BW, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, BIAS::CAMERA_PTGREY_FIREFLY_BW, BIAS::CAMERA_PTGREY_FIREFLY_COLOR, BIAS::CAMERA_PTGREY_FLEA2_BW, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, BIAS::CAMERA_UNIBRAIN_FIREI, CamModel_, and SetFeature().
Referenced by SetCamera().
|
virtualinherited |
Set image size and number of bytes per pixel (e.g.
1 = 8 bit gray image)
Reimplemented in BIAS::VideoSource_Shm, and BIAS::VideoSource_Stereo.
Definition at line 92 of file VideoSource_Base.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::Height_, and BIAS::VideoSource::Width_.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::ShowCamWxFrame::OnFindWebcams(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_DSHOW::OpenDevice(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::ScanBus(), BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode(), BIAS::VideoSource_DcamPMD::VideoSource_DcamPMD(), BIAS::VideoSource_PMD::VideoSource_PMD(), BIAS::VideoSource_PMDZess::VideoSource_PMDZess(), BIAS::VideoSource_SwissRanger::VideoSource_SwissRanger(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
inlinevirtualinherited |
Specify if grab should wait for new frames.
If you want as many images as possible and don't care about equal ones, call this with waitForNew = false. By default, GrabSingle() blocks until a new frame arrives from the camera. Only used in V4L and DSHOW.
Reimplemented in BIAS::VideoSource_DSHOW.
Definition at line 293 of file VideoSource_Base.hh.
|
virtual |
sets the white balance of the camera, rvalue and bvalue are in range -0.5 to 0.5
rvalue | |
bvalue |
Reimplemented from BIAS::VideoSource.
Definition at line 1983 of file VideoSource_DCAM.cpp.
References camera, BIAS::CAMERA_PTGREY_DRAGONFLY2_COLOR_HIRES, BIAS::CAMERA_PTGREY_DRAGONFLY_COLOR, BIAS::CAMERA_PTGREY_GRASSHOPPER_COLOR, BIAS::CAMERA_PTGREY_SCORPION_COLOR_1600, BIAS::CAMERA_SONY_DFW_V500, BIAS::CAMERA_SONY_DFW_X700, and CamModel_.
|
protected |
Definition at line 733 of file VideoSource_DCAM.cpp.
|
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 OnePushAuto().
|
protected |
if user requested format 7
Definition at line 2329 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::ColorChannels_, DcamMode_, BIAS::VideoSource::Height_, Left_, MaxHeight_, MaxWidth_, Top_, UnitHeight_, UnitWidth_, UseBinning_, UserTopLeft_, and BIAS::VideoSource::Width_.
Referenced by UserSizeToMode().
|
protected |
tries to find a camera mode from user given width and height
Definition at line 942 of file VideoSource_DCAM.cpp.
References BIAS::VideoSource::BytesPerPixel_, BIAS::VideoSource::ColorMode_, ForceF7_, BIAS::VideoSource::Height_, SelectedCam_, UserSizeToFormat7_(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), and BIAS::VideoSource::Width_.
Referenced by InitCam().
|
protected |
for all formats with 16bit per pixel per channel (aka short int)
Definition at line 1090 of file VideoSource_DCAM.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_Grey, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, DcamMode_, BIAS::VideoSource::Height_, and BIAS::VideoSource::Width_.
Referenced by UserSizeToMode().
|
protected |
for all formats with standard 8bpp per channel (unsigned char image)
Definition at line 971 of file VideoSource_DCAM.cpp.
References BIAS::CAMERA_PTGREY_DRAGONFLY_HIRES, CamModel_, BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV411, BIAS::VideoSource::ColorChannels_, BIAS::VideoSource::ColorMode_, DcamMode_, BIAS::VideoSource::Height_, and BIAS::VideoSource::Width_.
Referenced by UserSizeToMode().
|
static |
returns a string from a IEEE1394 video mode
Definition at line 2469 of file VideoSource_DCAM.cpp.
Referenced by BIAS::ShowCamWxFrame::AddIEEECameraToMenu().
|
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(), CloseDevice(), BIAS::VideoSource_V4L::GrabContThread_(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), GrabSingle(), BIAS::VideoSource_uEye::OpenDevice(), BIAS::VideoSource_V4L::PostGrab(), BIAS::VideoSource::PostGrab(), PostGrab(), BIAS::VideoSource_V4L::PreGrab(), BIAS::VideoSource::PreGrab(), PreGrab(), BIAS::VideoSource::VideoSource(), and ~VideoSource_DCAM().
|
protected |
Definition at line 764 of file VideoSource_DCAM.hh.
Referenced by GrabSingle(), and VideoSource_DCAM().
|
protectedinherited |
External trigger flag.
Definition at line 330 of file VideoSource_Base.hh.
Referenced by InitCam(), SetExternalTrigger(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 773 of file VideoSource_DCAM.hh.
Referenced by CalcBytesPerPacket(), InitCam(), SetFormat7(), and VideoSource_DCAM().
|
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(), SetColorFromMode_(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), UserSizeToMode(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 740 of file VideoSource_DCAM.hh.
Referenced by ActivateExternalTrigger_(), AutoMode(), CalcBytesPerPacket(), GetAutoBrightness(), GetAutoGain(), GetAutoShutter(), GetBrightness(), GetBytesPerPacketForFormat7(), GetFeature(), GetGain(), GetShutter(), GrabSingle(), InitCam(), OnePushAuto(), OnePushRunning(), OpenDevice(), PostGrab(), PreGrab(), QueryCam(), SelectDefault(), SetBrightness(), SetColorFromMode_(), SetFeature(), SetGain(), SetShutter(), SetWhiteBalance(), VideoSource_DCAM(), and ~VideoSource_DCAM().
|
protected |
Definition at line 745 of file VideoSource_DCAM.hh.
Referenced by InitCam(), QueryCam(), and SelectDefault().
|
protected |
Definition at line 741 of file VideoSource_DCAM.hh.
Referenced by GetBytesPerPacketForFormat7(), OpenDevice(), and VideoSource_DCAM().
|
protected |
Definition at line 744 of file VideoSource_DCAM.hh.
Referenced by QueryCam(), and SelectDefault().
|
protected |
Definition at line 737 of file VideoSource_DCAM.hh.
Referenced by OpenDevice(), SetCam_ID(), and VideoSource_DCAM().
|
protected |
Definition at line 780 of file VideoSource_DCAM.hh.
Referenced by ActivateExternalTrigger_(), GetGain(), BIAS::VideoSource_DCAM_BumbleBee::GetNumImages(), GetShutter(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleAsSmallRGB(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), InitCam(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), OnePushAuto(), OpenDevice(), SelectDefault(), SetCameraModel(), SetGain(), SetShutter(), BIAS::VideoSource_DCAM_BumbleBee::SetStereoDefaultMode(), SetWhiteBalance(), and UserSizeToMode_8bit_().
|
protectedinherited |
Definition at line 303 of file VideoSource_Base.hh.
Referenced by CalcBytesPerPacket(), 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(), SelectDefault(), SetColorFromMode_(), BIAS::VideoSource_FFmpeg::SetColorModel(), BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetDirectToDisk(), BIAS::VideoSource_Shm::SetSize(), UserSizeToFormat7_(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), 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(), SelectDefault(), SetColorFromMode_(), BIAS::VideoSource_Disk_Bayer::SetColorMode(), BIAS::VideoSource_FFmpeg::SetColorModel(), BIAS::VideoSource::SetColorModel(), BIAS::VideoSource::SetDirectToDisk(), UserSizeToMode(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), 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(), 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(), PreGrab(), BIAS::VideoSource_V4L::SetBrightness(), BIAS::VideoSource_V4L::SetContrast(), SetExternalTrigger(), BIAS::VideoSource_V4L::SetGain(), BIAS::VideoSource_V4L::SetShutter(), BIAS::VideoSource::SoftwareWhiteBalance(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 765 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 746 of file VideoSource_DCAM.hh.
Referenced by QueryCam().
|
protected |
Definition at line 758 of file VideoSource_DCAM.hh.
Referenced by VideoSource_DCAM().
|
protected |
Definition at line 748 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SelectDefault(), and VideoSource_DCAM().
|
protected |
Definition at line 759 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 747 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SelectDefault(), SetFormat7(), SetModeAndFramerate(), UserSizeToFormat7_(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), and VideoSource_DCAM().
|
protected |
Definition at line 756 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 742 of file VideoSource_DCAM.hh.
Referenced by GetBytesPerPacketForFormat7(), OpenDevice(), VideoSource_DCAM(), and ~VideoSource_DCAM().
|
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 762 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetColorFromMode_(), SetFormat7(), and VideoSource_DCAM().
|
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 739 of file VideoSource_DCAM.hh.
Referenced by GetBytesPerPacketForFormat7(), GrabSingle(), InitCam(), OpenDevice(), and QueryCam().
|
protected |
Definition at line 752 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetColorFromMode_(), SetFormat7(), and VideoSource_DCAM().
|
protected |
Definition at line 761 of file VideoSource_DCAM.hh.
Referenced by UserSizeToMode(), and VideoSource_DCAM().
|
protectedinherited |
Capturing framerate.
Definition at line 306 of file VideoSource_Base.hh.
Referenced by CalcBytesPerPacket(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), InitCam(), BIAS::VideoSource_FFmpeg::OpenDevice(), BIAS::VideoSource_FFmpeg::SeekFrame(), SelectDefault(), BIAS::VideoSource::VideoSource(), 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(), GrabSingle(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 787 of file VideoSource_DCAM.hh.
Referenced by GrabSingle(), and VideoSource_DCAM().
|
protectedinherited |
Definition at line 302 of file VideoSource_Base.hh.
Referenced by CalcBytesPerPacket(), 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(), SelectDefault(), BIAS::VideoSource::SetDirectToDisk(), SetLeftTop(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), UserSizeToFormat7_(), UserSizeToMode(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), 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 ActivateExternalTrigger_(), GetBytesPerPacketForFormat7(), GetFeature(), OpenDevice(), and SetFeature().
|
protectedinherited |
Verbose camera descriptor.
Definition at line 369 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::FindCaptureDevice_(), BIAS::VideoSource_V4L::FixIdentifierString_(), BIAS::VideoSource_V4L::GetAllDevices(), BIAS::VideoSource_Disk::OpenDevice(), and BIAS::VideoSource::VideoSource().
|
protected |
Definition at line 775 of file VideoSource_DCAM.hh.
|
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_().
|
staticprotected |
Definition at line 730 of file VideoSource_DCAM.hh.
Referenced by VideoSource_DCAM(), and ~VideoSource_DCAM().
|
protectedinherited |
Must be initialized be the derived classes.
Definition at line 360 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource::VideoSource(), VideoSource_DCAM(), BIAS::VideoSource_uEye::VideoSource_uEye(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
protected |
Definition at line 770 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetLeftTop(), and UserSizeToFormat7_().
|
protected |
Definition at line 781 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 774 of file VideoSource_DCAM.hh.
Referenced by CalcBytesPerPacket(), and QueryCam().
|
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(), 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(), VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 770 of file VideoSource_DCAM.hh.
Referenced by QueryCam(), SetLeftTop(), and UserSizeToFormat7_().
|
protectedinherited |
Definition at line 365 of file VideoSource_Base.hh.
Referenced by BIAS::VideoSource_DSHOW::InitCamControls_(), BIAS::VideoSource_uEye::OpenDevice(), SelectDefault(), BIAS::VideoSource::VideoSource(), VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 770 of file VideoSource_DCAM.hh.
Referenced by QueryCam(), SetLeftTop(), and UserSizeToFormat7_().
|
protected |
Definition at line 774 of file VideoSource_DCAM.hh.
Referenced by CalcBytesPerPacket(), and QueryCam().
|
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(), 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(), 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(), VideoSource_DCAM(), and BIAS::VideoSource_uEye::VideoSource_uEye().
|
protected |
Definition at line 754 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 743 of file VideoSource_DCAM.hh.
Referenced by GetBytesPerPacketForFormat7(), and OpenDevice().
bool BIAS::VideoSource_DCAM::ScorpionTimestampActive_ |
Definition at line 327 of file VideoSource_DCAM.hh.
|
protected |
Definition at line 755 of file VideoSource_DCAM.hh.
Referenced by GetBytesPerPacketForFormat7(), GrabSingle(), InitCam(), OpenDevice(), PostGrab(), PreGrab(), QueryCam(), SelectDefault(), UserSizeToMode(), and VideoSource_DCAM().
|
protected |
Definition at line 779 of file VideoSource_DCAM.hh.
Referenced by GetModelForEuid(), GrabSingle(), and VideoSource_DCAM().
|
protected |
Definition at line 770 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetLeftTop(), and UserSizeToFormat7_().
|
protected |
Definition at line 777 of file VideoSource_DCAM.hh.
Referenced by VideoSource_DCAM().
|
protected |
Definition at line 749 of file VideoSource_DCAM.hh.
Referenced by ActivateExternalTrigger_().
|
protected |
Definition at line 766 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetFirewireB(), and VideoSource_DCAM().
|
protected |
Definition at line 771 of file VideoSource_DCAM.hh.
Referenced by QueryCam(), and UserSizeToFormat7_().
|
protected |
Definition at line 771 of file VideoSource_DCAM.hh.
Referenced by QueryCam(), and UserSizeToFormat7_().
|
protected |
Definition at line 782 of file VideoSource_DCAM.hh.
Referenced by InitCam(), UserSizeToFormat7_(), and VideoSource_DCAM().
|
protected |
Definition at line 763 of file VideoSource_DCAM.hh.
Referenced by VideoSource_DCAM().
|
protected |
Definition at line 767 of file VideoSource_DCAM.hh.
Referenced by InitCam(), SetModeAndFramerate(), and VideoSource_DCAM().
|
protected |
Definition at line 772 of file VideoSource_DCAM.hh.
Referenced by SetLeftTop(), UserSizeToFormat7_(), and VideoSource_DCAM().
|
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 CalcBytesPerPacket(), 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(), SelectDefault(), BIAS::VideoSource::SetDirectToDisk(), SetLeftTop(), BIAS::VideoSource_Shm::SetSize(), BIAS::VideoSource::SetSize(), UserSizeToFormat7_(), UserSizeToMode(), UserSizeToMode_16bit_(), UserSizeToMode_8bit_(), BIAS::VideoSource::VideoSource(), 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().