Blender V4.3
detector.h File Reference

Go to the source code of this file.

Classes

struct  libmv_DetectOptions
 

Typedefs

typedef struct libmv_Features libmv_Features
 
typedef struct libmv_DetectOptions libmv_DetectOptions
 

Enumerations

enum  { LIBMV_DETECTOR_FAST , LIBMV_DETECTOR_MORAVEC , LIBMV_DETECTOR_HARRIS }
 

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)
 

Typedef Documentation

◆ libmv_DetectOptions

typedef struct libmv_DetectOptions libmv_DetectOptions

◆ libmv_Features

typedef struct libmv_Features libmv_Features

Definition at line 12 of file detector.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LIBMV_DETECTOR_FAST 
LIBMV_DETECTOR_MORAVEC 
LIBMV_DETECTOR_HARRIS 

Definition at line 14 of file detector.h.

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(), NULL, 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(), NULL, 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 )