DGtal
1.5.beta
|
#include "ConfigTest.h"
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/images/CImage.h"
#include "DGtal/io/writers/ITKWriter.h"
#include "DGtal/io/readers/ITKReader.h"
#include <string>
Go to the source code of this file.
Functions | |
template<typename Image > | |
bool | test_image (const string &filename) |
bool | testITKSpacingIO () |
bool | testITKio () |
int | main (int, char **) |
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 ITKio.
This file is part of the DGtal library.
Definition in file testITKio.cpp.
int main | ( | int | , |
char ** | |||
) |
Definition at line 192 of file testITKio.cpp.
References DGtal::Trace::emphase(), testITKio(), and DGtal::trace.
bool test_image | ( | const string & | filename | ) |
Definition at line 49 of file testITKio.cpp.
References DGtal::SimpleRandomAccessConstRangeFromPoint< TConstIterator, DistanceFunctor >::begin(), DGtal::Image< TImageContainer >::constRange(), DGtal::Image< TImageContainer >::domain(), domain, DGtal::SimpleRandomAccessConstRangeFromPoint< TConstIterator, DistanceFunctor >::end(), DGtal::Trace::error(), image(), DGtal::ITKReader< TImage >::importITK(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::size(), DGtal::trace, and DGtal::Trace::warning().
bool testITKio | ( | ) |
Definition at line 145 of file testITKio.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::info(), testITKSpacingIO(), and DGtal::trace.
Referenced by main().
bool testITKSpacingIO | ( | ) |
Definition at line 103 of file testITKio.cpp.
References DGtal::ITKWriter< TImage, TFunctor >::exportITK(), DGtal::ITKReader< TImage >::importITK(), DGtal::Trace::info(), and DGtal::trace.
Referenced by testITKio().