ItalaApiC  1.3.3
Classes | Typedefs | Enumerations | Functions
Definitions

Classes

struct  InterfaceInfo
 This is a struct to contain all the data of inteferfaces. This struct contains all the data of the interfaces. More...
 
struct  DeviceInfo
 This is a struct to contain all the data of devices. This struct contains all the data of the devices. More...
 
struct  DefectivePixel
 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. More...
 
struct  PolarComponents
 Convenient POD structure used as container for ExtractAllPolarComponents 's multi-result. More...
 
struct  PolarComponentsColor
 Convenient POD structure used as container for ExtractAllPolarComponentsColor 's multi-result. More...
 
struct  StokesVectors
 Convenient POD structure used as container for ComputeAllStokes 's multi-result. More...
 

Typedefs

typedef int32_t ItalaError
 
typedef int32_t DeviceAccessStatus
 
typedef int32_t DefectType
 
typedef int32_t PixelDepth
 
typedef int32_t PolarComponent
 
typedef int32_t PolarDemosaicingAlgorithm
 

Enumerations

enum  _ItalaError {
  ItalaErrorSuccess = 0, ItalaErrorError = 1, ItalaErrorBadAlloc = 2, ItalaErrorInvalidArgument = 3,
  ItalaErrorOutOfRange = 4, ItalaErrorProperty = 5, ItalaErrorRuntime = 6, ItalaErrorLogical = 7,
  ItalaErrorAccess = 8, ItalaErrorTimeout = 9
}
 
enum  _DeviceAccessStatus {
  UnknownAccessStatus = 0, AvailableReadWrite = 1, AvailableReadOnly = 2, Unreachable = 3,
  Busy = 4, AlreadyOpenReadWrite = 5, AlreadyOpenReadOnly = 6
}
 
enum  _DefectType { Leaky = 0, Hot = 1, Cold = 2 }
 
enum  _PixelDepth { D8Bit = 0, D10Bit = 1, D12Bit = 2 }
 
enum  _PolarComponent { P0 = 0, P45 = 1, P90 = 2, P135 = 3 }
 
enum  _PolarDemosaicingAlgorithm { NonePolar = 0, NearestNeighbour = 1, Bilinear = 2, WeightedBilinear = 3 }
 

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.
 

Detailed Description

All the definitons needed in ItalaApiC.

Typedef Documentation

◆ ItalaError

Type of error returned from ItalaApiC.

See also
_ItalaError

◆ DeviceAccessStatus

◆ DefectType

See also
_DefectType

◆ PixelDepth

See also
_PixelDepth

◆ PolarComponent

See also
_PolarComponent

◆ PolarDemosaicingAlgorithm

Enumeration Type Documentation

◆ _ItalaError

Enumeration for Itala Errors value.

Enumerator
ItalaErrorSuccess 

No error occures.

ItalaErrorError 

Generic error.

ItalaErrorBadAlloc 

Bad allocation memory.

ItalaErrorInvalidArgument 

Invalid argument passed to function.

ItalaErrorOutOfRange 

Out of range.

ItalaErrorProperty 

Property error.

ItalaErrorRuntime 

Runtime execution error.

ItalaErrorLogical 

Logical runtime error.

ItalaErrorAccess 

Access error, invalid permission.

ItalaErrorTimeout 

Timeout.

◆ _DeviceAccessStatus

Enumeration for Itala device access status value.

Enumerator
UnknownAccessStatus 

Unknown access status.

AvailableReadWrite 

Available read and write.

AvailableReadOnly 

Available read only.

Unreachable 

Unreachable.

Busy 

Busy.

AlreadyOpenReadWrite 

Already open read and write.

AlreadyOpenReadOnly 

Already open read only.

◆ _DefectType

Enumeration for Itala defect type value.

Enumerator
Leaky 

Leaky.

Hot 

Hot.

Cold 

Cold.

◆ _PixelDepth

Enumeration for Itala pixel depth value.

Enumerator
D8Bit 

D8Bit.

D10Bit 

D10Bit.

D12Bit 

D12Bit.

◆ _PolarComponent

Components of the polarizer filter which represent a specific angle of polarization of the incoming light.

Enumerator
P0 

P0.

P45 

P45.

P90 

P90.

P135 

P135.

◆ _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
Enumerator
NonePolar 

NonePolar.

NearestNeighbour 

NearestNeighbour.

Bilinear 

Bilinear.

WeightedBilinear 

WeightedBilinear.