DGtal
1.5.beta
|
#include <iostream>
#include <fstream>
#include <algorithm>
#include <boost/algorithm/minmax_element.hpp>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/base/BasicFunctors.h"
#include "DGtal/kernel/BasicPointPredicates.h"
#include "DGtal/kernel/sets/DigitalSetInserter.h"
#include "DGtal/images/ImageContainerBySTLVector.h"
#include "DGtal/images/ImageHelper.h"
#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
#include "DGtal/images/IntervalForegroundPredicate.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/readers/PGMReader.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/io/colormaps/GrayscaleColorMap.h"
#include "ConfigExamples.h"
Go to the source code of this file.
Functions | |
int | main () |
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/.
An example of DT computation from a digital set extracted from an image.
This file is part of the DGtal library.
Definition in file imageSetDT.cpp.
int main | ( | void | ) |
[ImageSetDT-types]
[ImageSetDT-types]
[ImageSetDT-image]
[ImageSetDT-image]
[ImageSetDT-board1]
[ImageSetDT-board1]
[ImageSetDT-DT]
[ImageSetDT-DT]
[ImageSetDT-DTvis]
[ImageSetDT-DTvis]
Definition at line 62 of file imageSetDT.cpp.
References LibBoard::Board::clear(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::domain(), dt, DGtal::PGMReader< TImageContainer, TFunctor >::importPGM(), DGtal::Trace::info(), DGtal::Z2i::l2Metric, LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), DGtal::setFromImage(), and DGtal::trace.