Functions
contrib/mul/ipts/ipts_draw.h File Reference

Functions to draw shapes into an image (may get moved to vil in time) More...

#include <vil/vil_image_view.h>

Go to the source code of this file.

Functions

template<class T >
void ipts_draw_i_line (vil_image_view< T > &image, int i0, int j0, unsigned L, T value)
 Draws line between (i0,j0) and (i0+L,j0) (which may be outside image).
template<class T >
void ipts_draw_j_line (vil_image_view< T > &image, int i0, int j0, unsigned L, T value)
 Draws line between (i0,j0) and (i0,j0+L) (which may be outside image).
template<class T >
void ipts_draw_cross (vil_image_view< T > &image, int i0, int j0, unsigned L, T value)
 Draw cross centred at (i0,j0) with half-width L.

Detailed Description

Functions to draw shapes into an image (may get moved to vil in time)

Author:
Tim Cootes

Definition in file ipts_draw.h.


Function Documentation

template<class T >
void ipts_draw_cross ( vil_image_view< T > &  image,
int  i0,
int  j0,
unsigned  L,
value 
)

Draw cross centred at (i0,j0) with half-width L.

Definition at line 35 of file ipts_draw.h.

template<class T >
void ipts_draw_i_line ( vil_image_view< T > &  image,
int  i0,
int  j0,
unsigned  L,
value 
) [inline]

Draws line between (i0,j0) and (i0+L,j0) (which may be outside image).

Assumes single plane

Definition at line 14 of file ipts_draw.h.

template<class T >
void ipts_draw_j_line ( vil_image_view< T > &  image,
int  i0,
int  j0,
unsigned  L,
value 
) [inline]

Draws line between (i0,j0) and (i0,j0+L) (which may be outside image).

Assumes single plane

Definition at line 25 of file ipts_draw.h.