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

_ItalaError

typedef int32_t DeviceAccessStatus#

typedef int32_t DefectType#

See also

_DefectType

typedef int32_t PixelDepth#

See also

_PixelDepth

typedef int32_t PolarComponent#

See also

_PolarComponent

typedef int32_t PolarDemosaicingAlgorithm#

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.

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.

enum _DefectType#

Enumeration for Itala defect type value.

Values:

enumerator Leaky#

Leaky.

enumerator Hot#

Hot.

enumerator Cold#

Cold.

enum _PixelDepth#

Enumeration for Itala pixel depth value.

Values:

enumerator D8Bit#

D8Bit.

enumerator D10Bit#

D10Bit.

enumerator D12Bit#

D12Bit.

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.

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.

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.

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.

struct PolarComponents#
#include “ItalaApiC/ItalaCDefs.h”

Convenient POD structure used as container for ExtractAllPolarComponents ‘s multi-result.

Public Members

H_IMAGE P0#

P0 image.

H_IMAGE P45#

P45 image.

H_IMAGE P90#

P90 image.

H_IMAGE P135#

P135 image.

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.

struct StokesVectors#
#include “ItalaApiC/ItalaCDefs.h”

Convenient POD structure used as container for ComputeAllStokes ‘s multi-result.

Public Members

H_IMAGE S0#

S0 stokes vector.

H_IMAGE S1#

S1 stokes vector.

H_IMAGE S2#

S2 stokes vector.