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)
92 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double*
vec );
110 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double*
vec );
127 void writeKeypoint (
double x,
double y,
double scale,
double orientation,
double score,
int dims,
double*
vec );
AutopanoSIFTWriter(std::ostream &out=std::cout)
Base class for a keypoint writer.
virtual void writeFooter()=0
KeypointWriter(std::ostream &out=std::cout)
virtual void writeHeader(const ImageInfo &imageinfo, int nKeypoints, int dims)=0
virtual void writeKeypoint(double x, double y, double scale, double orientation, double score, int dims, double *vec)=0
ImageInfo loadKeypoints(const std::string &filename, KeyPointVect_t &vec)
std::vector< KeyPointPtr > KeyPointVect_t
ImageInfo(const std::string &filename, int width, int height)
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.