#include <RegionsOfInterestInfo.h>
Collaboration diagram for Impala::Application::SDash::RegionsOfInterestInfo:
Public Types | |
typedef Core::Geometry::Rectangle | Rectangle |
Public Member Functions | |
RegionsOfInterestInfo (std::string roiInfoFile, int nrOfVideosToCollectRoisFor, const int *const maxFrames, bool invertYaxis=false, bool makeSizesEven=false) | |
~RegionsOfInterestInfo () | |
int | GetFrameWidth () const |
int | GetFrameHeight () const |
int | GetAbsRoiNr (int videoId, int frameNr, int roiNr) const |
RoiInfo | GetRoiInfo (int absRoiNr) const |
const std::vector< Rectangle > & | GetRois (int video, int frame) const |
std::vector< ScaledRegion > | GetRoisScaled (int video, int frame, float scale=1.0f) const |
Private Attributes | |
int | mNrOfVideos |
int | mFrameWidth |
int | mFrameHeight |
std::vector< std::map< int, std::vector< Rectangle > > > | mRois |
const std::vector< Rectangle > | mEmptyList |
std::map< int, int > | mRoiCountPerVideo |
Static Private Attributes | |
static const int | ROI_FRAME_WIDTH |
static const int | ROI_FRAME_HEIGHT |
static const int | ROI_INFO_COUNT |
static const int | ROIS_PER_VIDEO [12] |
Classes | |
struct | ScaledRegion |
Definition at line 29 of file RegionsOfInterestInfo.h.