Defines | Enumerations | Functions | Variables
mser.c File Reference
#include "generic-driver.h"
#include <vl/generic.h>
#include <vl/stringop.h>
#include <vl/pgm.h>
#include <vl/mser.h>
#include <vl/getopt_long.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
Include dependency graph for src/mser.c:

Go to the source code of this file.

Defines

#define ERR(msg)
#define ERRF(msg, arg)
#define VL_MSER_DRIVER_VERSION   0.2
#define WERR(name)

Enumerations

enum  {
  opt_seed = 1000, opt_frame, opt_meta, opt_max_area,
  opt_min_area, opt_max_variation, opt_min_diversity, opt_bright,
  opt_dark
}

Functions

int main (int argc, char **argv)
 MSER driver entry point.

Variables

char const help_message [] = "\n"
struct option const longopts []
char const opts [] = "vhd:"

Define Documentation

#define ERR (   msg)
Value:
{                                                   \
    err = VL_ERR_BAD_ARG ;                                           \
    snprintf(err_msg, sizeof(err_msg), msg) ;                        \
    break ;                                                          \
}
#define ERRF (   msg,
  arg 
)
Value:
{                                             \
    err = VL_ERR_BAD_ARG ;                                           \
    snprintf(err_msg, sizeof(err_msg), msg, arg) ;                   \
    break ;                                                          \
  }
#define VL_MSER_DRIVER_VERSION   0.2

Definition at line 15 of file src/mser.c.

#define WERR (   name)
Value:
if (err == VL_ERR_OVERFLOW) {                               \
      snprintf(err_msg, sizeof(err_msg),                        \
               "Output file name too long.") ;                  \
      goto done ;                                               \
    } else if (err) {                                           \
      snprintf(err_msg, sizeof(err_msg),                        \
               "Could not open '%s' for writing.", name) ;      \
      goto done ;                                               \
    }

Enumeration Type Documentation

anonymous enum
Enumerator:
opt_seed 
opt_frame 
opt_meta 
opt_max_area 
opt_min_area 
opt_max_variation 
opt_min_diversity 
opt_bright 
opt_dark 

Definition at line 53 of file src/mser.c.


Function Documentation

int main ( int argc  ,
char **  argv 
)

MSER driver entry point.

Definition at line 90 of file src/mser.c.


Variable Documentation

char const help_message[] = "\n"

Definition at line 31 of file src/mser.c.

struct option const longopts[]
Initial value:
 {
  { "verbose",         no_argument,            0,          'v'               },
  { "help",            no_argument,            0,          'h'               },
  { "delta",           required_argument,      0,          'd'               },
  { "seeds",           optional_argument,      0,          opt_seed          },
  { "frames",          optional_argument,      0,          opt_frame         },
  { "meta",            optional_argument,      0,          opt_meta          },
  { "max-area",        required_argument,      0,          opt_max_area      },
  { "min-area",        required_argument,      0,          opt_min_area      },
  { "max-variation",   required_argument,      0,          opt_max_variation },
  { "min-diversity",   required_argument,      0,          opt_min_diversity },
  { "bright-on-dark",  required_argument,      0,          opt_bright        },
  { "dark-on-bright",  required_argument,      0,          opt_dark          },
  { 0,                 0,                      0,          0                 }
}

Definition at line 69 of file src/mser.c.

char const opts[] = "vhd:"

Definition at line 66 of file src/mser.c.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:52