Defines | Functions
contrib/mul/vimt/vimt_image_pyramid.txx File Reference
#include "vimt_image_pyramid.h"
#include <vimt/vimt_image.h>
#include <vimt/vimt_image_2d.h>
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Defines

#define vimt_image_pyramid_txx_
#define VIMT_IMAGE_PYRAMID_INSTANTIATE(T)   template void vimt_image_pyramid_flatten(T &, const vimt_image_pyramid &)

Functions

template<class T >
void vimt_image_pyramid_flatten (T &out, const vimt_image_pyramid &in)
 Convert an image pyramid into a flat image containing each layer.

Detailed Description

Definition in file vimt_image_pyramid.txx.


Define Documentation

#define VIMT_IMAGE_PYRAMID_INSTANTIATE (   T)    template void vimt_image_pyramid_flatten(T &, const vimt_image_pyramid &)

Definition at line 56 of file vimt_image_pyramid.txx.

#define vimt_image_pyramid_txx_

Definition at line 3 of file vimt_image_pyramid.txx.


Function Documentation

template<class T >
void vimt_image_pyramid_flatten ( T &  out,
const vimt_image_pyramid in 
)

Convert an image pyramid into a flat image containing each layer.

E.g. a three layer 2d image pyramid with scale factor 2.0 would be converted to an image looking like

   ________________
   |11111111222233|
   |111111112222  |
   |11111111      |
   |11111111      |
   

Definition at line 17 of file vimt_image_pyramid.txx.