Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub

Model structure. More...

#include <SimdMotion.hpp>

Public Member Functions

 Model (const Model &model)
 
 Model (const FSize &size_=FSize(0.1, 0.1), const FPoints &roi_=FPoints())
 
 Model (const FSize &size_, const View &mask_)
 
Modeloperator= (const Model &model)
 

Data Fields

FSize size
 A minimal size of object to detect. ONVIF size is restricted by range [0, 2].
 
FPoints roi
 A ROI (region of interest). ONVIF coordinates is restricted by range [-1, 1].
 
View mask
 A ROI (region of interest) mask. It must be 8-bit gray image.
 

Detailed Description

Model structure.

Describes screen scene. It is used by Simd::Motion::Detector for algorithm calibration.

Constructor & Destructor Documentation

◆ Model() [1/3]

Model ( const Model model)

Copy constructor of Model.

Parameters
[in]model- other model.

◆ Model() [2/3]

Model ( const FSize size_ = FSize(0.1, 0.1),
const FPoints roi_ = FPoints() 
)

Constructs Model structure on the base of detected object size and ROI polygon.

Parameters
[in]size_- a minimal size of detected object. It is default value is (0.1, 0.1) ~ 0.25% of screen area.
[in]roi_- a ROI (region of interest). It is empty by default (all screen).

◆ Model() [3/3]

Model ( const FSize size_,
const View mask_ 
)

Constructs Model structure on the base of detected object size and ROI mask.

Parameters
[in]size_- a minimal size of detected object.
[in]mask_- a ROI (region of interest) mask. It must be 8-bit gray image.

Member Function Documentation

◆ operator=()

Model & operator= ( const Model model)

Copy operator.

Parameters
[in]model- other model.