#include <mexutils.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <assert.h>
#include <vl/hikmeans.h>
#include <vl/generic.h>
Go to the source code of this file.
Defines | |
#define | NFIELDS(field_names) (sizeof(field_names)/sizeof(*field_names)) |
Enumerations | |
enum | { opt_max_niters, opt_method, opt_verbose } |
Functions | |
mxArray * | hikm_to_matlab (VlHIKMTree *tree) |
void | mexFunction (int nout, mxArray *out[], int nin, const mxArray *in[]) |
static void | xcreate (mxArray *mnode, int i, VlHIKMNode *node) |
Variables | |
vlmxOption | options [] |
#define NFIELDS | ( | field_names | ) | (sizeof(field_names)/sizeof(*field_names)) |
file: hikmeans.c description: MEX hierarchical ikmeans. author: Brian Fulkerson
Definition at line 26 of file vl_hikmeans.c.
anonymous enum |
Definition at line 28 of file vl_hikmeans.c.
mxArray* hikm_to_matlab | ( | VlHIKMTree * | tree | ) |
------------------------------------------------------------------
Definition at line 84 of file vl_hikmeans.c.
void mexFunction | ( | int nout | , |
mxArray * | out[], | ||
int | nin, | ||
const mxArray * | in[] | ||
) |
------------------------------------------------------------------
Definition at line 105 of file vl_hikmeans.c.
static void xcreate | ( | mxArray * | mnode, |
int | i, | ||
VlHIKMNode * | node | ||
) | [static] |
------------------------------------------------------------------
Definition at line 47 of file vl_hikmeans.c.
{ {"MaxIters", 1, opt_max_niters }, {"Method", 1, opt_method }, {"Verbose", 0, opt_verbose }, {0, 0, 0 } }
Definition at line 34 of file vl_hikmeans.c.