Blender  V3.3
Classes | Macros | Functions
detector.cc File Reference
#include "intern/detector.h"
#include "intern/image.h"
#include "intern/utildefines.h"
#include "libmv/simple_pipeline/detect.h"

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 110 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 
)

◆ libmv_detectFeaturesFloat()

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

◆ libmv_featuresDestroy()

void libmv_featuresDestroy ( libmv_Features libmv_features)

Definition at line 103 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 
)