Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vil_line_filter< Type > Class Template Reference

#include <vil_line_filter.h>

List of all members.


Detailed Description

template<class Type>
class vil_line_filter< Type >

Find line-like structures in a 2D image.

Generates two images: line_str contains line strength at each pixel, essentially the difference between the average of the pixels on the line and the average of those nearby off the line. and line_dir contains value indicating direction [0,4] 0 = Undefined, 1 = horizontal, 2 = 45 degrees etc

Definition at line 22 of file vil_line_filter.h.

Public Member Functions

void light_lines_3x3 (vil_image_view< vxl_byte > &line_dir, vil_image_view< float > &line_str, const vil_image_view< Type > &image, float edge_thresh=0.1)
 Find line like structures in image (light lines on dark backgrounds).
void dark_lines_3x3 (vil_image_view< vxl_byte > &line_dir, vil_image_view< float > &line_str, const vil_image_view< Type > &image, float edge_thresh=0.1)
 Find line like structures in image (dark lines on light backgrounds).
void light_lines_5x5 (vil_image_view< vxl_byte > &line_dir, vil_image_view< float > &line_str, const vil_image_view< Type > &image, float edge_thresh=0.1)
 Find line like structures in image (light lines on dark backgrounds).
void dark_lines_5x5 (vil_image_view< vxl_byte > &line_dir, vil_image_view< float > &line_str, const vil_image_view< Type > &image, float edge_thresh=0.1)
 Find line like structures in image (dark lines on light backgrounds).


Member Function Documentation

template<class Type>
void vil_line_filter< Type >::dark_lines_3x3 vil_image_view< vxl_byte > &  line_dir,
vil_image_view< float > &  line_str,
const vil_image_view< Type > &  image,
float  edge_thresh = 0.1
 

Find line like structures in image (dark lines on light backgrounds).

On exit line_str contains line strength at each pixel, line_dir contains value indicating direction [0,4] 0 = Undefined, 1 = horizontal, 2 = 45 degrees etc This version looks for dark lines on a light background only.

Definition at line 112 of file vil_line_filter.txx.

template<class Type>
void vil_line_filter< Type >::dark_lines_5x5 vil_image_view< vxl_byte > &  line_dir,
vil_image_view< float > &  line_str,
const vil_image_view< Type > &  image,
float  edge_thresh = 0.1
 

Find line like structures in image (dark lines on light backgrounds).

On exit line_str contains line strength at each pixel, line_dir contains value indicating direction [0,4] 0 = Undefined, 1 = horizontal, 2 = 45 degrees etc This version looks for dark lines on a light background only using a 5x5 filter

Definition at line 314 of file vil_line_filter.txx.

template<class Type>
void vil_line_filter< Type >::light_lines_3x3 vil_image_view< vxl_byte > &  line_dir,
vil_image_view< float > &  line_str,
const vil_image_view< Type > &  image,
float  edge_thresh = 0.1
 

Find line like structures in image (light lines on dark backgrounds).

On exit line_str contains line strength at each pixel, line_dir contains value indicating direction [0,4] 0 = Undefined, 1 = horizontal, 2 = 45 degrees etc This version looks for light lines on a dark background only.

Definition at line 19 of file vil_line_filter.txx.

template<class Type>
void vil_line_filter< Type >::light_lines_5x5 vil_image_view< vxl_byte > &  line_dir,
vil_image_view< float > &  line_str,
const vil_image_view< Type > &  image,
float  edge_thresh = 0.1
 

Find line like structures in image (light lines on dark backgrounds).

On exit line_str contains line strength at each pixel, line_dir contains value indicating direction [0,4] 0 = Undefined, 1 = horizontal, 2 = 45 degrees etc This version looks for light lines on a dark background only using a 5x5 filter

Definition at line 206 of file vil_line_filter.txx.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:40:08 2008 for core/vil by  doxygen 1.4.4