PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
Class for acquiring images from Andor cameras. More...
#include <src/PlusDataCollection/Andor/vtkPlusAndorVideoSource.h>
Public Types | |
enum | AcquisitionMode : int { SingleScan = 1, Accumulate = 2, Kinetics = 3, FastKinetics = 4, RunTillAbort = 5 } |
enum | ReadMode : int { FullVerticalBinning = 0, MultiTrack = 1, RandomTrack = 2, SingleTrack = 3, Image = 4 } |
enum | ShutterMode : int { FullyAuto = 0, PermanentlyOpen = 1, PermanentlyClosed = 2, OpenForFVBSeries = 4, OpenForAnySeries = 5 } |
typedef vtkPlusDevice | Superclass |
enum | TriggerMode : int { Internal = 0, External = 1, ExternalStart = 6, ExternalExposure = 7, ExternalFVBEM = 9, SoftwareTrigger = 10, ExternalChargeShifting = 12 } |
Public Types inherited from vtkPlusDevice | |
typedef vtkImageAlgorithm | Superclass |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlusAndorVideoSource * | New () |
static vtkPlusAndorVideoSource * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPlusDevice | |
static PlusStatus | GetToolReferenceFrameFromTrackedFrame (igsioTrackedFrame &aFrame, std::string &aToolReferenceFrameName) |
static int | IsTypeOf (const char *type) |
static vtkPlusDevice * | New () |
static vtkPlusDevice * | SafeDownCast (vtkObject *o) |
Protected Types | |
using | DataSourceArray = std::vector< vtkPlusDataSource * > |
Protected Member Functions | |
PlusStatus | AcquireFrame () |
void | AddFrameToDataSource (DataSourceArray &ds) |
void | AdjustBuffers (int horizontalBins, int verticalBins) |
void | AdjustSpacing (int horizontalBins, int verticalBins) |
void | ApplyCosmicRayCorrection (int binning, cv::Mat &floatImage) |
void | ApplyFrameCorrections (int binning) |
void | CorrectBadPixels (int binning, cv::Mat &cvIMG) |
void | FindBadCells (int binning) |
bool | GetUseFrameCorrections () |
PlusStatus | InitializeAndorCamera () |
void | InitializePort (DataSourceArray &port) |
virtual PlusStatus | InternalConnect () |
virtual PlusStatus | InternalDisconnect () |
PlusStatus | InternalStartRecording () override |
PlusStatus | InternalStopRecording () override |
PlusStatus | InternalUpdate () override |
void | ResizeFlatCorrectionImage (int binning) |
void | SetCustomFrameFields () |
PlusStatus | SetInitializeCoolerState (bool InitializeCoolerState) |
PlusStatus | SetUseFrameCorrections (bool UseFrameCorrections) |
PlusStatus | TurnCoolerOFF () |
PlusStatus | TurnCoolerON () |
vtkPlusAndorVideoSource () | |
~vtkPlusAndorVideoSource () | |
Protected Member Functions inherited from vtkPlusDevice | |
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, const igsioVideoFrame &frame, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, void *imageDataPtr, US_IMAGE_ORIENTATION usImageOrientation, const FrameSizeType &frameSizeInPx, igsioCommon::VTKScalarPixelType pixelType, unsigned int numberOfScalarComponents, US_IMAGE_TYPE imageType, int numberOfBytesToSkip, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
PlusStatus | EnsureUniqueDataSourceId (const std::string &aSourceId) |
vtkXMLDataElement * | FindInputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
vtkXMLDataElement * | FindOutputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
vtkXMLDataElement * | FindThisDeviceElement (vtkXMLDataElement *rootXMLElement) |
virtual vtkPlusDataCollector * | GetDataCollector () |
double | GetRecordingStartTime () const |
bool | GetStartThreadForInternalUpdates () const |
bool | HasGracePeriodExpired () |
virtual void | InternalWriteInputChannels (vtkXMLDataElement *rootXMLElement) |
virtual void | InternalWriteOutputChannels (vtkXMLDataElement *rootXMLElement) |
virtual void | SetCorrectlyConfigured (bool) |
virtual void | SetRecordingStartTime (double) |
virtual void | SetStartThreadForInternalUpdates (bool) |
virtual PlusStatus | ToolTimeStampedUpdate (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, unsigned long frameNumber, double unfilteredtimestamp, const igsioFieldMapType *customFields=NULL) |
virtual PlusStatus | ToolTimeStampedUpdateWithoutFiltering (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, double unfilteredtimestamp, double filteredtimestamp, const igsioFieldMapType *customFields=NULL) |
vtkPlusDevice () | |
virtual | ~vtkPlusDevice () |
Static Protected Member Functions | |
static void * | AcquireBLIFrameThread (vtkMultiThreader::ThreadInfo *info) |
static void * | AcquireCorrectionFrameThread (vtkMultiThreader::ThreadInfo *info) |
static void * | AcquireGrayscaleFrameThread (vtkMultiThreader::ThreadInfo *info) |
Static Protected Member Functions inherited from vtkPlusDevice | |
static void * | vtkDataCaptureThread (vtkMultiThreader::ThreadInfo *data) |
Additional Inherited Members | |
Public Attributes inherited from vtkPlusDevice | |
double | InternalUpdateRate |
vtkIGSIORecursiveCriticalSection * | UpdateMutex |
vtkTimeStamp | UpdateTime |
Static Public Attributes inherited from vtkPlusDevice | |
static const std::string | BMODE_PORT_NAME = "B" |
static const std::string | PARAMETER_XML_ELEMENT_TAG = "Parameter" |
static const std::string | PARAMETERS_XML_ELEMENT_TAG = "Parameters" |
static const std::string | RFMODE_PORT_NAME = "Rf" |
Static Protected Attributes inherited from vtkPlusDevice | |
static const int | VIRTUAL_DEVICE_FRAME_RATE = 50 |
Class for acquiring images from Andor cameras.
Requires PLUS_USE_ANDOR_CAMERA option in CMake. Requires the Andor SDK (SDK provided by Andor).
Definition at line 25 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 276 of file vtkPlusAndorVideoSource.h.
Definition at line 30 of file vtkPlusAndorVideoSource.h.
Acquisition mode. Valid values: 1 Single Scan 2 Accumulate 3 Kinetics 4 Fast Kinetics 5 Run till abort
Enumerator | |
---|---|
SingleScan | |
Accumulate | |
Kinetics | |
FastKinetics | |
RunTillAbort |
Definition at line 103 of file vtkPlusAndorVideoSource.h.
Readout mode.
Enumerator | |
---|---|
FullVerticalBinning | |
MultiTrack | |
RandomTrack | |
SingleTrack | |
Image |
Definition at line 115 of file vtkPlusAndorVideoSource.h.
Shutter mode: For an external shutter: Output TTL high signal to open shutter.
Enumerator | |
---|---|
FullyAuto | |
PermanentlyOpen | |
PermanentlyClosed | |
OpenForFVBSeries | |
OpenForAnySeries |
Definition at line 54 of file vtkPlusAndorVideoSource.h.
Trigger mode. Valid values: 0. Internal
Enumerator | |
---|---|
Internal | |
External | |
ExternalStart | |
ExternalExposure | |
ExternalFVBEM | |
SoftwareTrigger | |
ExternalChargeShifting |
Definition at line 135 of file vtkPlusAndorVideoSource.h.
|
delete |
|
protected |
Constructor
Definition at line 220 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Destructor
Definition at line 229 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::AbortAcquisition | ( | ) |
Abort the running acquisition process and thread.
Definition at line 921 of file vtkPlusAndorVideoSource.cxx.
|
staticprotected |
Definition at line 791 of file vtkPlusAndorVideoSource.cxx.
|
staticprotected |
Definition at line 893 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Acquire a single frame using current parameters. Data is put in the frameBuffer ivar.
Definition at line 540 of file vtkPlusAndorVideoSource.cxx.
|
staticprotected |
Definition at line 842 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Data from the frameBuffer ivar is added to the provided data source.
Definition at line 577 of file vtkPlusAndorVideoSource.cxx.
Definition at line 407 of file vtkPlusAndorVideoSource.cxx.
Definition at line 434 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Applies cosmic ray correction.
Definition at line 689 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Applies bias correction for dark current, flat correction and lens distortion.
Definition at line 717 of file vtkPlusAndorVideoSource.cxx.
unsigned int vtkPlusAndorVideoSource::checkStatus | ( | unsigned int | returnStatus, |
std::string | functionName | ||
) |
Check the return status of Andor SDK functions.
Definition at line 1494 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Applies correction for bad pixels.
Definition at line 628 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Calculates which cells need bad-pixel correction for the given binning level.
Definition at line 601 of file vtkPlusAndorVideoSource.cxx.
vtkPlusAndorVideoSource::AcquisitionMode vtkPlusAndorVideoSource::GetAcquisitionMode | ( | ) |
Definition at line 1214 of file vtkPlusAndorVideoSource.cxx.
|
inline |
Definition at line 164 of file vtkPlusAndorVideoSource.h.
|
inline |
Definition at line 169 of file vtkPlusAndorVideoSource.h.
std::array< double, 9 > vtkPlusAndorVideoSource::GetCameraIntrinsics | ( | ) |
Definition at line 1281 of file vtkPlusAndorVideoSource.cxx.
unsigned int vtkPlusAndorVideoSource::GetCCDStatus | ( | ) |
Check the status of the SDK.
Definition at line 1451 of file vtkPlusAndorVideoSource.cxx.
|
virtual |
Reimplemented from vtkPlusDevice.
int vtkPlusAndorVideoSource::GetCoolerMode | ( | ) |
Definition at line 1411 of file vtkPlusAndorVideoSource.cxx.
int vtkPlusAndorVideoSource::GetCoolTemperature | ( | ) |
Definition at line 1431 of file vtkPlusAndorVideoSource.cxx.
int vtkPlusAndorVideoSource::GetCurrentTemperature | ( | float * | temperature | ) |
Get the current temperature of the camera in degrees celsius.
Definition at line 492 of file vtkPlusAndorVideoSource.cxx.
std::array< double, 4 > vtkPlusAndorVideoSource::GetDistortionCoefficients | ( | ) |
Definition at line 1296 of file vtkPlusAndorVideoSource.cxx.
float vtkPlusAndorVideoSource::GetExposureTime | ( | ) |
Definition at line 1082 of file vtkPlusAndorVideoSource.cxx.
|
inline |
Definition at line 174 of file vtkPlusAndorVideoSource.h.
float vtkPlusAndorVideoSource::GetHSSpeed | ( | ) |
Get the actual HS Speed in MHz for the current HSSpeed index.
Definition at line 1132 of file vtkPlusAndorVideoSource.cxx.
float vtkPlusAndorVideoSource::GetPreAmpGain | ( | ) |
Get the actual gain factor for the current pre amp gain index.
Definition at line 1194 of file vtkPlusAndorVideoSource.cxx.
int vtkPlusAndorVideoSource::GetPreAmpGainIndex | ( | ) |
Definition at line 1188 of file vtkPlusAndorVideoSource.cxx.
vtkPlusAndorVideoSource::ReadMode vtkPlusAndorVideoSource::GetReadMode | ( | ) |
Definition at line 1228 of file vtkPlusAndorVideoSource.cxx.
bool vtkPlusAndorVideoSource::GetRequireCoolTemp | ( | ) |
Definition at line 1311 of file vtkPlusAndorVideoSource.cxx.
int vtkPlusAndorVideoSource::GetSafeTemperature | ( | ) |
Definition at line 1445 of file vtkPlusAndorVideoSource.cxx.
|
virtual |
Get the version of SDK
Reimplemented from vtkPlusDevice.
Definition at line 207 of file vtkPlusAndorVideoSource.cxx.
vtkPlusAndorVideoSource::ShutterMode vtkPlusAndorVideoSource::GetShutter | ( | ) |
Definition at line 1068 of file vtkPlusAndorVideoSource.cxx.
std::vector< double > vtkPlusAndorVideoSource::GetSpacing | ( | ) |
Definition at line 483 of file vtkPlusAndorVideoSource.cxx.
vtkPlusAndorVideoSource::TriggerMode vtkPlusAndorVideoSource::GetTriggerMode | ( | ) |
Definition at line 1242 of file vtkPlusAndorVideoSource.cxx.
bool vtkPlusAndorVideoSource::GetUseCosmicRayCorrection | ( | ) |
Definition at line 1268 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Definition at line 1255 of file vtkPlusAndorVideoSource.cxx.
float vtkPlusAndorVideoSource::GetVSSpeed | ( | ) |
Get the actual VS Speed in microseconds per pixel shift for the current VSSpeed index.
Definition at line 1163 of file vtkPlusAndorVideoSource.cxx.
int vtkPlusAndorVideoSource::GetVSSpeedIndex | ( | ) |
Definition at line 1157 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Initialize vtkPlusAndorVideoSource
Initialize custom fields of this data source
Definition at line 238 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Initialize all data sources of the provided port
Definition at line 307 of file vtkPlusAndorVideoSource.cxx.
|
protectedvirtual |
Device-specific connect
Reimplemented from vtkPlusDevice.
Definition at line 322 of file vtkPlusAndorVideoSource.cxx.
|
protectedvirtual |
Device-specific disconnect
Reimplemented from vtkPlusDevice.
Definition at line 358 of file vtkPlusAndorVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific recording start
Reimplemented from vtkPlusDevice.
Definition at line 395 of file vtkPlusAndorVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific recording stop
Reimplemented from vtkPlusDevice.
Definition at line 401 of file vtkPlusAndorVideoSource.cxx.
|
inlineoverrideprotectedvirtual |
This will be triggered regularly if this->StartThreadForInternalUpdates is true. Framerate is controlled by this->AcquisitionRate. This is meant for debugging.
Reimplemented from vtkPlusDevice.
Definition at line 321 of file vtkPlusAndorVideoSource.h.
|
virtual |
Reimplemented from vtkPlusDevice.
bool vtkPlusAndorVideoSource::IsAcquisitionThreadRunning | ( | ) |
Check if the acquisition thread is running. Calling StartAcquisition() without calling PrepareAcquisition() beforehand can result in some delays while the device allocates memory for e.g., different binning sizes, so use this check to determine whether the acquisition thread has completed.
Definition at line 1488 of file vtkPlusAndorVideoSource.cxx.
bool vtkPlusAndorVideoSource::IsCCDAcquiring | ( | ) |
Check if the Andor CCD is acquiring.
Definition at line 1460 of file vtkPlusAndorVideoSource.cxx.
bool vtkPlusAndorVideoSource::IsCoolerOn | ( | ) |
Definition at line 1351 of file vtkPlusAndorVideoSource.cxx.
|
inlinevirtual |
Specify the device connected to this class
Reimplemented from vtkPlusDevice.
Definition at line 34 of file vtkPlusAndorVideoSource.h.
|
static |
|
static |
Constructor for a smart pointer of this class
|
virtual |
Verify the device is correctly configured
Reimplemented from vtkPlusDevice.
Definition at line 194 of file vtkPlusAndorVideoSource.cxx.
|
delete |
void vtkPlusAndorVideoSource::PrepareAcquisition | ( | ) |
Prepare acquisition now, so acquisition itself takes shorter.
Definition at line 1466 of file vtkPlusAndorVideoSource.cxx.
|
virtual |
Reimplemented from vtkPlusDevice.
Definition at line 34 of file vtkPlusAndorVideoSource.cxx.
|
virtual |
Read configuration from xml data
Reimplemented from vtkPlusDevice.
Definition at line 63 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Resizes flat correction image depeding on the binning
Definition at line 1022 of file vtkPlusAndorVideoSource.cxx.
|
static |
PlusStatus vtkPlusAndorVideoSource::SetAcquisitionMode | ( | AcquisitionMode | acquisitionMode | ) |
Definition at line 1206 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetBadPixelCorrectionImage | ( | const std::string | badPixelFilePath | ) |
Paths to correction images for dead pixels, additive and multiplicative bias.
Definition at line 934 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetBiasDarkCorrectionImage | ( | const std::string | biasDarkFilePath | ) |
Definition at line 961 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetCameraIntrinsics | ( | std::array< double, 9 > | intrinsics | ) |
Data for setting undistortion coefficients.
Definition at line 1274 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetCoolerMode | ( | int | mode | ) |
Cooler Mode control. When CoolerMode is set on, the cooler will be kept on when the camera is shutdown. This is helpful to reduce the number of cooling cycles the camera undergoes. Power loss to the camera will result in the camera returning to ambient temperature.
Definition at line 1390 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetCoolerState | ( | bool | coolerState | ) |
Turn the cooler on/off.
Definition at line 1327 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetCoolTemperature | ( | int | coolTemp | ) |
Normal operating temperature (degrees celsius).
Definition at line 1417 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Set some acquisition parameters as per-frame header fields
Definition at line 447 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetDistortionCoefficients | ( | std::array< double, 4 > | coefficients | ) |
Definition at line 1289 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetExposureTime | ( | float | exposureTime | ) |
Frame exposure time, seconds. Sets to the nearest valid value not less than the given value.
Definition at line 1074 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetFlatCorrectionImage | ( | const std::string | flatFilePath | ) |
Definition at line 986 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetFrameFieldImageToReferenceTransform | ( | std::array< float, 16 > | transform | ) |
Definition at line 476 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetHorizontalBins | ( | int | bins | ) |
Horizontal and vertical binning. Allowed values: 1, 2, 4, 8.
Definition at line 1088 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetHSSpeed | ( | int | type, |
int | index | ||
) |
Set horizontal shift speed.
Definition at line 1118 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Setting to true means cooler turns on at startup. Setting to false means cooler state doesn't change on start. Therefore use false if your previous session was set to maintain temperature on ShutDown.
Definition at line 1317 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetPreAmpGainIndex | ( | int | preAmpGainIndex | ) |
Index of the pre-amp gain, not the actual value.
Definition at line 1175 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetReadMode | ( | ReadMode | setReadMode | ) |
Definition at line 1220 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetRequireCoolTemp | ( | bool | RequireCoolTemp | ) |
Dev flag whether to require the Camera to be at the Cool Temperature to acquire frames. It can be set to false to acquire frames even though not at the cool temperature.
Definition at line 1304 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetSafeTemperature | ( | int | safeTemp | ) |
Lowest temperature at which it is safe to shut down the camera.
Definition at line 1437 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetShutter | ( | ShutterMode | shutter | ) |
Definition at line 1034 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetShutterClosingTimeMilliseconds | ( | int | closingTime | ) |
Definition at line 1042 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetShutterOpeningTimeMilliseconds | ( | int | openingTime | ) |
Definition at line 1055 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetTriggerMode | ( | TriggerMode | triggerMode | ) |
Definition at line 1234 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetUseCosmicRayCorrection | ( | bool | UseCosmicRayCorrection | ) |
Flag whether to call ApplyCosmicRayCorrection of BLI acquisitions or not.
Definition at line 1261 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Flag whether to call ApplyFrameCorrections on the raw acquired frame on acquisition or to skip frame corrections.
Definition at line 1248 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetVerticalBins | ( | int | bins | ) |
Definition at line 1103 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::SetVSSpeedIndex | ( | int | index | ) |
Set index to use in the vertical shift speed table.
Definition at line 1144 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::StartBLIFrameAcquisition | ( | int | binning, |
int | vsSpeed, | ||
int | hsSpeed, | ||
float | exposureTime, | ||
int | shutterCloseTime = 0 , |
||
int | shutterOpenTime = 0 |
||
) |
-1 uses currently active settings.
Definition at line 769 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::StartCorrectionFrameAcquisition | ( | std::string | correctionFilePath, |
ShutterMode | shutter, | ||
int | binning, | ||
int | vsSpeed, | ||
int | hsSpeed, | ||
float | exposureTime, | ||
int | shutterCloseTime = 0 , |
||
int | shutterOpenTime = 0 |
||
) |
Convenience function to save a bias frame for a certain binning/speed configuration.
Definition at line 870 of file vtkPlusAndorVideoSource.cxx.
PlusStatus vtkPlusAndorVideoSource::StartGrayscaleFrameAcquisition | ( | int | binning, |
int | vsSpeed, | ||
int | hsSpeed, | ||
float | exposureTime, | ||
int | shutterCloseTime = 0 , |
||
int | shutterOpenTime = 0 |
||
) |
-1 uses currently active settings.
Definition at line 819 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Definition at line 1377 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Definition at line 1363 of file vtkPlusAndorVideoSource.cxx.
bool vtkPlusAndorVideoSource::WaitForAcquisitionWithTimeout | ( | double | maximumWaitTimeInSeconds, |
int | sleepQuantumMilliseconds = 10 |
||
) |
Definition at line 1471 of file vtkPlusAndorVideoSource.cxx.
void vtkPlusAndorVideoSource::WaitForCooldown | ( | ) |
Wait for the camera to reach operating temperature (e.g. -70°C).
Definition at line 501 of file vtkPlusAndorVideoSource.cxx.
void vtkPlusAndorVideoSource::WaitForWarmup | ( | ) |
Wait for the camera to reach safe temperature for poweroff (e.g. -20°C). From Andor Employee: Only Classic, ICCD and cameras with a fibre attached must have their cooling and warming up controlled at a particular rate. For everything else you can just call ShutDown and the camera will safely return to room temperature. Classic systems are cameras that use our original PCI controller cards eg CCI-010 or CCI-001.
Definition at line 520 of file vtkPlusAndorVideoSource.cxx.
|
virtual |
Write configuration to xml data
Reimplemented from vtkPlusDevice.
Definition at line 159 of file vtkPlusAndorVideoSource.cxx.
|
protected |
Definition at line 391 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 393 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 397 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 396 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 389 of file vtkPlusAndorVideoSource.h.
|
protected |
Temperatures are in °C (degrees Celsius)
Definition at line 377 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 378 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 380 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 384 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 407 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 390 of file vtkPlusAndorVideoSource.h.
|
protected |
Acquisition parameters used in the acquisition thread.
Definition at line 356 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 357 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 359 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 361 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 363 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 362 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 358 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 360 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 346 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 392 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 382 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 399 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 398 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 347 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 349 of file vtkPlusAndorVideoSource.h.
|
protected |
Frame field for image transform. Since applications of this device are mainly stationary, don't use a tracker and just set the transform manually.
Definition at line 405 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 332 of file vtkPlusAndorVideoSource.h.
|
protected |
From AndorSDK:=> 1: Single Scan 2: Accumulate 3: Kinetics 4: Fast Kinetics 5: Run till abort
Definition at line 368 of file vtkPlusAndorVideoSource.h.
|
protected |
From AndorSDK:=> 0: Full Vertical Binning 1: Multi-Track 2: Random-Track 3: Single-Track 4: Image
Definition at line 371 of file vtkPlusAndorVideoSource.h.
|
protected |
From AndorSDK:=> 0. Internal 1. External 6. External Start 7. External Exposure(Bulb) 9. External FVB EM(only valid for EM Newton models in FVB mode) 10. Software Trigger 12. External Charge Shifting
Definition at line 374 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 401 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 351 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 383 of file vtkPlusAndorVideoSource.h.
|
protected |
Dev flag whether to require the Camera to be at the Cool Temperature to acquire frames. It can be set to false to acquire frames even though not at the cool temperature.
Definition at line 337 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 379 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 394 of file vtkPlusAndorVideoSource.h.
|
protected |
Internal variables.
Definition at line 343 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 345 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 344 of file vtkPlusAndorVideoSource.h.
|
protected |
Use a separate thread for acquisition tasks.
Definition at line 410 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 411 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 353 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 352 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 348 of file vtkPlusAndorVideoSource.h.
|
protected |
Definition at line 350 of file vtkPlusAndorVideoSource.h.