testImageContainerBenchmark.cpp File Reference

#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/kernel/images/ImageSelector.h"
Include dependency graph for testImageContainerBenchmark.cpp:


template<typename Image >
double builtinIteratorScan (const Image &aImage)
template<typename Image , typename Domain >
double domainIteratorScan (const Image &aImage, const Domain &aDomain)
template<typename Point , typename Image , typename Domain >
bool testSuite (unsigned int dim, unsigned int n)
bool testImageContainerBenchmark ()
int main (int argc, char **argv)

Detailed Description

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

David Coeurjolly ( ) Laboratoire d'InfoRmatique en Image et Systèmes d'information - LIRIS (CNRS, UMR 5205), CNRS, France

Functions for testing class ImageContainerBenchmark.

This file is part of the DGtal library.

Function Documentation

template<typename Image >
double builtinIteratorScan ( const Image &  aImage  ) 
template<typename Image , typename Domain >
double domainIteratorScan ( const Image &  aImage,
const Domain &  aDomain 
int main ( int  argc,
char **  argv 
bool testImageContainerBenchmark (  ) 

Example of a test. To be completed.

References DGtal::Trace::beginBlock(), dim, DGtal::Trace::endBlock(), and DGtal::trace.

Referenced by main().

template<typename Point , typename Image , typename Domain >
bool testSuite ( unsigned int  dim,
unsigned int  n