22 #ifndef __lfeat_KeyPointIO_h
23 #define __lfeat_KeyPointIO_h
37 : width(0), height(0), dimensions(0)
40 ImageInfo(
const std::string& filename,
int width,
int height)
41 : filename(filename), width(width), height(height), dimensions(0)
72 virtual void writeHeader (
const ImageInfo& imageinfo,
int nKeypoints,
int dims ) = 0;
74 virtual void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double* vec ) = 0;
76 virtual void writeFooter() = 0;
90 void writeHeader (
const ImageInfo& imageinfo,
int nKeypoints,
int dims );
92 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double* vec );
108 void writeHeader (
const ImageInfo& imageinfo,
int nKeypoints,
int dims );
110 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double* vec );
125 void writeHeader (
const ImageInfo& imageinfo,
int nKeypoints,
int dims );
127 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double* vec );
std::vector< KeyPointPtr > KeyPointVect_t
KeypointWriter(std::ostream &out=std::cout)
Base class for a keypoint writer.
ImageInfo(const std::string &filename, int width, int height)
AutopanoSIFTWriter(std::ostream &out=std::cout)
ImageInfo loadKeypoints(const std::string &filename, KeyPointVect_t &vec)