camera class for f4320 for Quad More...
#include <Quad.h>
Public Member Functions | |
void | OpenConnection (const std::string &ioType, const std::string &DeviceAddr, const uint16_t FirmwareRev, const uint16_t Id) |
void | StartExposure (double Duration, bool IsLight) |
bool | IsPixelReorderOn () |
void | SetPixelReorder (const bool TurnOn) |
int32_t | GetNumAdChannels () |
double | GetTempHeatsink () |
Protected Member Functions | |
Quad (const std::string &ioType, const std::string &DeviceAddr) | |
void | FixImgFromCamera (const std::vector< uint16_t > &data, std::vector< uint16_t > &out, int32_t rows, int32_t cols) |
void | CreateCamIo (const std::string &ioType, const std::string &DeviceAddr) |
bool | IsRoiCenteredAndSymmetric (uint16_t ccdLen, uint16_t startingPos, uint16_t roiLen) |
void | ExposureAndGetImgRC (uint16_t &r, uint16_t &c) |
camera class for f4320 for Quad
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2011 Apogee Imaging Systems, Inc.
int32_t Quad::GetNumAdChannels | ( | ) | [virtual] |
Returns the number of channels on the camera's AD converters.
std::runtime_error |
Implements ApogeeCam.
double Quad::GetTempHeatsink | ( | ) | [virtual] |
void Quad::OpenConnection | ( | const std::string & | ioType, | |
const std::string & | DeviceAddr, | |||
const uint16_t | FirmwareRev, | |||
const uint16_t | Id | |||
) | [virtual] |
Opens a connection from the PC to the camera. The results strings from the FindDeviceUsb::Find() and the FindDeviceEthernet::Find() functions. provide the input into this function.
[in] | ioType | specifies camera IO interface 'usb' or 'ethernet' |
[in] | DeviceAddr | specifies the address of the camera on the interface |
[in] | FirmwareRev | Camera's firmware revision. Used to verify interface connection. |
[in] | Id | Camera's ID. Used to verify interface connection and setup camera specfic parameters. |
std::runtime_error |
Implements ApogeeCam.
void Quad::StartExposure | ( | double | Duration, | |
bool | IsLight | |||
) | [virtual] |
This method begins the imaging process. The type of exposure taken is depends on various state variables including the CameraMode and TriggerMode.
[in] | Duration | Length of the exposure(s), in seconds. The valid range for this parameter is GetMinExposureTime() to GetMaxExposureTime(). |
[in] | Determines | whether the exposure is a light or dark/bias frame. A light frame requires this parameter to be set to true, while a dark frame requires this parameter to be false. |
std::runtime_error |
Implements ApogeeCam.