ItalaCDefs#
Defines
-
MAX_SUPPORTED_DEVICES#
-
MAX_SUPPORTED_INTERFACES#
-
MAX_STRING_LENGTH#
-
DEVINFO_ID_LENGTH#
-
DEVINFO_VENDOR_LENGTH#
-
DEVINFO_MODEL_LENGTH#
-
DEVINFO_DISPLAYNAME_LENGTH#
-
DEVINFO_USERDEFINEDNAME_LENGTH#
-
DEVINFO_SERIALNUMBER_LENGTH#
-
DEVINFO_VERSION_LENGTH#
-
ITFINFO_ID_LENGTH#
-
ITFINFO_DISPLAYNAME_LENGTH#
-
DD_STRIG_LENGTH#
-
DEFINE_HANDLE(name)#
Typedefs
-
typedef int32_t ItalaError#
Type of error returned from ItalaApiC.
See also
-
typedef int32_t DeviceAccessStatus#
See also
-
typedef int32_t DefectType#
See also
-
typedef int32_t PixelDepth#
See also
-
typedef int32_t PolarComponent#
See also
-
typedef int32_t PolarDemosaicingAlgorithm#
See also
Enums
-
enum _ItalaError#
Enumeration for Itala Errors value.
Values:
-
enumerator ItalaErrorSuccess#
No error occures.
-
enumerator ItalaErrorError#
Generic error.
-
enumerator ItalaErrorBadAlloc#
Bad allocation memory.
-
enumerator ItalaErrorInvalidArgument#
Invalid argument passed to function.
-
enumerator ItalaErrorOutOfRange#
Out of range.
-
enumerator ItalaErrorProperty#
Property error.
-
enumerator ItalaErrorRuntime#
Runtime execution error.
-
enumerator ItalaErrorLogical#
Logical runtime error.
-
enumerator ItalaErrorAccess#
Access error, invalid permission.
-
enumerator ItalaErrorTimeout#
Timeout.
-
enumerator ItalaErrorSuccess#
-
enum _DeviceAccessStatus#
Enumeration for Itala device access status value.
Values:
-
enumerator UnknownAccessStatus#
Unknown access status.
-
enumerator AvailableReadWrite#
Available read and write.
-
enumerator AvailableReadOnly#
Available read only.
-
enumerator Unreachable#
Unreachable.
-
enumerator Busy#
Busy.
-
enumerator AlreadyOpenReadWrite#
Already open read and write.
-
enumerator AlreadyOpenReadOnly#
Already open read only.
-
enumerator UnknownAccessStatus#
-
enum _DefectType#
Enumeration for Itala defect type value.
Values:
-
enumerator Leaky#
Leaky.
-
enumerator Hot#
Hot.
-
enumerator Cold#
Cold.
-
enumerator Leaky#
-
enum _PixelDepth#
Enumeration for Itala pixel depth value.
Values:
-
enumerator D8Bit#
D8Bit.
-
enumerator D10Bit#
D10Bit.
-
enumerator D12Bit#
D12Bit.
-
enumerator D8Bit#
-
enum _PolarComponent#
Components of the polarizer filter which represent a specific angle of polarization of the incoming light.
Values:
-
enumerator P0#
P0.
-
enumerator P45#
P45.
-
enumerator P90#
P90.
-
enumerator P135#
P135.
-
enumerator P0#
-
enum _PolarDemosaicingAlgorithm#
Demosaicing algorithm applied to the image. None, NearestNeighbour and Bilinear algorithms give a resulting image with the same pixel format of the original. WeightedBilinear returns 32-bit floating point data. The width and height of the resulting image also depend on the used algorithm. In particular:
None -> w/2, h/2
NearestNeighbour -> w - 2, h - 2
Bilinear -> w - 3, h - 3
WeightedBilinear -> w - 4, h - 4
Values:
-
enumerator NonePolar#
NonePolar.
-
enumerator NearestNeighbour#
NearestNeighbour.
-
enumerator Bilinear#
Bilinear.
-
enumerator WeightedBilinear#
WeightedBilinear.
Functions
- DEFINE_HANDLE (H_DEVICE)
Handle to instance of Device.
- DEFINE_HANDLE (H_IMAGE)
Handle to instance of Image.
- DEFINE_HANDLE (H_DEFECTDETECTION)
Handle to instance of DefectDetection.
- DEFINE_HANDLE (H_NODEMAP)
Handle to instance of Nodemap.
- DEFINE_HANDLE (H_NODE)
Handle to instance of Node.
- DEFINE_HANDLE (H_NODECALLBACK)
Handle to instance of NodeCallback.
-
struct InterfaceInfo#
- #include “ItalaApiC/ItalaCDefs.h”
This is a struct to contain all the data of inteferfaces. This struct contains all the data of the interfaces.
Public Members
-
char ID[ITFINFO_ID_LENGTH]#
The unique ID of the interface.
-
char DisplayName[ITFINFO_DISPLAYNAME_LENGTH]#
String containing the user readable name of the interface.
-
uint32_t IpAddress#
IP address of the interface in host byte order.
-
uint64_t MacAddress#
Mac address of the interface in host byte order.
-
uint32_t SubnetMask#
Subnet mask of the interface in the same format described in IpAddress.
-
char ID[ITFINFO_ID_LENGTH]#
-
struct DeviceInfo#
- #include “ItalaApiC/ItalaCDefs.h”
This is a struct to contain all the data of devices. This struct contains all the data of the devices.
Public Members
-
char ID[DEVINFO_ID_LENGTH]#
Unique ID of the device.
-
char Vendor[DEVINFO_VENDOR_LENGTH]#
Name of the device vendor.
-
char Model[DEVINFO_MODEL_LENGTH]#
Model of the device.
-
char DisplayName[DEVINFO_DISPLAYNAME_LENGTH]#
User readable name of the device.
-
char UserDefinedName[DEVINFO_USERDEFINEDNAME_LENGTH]#
Name of the device defined by the user, when available.
-
char SerialNumber[DEVINFO_SERIALNUMBER_LENGTH]#
Serial number of the device.
-
char Version[DEVINFO_VERSION_LENGTH]#
Version of the physical device.
-
DeviceAccessStatus AccessStatus#
Accessibility status of the device.
-
uint32_t IpAddress#
IP address of the device in host order.
-
uint32_t SubnetMask#
Subnet mask configured on the device in the same format described in IpAddress.
-
uint32_t DefaultGateway#
Default gateway configured on the device according with the same format described in IpAddress()
-
uint64_t MacAddress#
Mac address of the device in host byte order.
-
InterfaceInfo InterfaceInfo#
InterfaceInfo instance of the interface under which the device is connected and enumerated.
-
char ID[DEVINFO_ID_LENGTH]#
-
struct DefectivePixel#
- #include “ItalaApiC/ItalaCDefs.h”
This is a struct to contain all the data of defective pixels. This struct contains all the data of the defective pixel elaboration, is used to store the pixels with different types of problems retrived from the sensor analysis.
Public Members
-
uint64_t X#
The X image coordinate of the defective pixel.
-
uint64_t Y#
The Y image coordinate of the defective pixel.
-
DefectType DefectType#
The type of defect the pixel has.
-
char TypeString[DD_STRIG_LENGTH]#
The string representation of the type of defect the pixel has.
-
uint64_t X#
-
struct PolarComponents#
- #include “ItalaApiC/ItalaCDefs.h”
Convenient POD structure used as container for ExtractAllPolarComponents ‘s multi-result.
-
struct PolarComponentsColor#
- #include “ItalaApiC/ItalaCDefs.h”
Convenient POD structure used as container for ExtractAllPolarComponentsColor ‘s multi-result.
Public Members
-
PolarComponents RedComponents#
Red component containing all the 4 polarized image.
-
PolarComponents GreenComponents#
Green component containing all the 4 polarized image.
-
PolarComponents BlueComponents#
Blue component containing all the 4 polarized image.
-
PolarComponents RedComponents#
-
struct StokesVectors#
- #include “ItalaApiC/ItalaCDefs.h”
Convenient POD structure used as container for ComputeAllStokes ‘s multi-result.