Classes | Functions
vil_chord.h File Reference

Object to store information about position of a row of pixels. More...

#include <iostream>
#include <vector>

Go to the source code of this file.

Classes

struct  vil_chord
 Store information about position of a row of pixels in an image. More...
 

Functions

std::ostream & operator<< (std::ostream &os, vil_chord c)
 Print to stream. More...
 
unsigned vil_area (const std::vector< vil_chord > &region)
 Compute area of region defined by (non-overlapping) chords. More...
 

Detailed Description

Object to store information about position of a row of pixels.

Author
Tim Cootes

Definition in file vil_chord.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
vil_chord  c 
)
inline

Print to stream.

Definition at line 34 of file vil_chord.h.

◆ vil_area()

unsigned vil_area ( const std::vector< vil_chord > &  region)
inline

Compute area of region defined by (non-overlapping) chords.

Definition at line 40 of file vil_chord.h.