Functions
contrib/mul/vil3d/algo/vil3d_structuring_element.cxx File Reference

Structuring element for morphology represented as a list of non-zero pixels. More...

#include "vil3d_structuring_element.h"
#include <vcl_cassert.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Functions

vcl_ostream & operator<< (vcl_ostream &os, const vil3d_structuring_element &element)
 Write details to stream.
void vil3d_compute_offsets (vcl_vector< vcl_ptrdiff_t > &offset, const vil3d_structuring_element &element, vcl_ptrdiff_t istep, vcl_ptrdiff_t jstep, vcl_ptrdiff_t kstep)
 Generate a list of offsets for use on image with istep,jstep,kstep.

Detailed Description

Structuring element for morphology represented as a list of non-zero pixels.

Author:
Tim Cootes

Definition in file vil3d_structuring_element.cxx.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const vil3d_structuring_element element 
)

Write details to stream.

Definition at line 206 of file vil3d_structuring_element.cxx.

void vil3d_compute_offsets ( vcl_vector< vcl_ptrdiff_t > &  offset,
const vil3d_structuring_element element,
vcl_ptrdiff_t  istep,
vcl_ptrdiff_t  jstep,
vcl_ptrdiff_t  kstep 
)

Generate a list of offsets for use on image with istep,jstep,kstep.

Generate a list of offsets for use on image with istep,jstep.

Definition at line 221 of file vil3d_structuring_element.cxx.