Blender V5.0
detector.cc File Reference

Go to the source code of this file.

Classes

struct  libmv_Features
struct  DetectOptions
struct  Feature

Macros

#define LIBMV_CONVERT(the_detector)

Typedefs

typedef Array3Df FloatImage

Functions

libmv_Featureslibmv_detectFeaturesByte (const unsigned char *image_buffer, int width, int height, int channels, libmv_DetectOptions *options)
libmv_Featureslibmv_detectFeaturesFloat (const float *image_buffer, int width, int height, int channels, libmv_DetectOptions *options)
void libmv_featuresDestroy (libmv_Features *libmv_features)
int libmv_countFeatures (const libmv_Features *libmv_features)
void libmv_getFeature (const libmv_Features *libmv_features, int number, double *x, double *y, double *score, double *size)
void Detect (const FloatImage &image, const DetectOptions &options, vector< Feature > *detected_features)

Macro Definition Documentation

◆ LIBMV_CONVERT

#define LIBMV_CONVERT ( the_detector)
Value:
case LIBMV_DETECTOR_##the_detector: \
detector_options->type = DetectOptions::the_detector; \
break;

Typedef Documentation

◆ FloatImage

Function Documentation

◆ Detect()

void libmv::Detect ( const FloatImage & image,
const DetectOptions & options,
vector< Feature > * detected_features )

Definition at line 347 of file detect.cc.

Referenced by libmv_detectFeaturesByte(), and libmv_detectFeaturesFloat().

◆ libmv_countFeatures()

int libmv_countFeatures ( const libmv_Features * libmv_features)

Definition at line 111 of file detector.cc.

References libmv_Features::count.

Referenced by detect_retrieve_libmv_features().

◆ libmv_detectFeaturesByte()

libmv_Features * libmv_detectFeaturesByte ( const unsigned char * image_buffer,
int width,
int height,
int channels,
libmv_DetectOptions * options )

Definition at line 60 of file detector.cc.

References Detect(), libmv_byteBufferToFloatImage(), options, and result.

Referenced by run_configured_detector().

◆ libmv_detectFeaturesFloat()

libmv_Features * libmv_detectFeaturesFloat ( const float * image_buffer,
int width,
int height,
int channels,
libmv_DetectOptions * options )

Definition at line 82 of file detector.cc.

References Detect(), libmv_floatBufferToFloatImage(), options, and result.

Referenced by run_configured_detector().

◆ libmv_featuresDestroy()

void libmv_featuresDestroy ( libmv_Features * libmv_features)

Definition at line 104 of file detector.cc.

References libmv_Features::features, and LIBMV_STRUCT_DELETE.

Referenced by run_configured_detector().

◆ libmv_getFeature()

void libmv_getFeature ( const libmv_Features * libmv_features,
int number,
double * x,
double * y,
double * score,
double * size )