Structuring element for morphology represented as a list of non-zero pixels. More...
Go to the source code of this file.
Functions | |
vcl_ostream & | operator<< (vcl_ostream &os, const vil_structuring_element &element) |
Write details to stream. | |
void | vil_compute_offsets (vcl_vector< vcl_ptrdiff_t > &offset, const vil_structuring_element &element, vcl_ptrdiff_t istep, vcl_ptrdiff_t jstep) |
Generate a list of offsets for use on image with istep,jstep. |
Structuring element for morphology represented as a list of non-zero pixels.
Definition in file vil_structuring_element.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const vil_structuring_element & | element | ||
) |
Write details to stream.
Definition at line 73 of file vil_structuring_element.cxx.
void vil_compute_offsets | ( | vcl_vector< vcl_ptrdiff_t > & | offset, |
const vil_structuring_element & | element, | ||
vcl_ptrdiff_t | istep, | ||
vcl_ptrdiff_t | jstep | ||
) |
Generate a list of offsets for use on image with istep,jstep.
Gives an efficient way of looping through all the pixels in the structuring element
Definition at line 85 of file vil_structuring_element.cxx.