OpenEV
Extending OpenCV to event-based vision
Loading...
Searching...
No Matches
types.hpp File Reference

Basic event-based vision structures based on OpenCV components. More...

#include "openev/core/undistortion.hpp"
#include "openev/utils/logger.hpp"
#include <array>
#include <cmath>
#include <cstdint>
#include <iosfwd>
#include <opencv2/core/base.hpp>
#include <opencv2/core/matx.hpp>
#include <opencv2/core/types.hpp>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  ev::Event_< T >
 This class extends cv::Point_<T> for event data. For more information, please refer here. More...
 
class  ev::AugmentedEvent_< T >
 This class extends Event to include: weigth, depth, and stereo. More...
 
class  ev::Size3_< T >
 This class extends cv::Size_<T> for event data. For more information, please refer here. More...
 
class  ev::Rect3_< T >
 This class extends cv::Rect_<T> for event data. For more information, please refer here. More...
 
struct  ev::Circ_< T >
 This class defines a circle given its center and radius. More...
 

Typedefs

using ev::Eventi = Event_<int>
 
using ev::Eventl = Event_<long>
 
using ev::Eventf = Event_<float>
 
using ev::Eventd = Event_<double>
 
using ev::Event = Eventi
 
using ev::AugmentedEventi = AugmentedEvent_<int>
 
using ev::AugmentedEventl = AugmentedEvent_<long>
 
using ev::AugmentedEventf = AugmentedEvent_<float>
 
using ev::AugmentedEventd = AugmentedEvent_<double>
 
using ev::AugmentedEvent = AugmentedEventi
 
template<typename T >
using ev::Size2_ = cv::Size_<T>
 This class extends cv::Size_<T> for event data. For more information, please refer here.
 
using ev::Size2i = Size2_<int>
 
using ev::Size2l = Size2_<long>
 
using ev::Size2f = Size2_<float>
 
using ev::Size2d = Size2_<double>
 
using ev::Size2 = Size2i
 
using ev::Size = Size2
 
using ev::Size3i = Size3_<int>
 
using ev::Size3l = Size3_<long>
 
using ev::Size3f = Size3_<float>
 
using ev::Size3d = Size3_<double>
 
using ev::Size3 = Size3i
 
template<typename T >
using ev::Rect2_ = cv::Rect_<T>
 This class extends cv::Rect_<T> for event data. For more information, please refer here.
 
using ev::Rect2i = Rect2_<int>
 
using ev::Rect2l = Rect2_<long>
 
using ev::Rect2f = Rect2_<float>
 
using ev::Rect2d = Rect2_<double>
 
using ev::Rect2 = Rect2i
 
using ev::Rect = Rect2
 
using ev::Rect3i = Rect3_<int>
 
using ev::Rect3l = Rect3_<long>
 
using ev::Rect3f = Rect3_<float>
 
using ev::Rect3d = Rect3_<double>
 
using ev::Rect3 = Rect3i
 
using ev::Circi = Circ_<int>
 
using ev::Circl = Circ_<long>
 
using ev::Circf = Circ_<float>
 
using ev::Circd = Circ_<double>
 
using ev::Circ = Circi
 

Enumerations

enum class  Stereo : char { LEFT = 'L' , RIGHT = 'R' }
 
enum  DistanceTypes : uint8_t {
  DISTANCE_NORM_INF = cv::NORM_INF , DISTANCE_NORM_L1 = cv::NORM_L1 , DISTANCE_NORM_L2 = cv::NORM_L2 , DISTANCE_NORM_L2SQR = cv::NORM_L2SQR ,
  DISTANCE_NORM_MANHATTAN = DISTANCE_NORM_L1 , DISTANCE_NORM_EUCLIDEAN = DISTANCE_NORM_L2 , DISTANCE_FLAG_SPATIAL = 0b00010000 , DISTANCE_FLAG_TEMPORAL = 0b00100000 ,
  DISTANCE_FLAG_SPATIOTEMPORAL = 0b01000000 , DISTANCE_FLAG_3D = DISTANCE_FLAG_SPATIOTEMPORAL , DISTANCE_FLAG_2D = DISTANCE_FLAG_SPATIAL
}
 

Variables

constexpr bool ev::POSITIVE = true
 
constexpr bool ev::NEGATIVE = false
 

Detailed Description

Basic event-based vision structures based on OpenCV components.

Implementation of types.

Author
Raul Tapia

Typedef Documentation

◆ AugmentedEvent

using ev::AugmentedEvent = AugmentedEventi

Alias for AugmentedEvent_ using int

