Functions
core/vil/algo/vil_grid_merge.h File Reference

Merge two images in a chequer-board pattern. More...

#include <vil/vil_image_view.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

template<class T >
void vil_grid_merge (const vil_image_view< T > &image1, const vil_image_view< T > &image2, vil_image_view< T > &dest_image, unsigned box_ni, unsigned box_nj)
 Merge two images in a chequer-board pattern.

Detailed Description

Merge two images in a chequer-board pattern.

Author:
Tim Cootes

Definition in file vil_grid_merge.h.


Function Documentation

template<class T >
void vil_grid_merge ( const vil_image_view< T > &  image1,
const vil_image_view< T > &  image2,
vil_image_view< T > &  dest_image,
unsigned  box_ni,
unsigned  box_nj 
) [inline]

Merge two images in a chequer-board pattern.

image1 and image2 are merged by copying boxes of size (box_ni x box_nj) alternatively from each one. Useful for comparing two images.

Definition at line 17 of file vil_grid_merge.h.