Functions
contrib/oxl/osl/osl_chamfer.cxx File Reference
#include "osl_chamfer.h"

Go to the source code of this file.

Functions

int osl_Minimum5 (int a, int b, int c, int d, int e)
 Determines the minimum of five ints.
int osl_Minimum4 (int a, int b, int c, int d)
 Determines the minimum of five ints.
void osl_chamfer_Forward (int m, int n, int **dist, float **param)
 Performs a forward chamfer convolution on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.
void osl_chamfer_Backward (int m, int n, int **dist, float **param)
 Performs a backward chamfer convolution on the dist and param images.
void osl_chamfer_Alt1 (int m, int n, int **dist, float **param)
 Performs a chamfer convolution starting from (minx,maxy) on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.
void osl_chamfer_Alt2 (int m, int n, int **dist, float **param)
 Performs a chamfer convolution starting from (maxx,miny) on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.

Detailed Description

Author:
fsm

Definition in file osl_chamfer.cxx.


Function Documentation

void osl_chamfer_Alt1 ( int  m,
int  n,
int **  dist,
float **  param 
)

Performs a chamfer convolution starting from (minx,maxy) on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.

The image sizes are mxn.

Definition at line 133 of file osl_chamfer.cxx.

void osl_chamfer_Alt2 ( int  m,
int  n,
int **  dist,
float **  param 
)

Performs a chamfer convolution starting from (maxx,miny) on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.

The image sizes are mxn.

Definition at line 180 of file osl_chamfer.cxx.

void osl_chamfer_Backward ( int  m,
int  n,
int **  dist,
float **  param 
)

Performs a backward chamfer convolution on the dist and param images.

Definition at line 85 of file osl_chamfer.cxx.

void osl_chamfer_Forward ( int  m,
int  n,
int **  dist,
float **  param 
)

Performs a forward chamfer convolution on the dist image and associates a send image (param) that reports on some parameter of the nearest pixel.

Chamfer transform routines taken from osl_edge_detector.

The image sizes are mxn.

Definition at line 45 of file osl_chamfer.cxx.

int osl_Minimum4 ( int  a,
int  b,
int  c,
int  d 
)

Determines the minimum of five ints.

Definition at line 27 of file osl_chamfer.cxx.

int osl_Minimum5 ( int  a,
int  b,
int  c,
int  d,
int  e 
)

Determines the minimum of five ints.

Definition at line 12 of file osl_chamfer.cxx.