◆ AugmentedEventd

using ev::AugmentedEventd = AugmentedEvent_<double>

Alias for AugmentedEvent_ using double

◆ AugmentedEventf

using ev::AugmentedEventf = AugmentedEvent_<float>

Alias for AugmentedEvent_ using float

◆ AugmentedEventi

using ev::AugmentedEventi = AugmentedEvent_<int>

Alias for AugmentedEvent_ using int

◆ AugmentedEventl

using ev::AugmentedEventl = AugmentedEvent_<long>

Alias for AugmentedEvent_ using long

◆ Circ

using ev::Circ = Circi

Alias for Circ_ using int

◆ Circd

using ev::Circd = Circ_<double>

Alias for Circ_ using double

◆ Circf

using ev::Circf = Circ_<float>

Alias for Circ_ using float

◆ Circi

using ev::Circi = Circ_<int>

Alias for Circ_ using int

◆ Circl

using ev::Circl = Circ_<long>

Alias for Circ_ using long

◆ Event

using ev::Event = Eventi

Alias for Event_ using int

◆ Eventd

using ev::Eventd = Event_<double>

Alias for Event_ using double

◆ Eventf

using ev::Eventf = Event_<float>

Alias for Event_ using float

◆ Eventi

using ev::Eventi = Event_<int>

Alias for Event_ using int

◆ Eventl

using ev::Eventl = Event_<long>

Alias for Event_ using long

◆ Rect

using ev::Rect = Rect2

Alias for Rect2_ using int

◆ Rect2

using ev::Rect2 = Rect2i

Alias for Rect2_ using int

◆ Rect2_

template<typename T >
using ev::Rect2_ = cv::Rect_<T>

This class extends cv::Rect_<T> for event data. For more information, please refer here.

Analogously to OpenCV library, the following aliases are defined for convenience:

using Rect2i = Rect2_<int>;
using Rect2l = Rect2_<long>;
using Rect2f = Rect2_<float>;
using Rect2d = Rect2_<double>;
using Rect2 = Rect2i;
using Rect = Rect2;

◆ Rect2d

using ev::Rect2d = Rect2_<double>

Alias for Rect2_ using double

◆ Rect2f

using ev::Rect2f = Rect2_<float>

Alias for Rect2_ using float

◆ Rect2i

using ev::Rect2i = Rect2_<int>

Alias for Rect2_ using int

◆ Rect2l

using ev::Rect2l = Rect2_<long>

Alias for Rect2_ using long

◆ Rect3

using ev::Rect3 = Rect3i

Alias for Rect3_ using int

◆ Rect3d

using ev::Rect3d = Rect3_<double>

Alias for Rect3_ using double

◆ Rect3f

using ev::Rect3f = Rect3_<float>

Alias for Rect3_ using float

◆ Rect3i

using ev::Rect3i = Rect3_<int>

Alias for Rect3_ using int

◆ Rect3l

using ev::Rect3l = Rect3_<long>

Alias for Rect3_ using long

◆ Size

using ev::Size = Size2

Alias for Size2_ using int

◆ Size2

using ev::Size2 = Size2i

Alias for Size2_ using int

◆ Size2_

template<typename T >
using ev::Size2_ = cv::Size_<T>

This class extends cv::Size_<T> for event data. For more information, please refer here.

Analogously to OpenCV library, the following aliases are defined for convenience:

using Size2i = Size2_<int>;
using Size2l = Size2_<long>;
using Size2f = Size2_<float>;
using Size2d = Size2_<double>;
using Size2 = Size2i;
using Size = Size2;

◆ Size2d

using ev::Size2d = Size2_<double>

Alias for Size2_ using double

◆ Size2f

using ev::Size2f = Size2_<float>

Alias for Size2_ using float

◆ Size2i

using ev::Size2i = Size2_<int>

Alias for Size2_ using int

◆ Size2l

using ev::Size2l = Size2_<long>

Alias for Size2_ using long

◆ Size3

using ev::Size3 = Size3i

Alias for Size3_ using int

◆ Size3d

using ev::Size3d = Size3_<double>

Alias for Size3_ using double

◆ Size3f

using ev::Size3f = Size3_<float>

Alias for Size3_ using float

◆ Size3i

using ev::Size3i = Size3_<int>

Alias for Size3_ using int

◆ Size3l

using ev::Size3l = Size3_<long>

Alias for Size3_ using long

Variable Documentation

◆ NEGATIVE

bool ev::NEGATIVE = false
constexpr

◆ POSITIVE

bool ev::POSITIVE = true
constexpr