Blender V4.3
detector.cc File Reference

Go to the source code of this file.

Classes

struct  libmv_Features
 

Macros

#define LIBMV_CONVERT(the_detector)
 

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)
 

Macro Definition Documentation

◆ LIBMV_CONVERT

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

Function Documentation

◆ 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 image(), 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 image(), 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 )