Canola  0.8.D001
Functions | Variables
canola-card-scanner/main.cc File Reference
#include <lib/ac/stdio.h>
#include <lib/ac/stdlib.h>
#include <lib/ac/string.h>
#include <lib/ac/unistd.h>
#include <libexplain/output.h>
#include <libexplain/program_name.h>
#include <lib/calculator/asm.h>
#include <lib/image.h>
#include <lib/image/invert.h>
#include <lib/image/monochrome.h>
#include <lib/image/threshold.h>
#include <lib/opcode.h>
#include <lib/polyfit.h>
#include <lib/print_version.h>
#include <lib/sizeof.h>

Go to the source code of this file.

Functions

static void usage (void)
static bool is_white (const image::pointer &img, int x, int y)
static void box (const image::pointer &img, int xlo, int ylo, int xhi, int yhi)
static void process_image (const char *filename, const calculator::pointer &data)
int main (int argc, char **argv)

Variables

static bool invert
static bool debug

Function Documentation

static void box ( const image::pointer img,
int  xlo,
int  ylo,
int  xhi,
int  yhi 
) [static]

Definition at line 150 of file main.cc.

static bool is_white ( const image::pointer img,
int  x,
int  y 
) [static]

Definition at line 64 of file main.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 471 of file main.cc.

static void process_image ( const char *  filename,
const calculator::pointer data 
) [static]

Definition at line 189 of file main.cc.

static void usage ( void  ) [static]

Definition at line 40 of file main.cc.


Variable Documentation

bool debug [static]

Definition at line 165 of file main.cc.

bool invert [static]

Definition at line 147 of file main.cc.