DGtal
1.5.beta
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/images/ImageContainerBySTLVector.h"
#include "DGtal/images/ImageAdapter.h"
#include "DGtal/images/ConstImageAdapter.h"
#include "DGtal/io/colormaps/GrayscaleColorMap.h"
#include "DGtal/io/readers/PGMReader.h"
#include "DGtal/io/boards/Board2D.h"
#include "ConfigTest.h"
Go to the source code of this file.
Functions | |
bool | testSimple () |
bool | test_g_f_fm1 () |
bool | test_range_constRange () |
bool | testImageAdapter () |
int | main (int argc, char **argv) |
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 http://www.gnu.org/licenses/.
Functions for testing class ImageAdapter.
This file is part of the DGtal library.
Definition in file testImageAdapter.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 461 of file testImageAdapter.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), test_g_f_fm1(), test_range_constRange(), testImageAdapter(), testSimple(), and DGtal::trace.
bool test_g_f_fm1 | ( | ) |
[ImageAdapterConstruction]
[ImageAdapterConstruction]
Definition at line 145 of file testImageAdapter.cpp.
References DGtal::Trace::beginBlock(), domain, DGtal::Trace::endBlock(), image(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
bool test_range_constRange | ( | ) |
Definition at line 228 of file testImageAdapter.cpp.
References DGtal::Trace::beginBlock(), domain, DGtal::Trace::endBlock(), image(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::size(), and DGtal::trace.
Referenced by main().
bool testImageAdapter | ( | ) |
[ImageAdapterWithSubdomain]
[ImageAdapterWithSubdomain]
[ImageAdapterWithSpecificDomain]
[ImageAdapterWithSpecificDomain]
Definition at line 289 of file testImageAdapter.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::Trace::beginBlock(), LibBoard::Board::clear(), DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::endBlock(), DGtal::Trace::info(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::insertNew(), LibBoard::Board::saveCairo(), LibBoard::Board::saveSVG(), and DGtal::trace.
Referenced by main().
bool testSimple | ( | ) |
Definition at line 53 of file testImageAdapter.cpp.
References DGtal::Trace::beginBlock(), domain, DGtal::Trace::endBlock(), image(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().