Find line-like structures in a 2D image. More...
#include <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.1f) |
| Find line like structures in image (light lines on dark backgrounds). More... | |
| 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.1f) |
| Find line like structures in image (dark lines on light backgrounds). More... | |
| 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.1f) |
| Find line like structures in image (light lines on dark backgrounds). More... | |
| 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.1f) |
| Find line like structures in image (dark lines on light backgrounds). More... | |
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 19 of file vil_line_filter.h.
| 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.1f |
||
| ) |
Find line like structures in image (dark lines on light backgrounds).
Find line like structures in image (dark lines on bright 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.
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
Definition at line 115 of file vil_line_filter.hxx.
| 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.1f |
||
| ) |
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 317 of file vil_line_filter.hxx.
| 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.1f |
||
| ) |
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 22 of file vil_line_filter.hxx.
| 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.1f |
||
| ) |
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
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 209 of file vil_line_filter.hxx.
1.8.15