27 #ifndef DETECTIONINFO_H_ 28 #define DETECTIONINFO_H_ 30 #include <QtCore/QMultiMap> 31 #include <QtGui/QTransform> 32 #include <QtCore/QSize> 33 #include <QtCore/QString> 34 #include <opencv2/features2d/features2d.hpp> 100 QMultiMap<int, QSize>::const_iterator iterSizes = info.
objDetectedSizes_.constBegin();
102 for(QMultiMap<int, QTransform>::const_iterator iter=info.
objDetected_.constBegin();
110 out << iterSizes.value();
116 out << iterFilenames.value();
119 out << iterInliers.value();
120 out << iterOutliers.value();
132 QDataStream::Status oldStatus = in.status();
139 for (quint32 i = 0; i < n; ++i) {
140 if (in.status() != QDataStream::Ok)
145 QTransform homography;
147 int inliers, outliers;
148 in >>
id >> size >> homography >> filename >> inliers >> outliers;
155 if (in.status() != QDataStream::Ok)
157 if (oldStatus != QDataStream::Ok)
158 in.setStatus(oldStatus);
QMultiMap< int, QString > objDetectedFilePaths_
QDataStream & operator>>(QDataStream &in, DetectionInfo &info)
QDataStream & operator<<(QDataStream &out, const DetectionInfo &info)
std::vector< cv::KeyPoint > sceneKeypoints_
QMultiMap< int, QSize > objDetectedSizes_
QMultiMap< int, RejectedCode > rejectedCodes_
QMap< int, QMultiMap< int, int > > matches_
cv::Mat sceneDescriptors_
QMultiMap< int, int > objDetectedInliersCount_
QMap< TimeStamp, float > timeStamps_
QMultiMap< int, QTransform > objDetected_
float minMatchedDistance_
QMultiMap< int, QMultiMap< int, int > > rejectedInliers_
QMultiMap< int, QMultiMap< int, int > > objDetectedInliers_
QMultiMap< int, int > objDetectedOutliersCount_
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)
QMultiMap< int, int > sceneWords_
QMultiMap< int, QMultiMap< int, int > > rejectedOutliers_
float maxMatchedDistance_
QMultiMap< int, QMultiMap< int, int > > objDetectedOutliers_