|
| std::size_t | count () const |
| | Number of events integrated in the representation.
|
| TimeType | firstTimestamp () const |
| | Timestamp of the oldest event integrated in the representation.
|
| TimeType | lastTimestamp () const |
| | Timestamp of the newest event integrated in the representation.
|
| void | clear () |
| | Remove all events from the representation.
|
| void | clear (const cv::Mat &background, const cv::Point &origin={0, 0}) |
| | Remove all events from the representation and add a background image.
|
| bool | insert (const Event_< E > &e) |
| | Insert one event in the representation.
|
| template<std::size_t N> |
| bool | insert (const Array_< E, N > &array) |
| | Insert an array of events in the representation.
|
| bool | insert (const Vector_< E > &vector) |
| | Insert a vector of events in the representation.
|
| bool | insert (Queue_< E > &queue, const bool keep_events_in_queue=false) |
| | Insert a queue of events in the representation.
|
| void | setTimeOffset (const Event_< E > &e) |
| | Set time offset.
|
| void | setValue (const bool polarity, const Type &value) |
| | Set values for ON and OFF pixels.
|
| void | setValue (const Type &value) |
| | Set value for non-activated pixels (background).
|
| void | setValues (const Type &positive, const Type &negative, const Type &reset) |
| | Set values for ON, OFF, and non-activated pixels.
|
| void | setColor (const bool polarity, const cv::viz::Color &color) |
| | Set colors for ON and OFF pixels. For more information, please refer here.
|
| void | setColor (const cv::viz::Color &color) |
| | Set colors for non-activated pixels (background). For more information, please refer here.
|
| void | setColors (const cv::viz::Color &positive, const cv::viz::Color &negative, const cv::viz::Color &reset) |
| | Set colors for ON, OFF, and non-activated pixels. For more information, please refer here.
|
| void | setColormap (const cv::ColormapTypes cm) |
| | Set colormap for the representation.
|
| ResultType | duration () const |
| | Time difference between the last and the first event.
|
| ResultType | rate () const |
| | Compute event rate as the ratio between the number of events and the time difference between the last and the first event.
|
| ResultType | density (const cv::Size size) const |
| | Compute event density as the ratio between the number of events and the number of pixels.
|
| std::size_t | activePixels () const |
| | Count the pixels with at least one event.
|
| ResultType | fillRatio (const cv::Size size) const |
| | Compute fill ratio as the fraction of pixels with at least one event.
|
| ResultType | polarityRatio (const PolarityType p) const |
| | Compute polarity ratio as the fraction of events with the given polarity.
|
| Event_< ResultType > | mean () const |
| | Compute the mean of the events.
|
| cv::Point_< ResultType > | meanPoint () const |
| | Compute the mean x,y point of the events.
|
| cv::Matx< ResultType, 2, 2 > | covariance () const |
| | Compute the covariance of the x,y coordinates of the events around meanPoint().
|
| cv::Rect | boundingBox () const |
| | Compute the smallest rectangle of pixels containing the events.
|
| ResultType | meanTime () const |
| | Compute the mean time of the events.
|
| ResultType | midTime () const |
| | Calculate the midpoint time between the oldest and the newest event.
|
| std::size_t | peak () const |
| | Find the largest number of events on a single pixel.
|
| ResultType | entropy () const |
| | Compute the Shannon entropy of the spatial distribution of the events.
|
template<typename T, const RepresentationOptions Options = RepresentationOptions::NONE, typename E = int>
class ev::AbstractRepresentation_< T, Options, E >
This is an auxiliary class. This class cannot be instanced.