43#include "DGtal/base/Common.h"
44#include "DGtal/io/readers/VolReader.h"
45#include "DGtal/io/viewers/PolyscopeViewer.h"
47#include "DGtal/images/ImageSelector.h"
48#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
49#include "DGtal/helpers/StdDefs.h"
50#include "ConfigExamples.h"
59int main(
int argc,
char** argv )
62 std::string inputFilename = examplesPath +
"samples/Al.100.vol";
69 viewer << set3d <<
image.domain();
59int main(
int argc,
char** argv ) {
…}
Aim: implements association bewteen points lying in a digital domain and values.
void show() override
Starts the event loop and display of elements.
DigitalSetSelector< Domain, BIG_DS+HIGH_BEL_DS >::Type DigitalSet
DGtal is the top-level namespace which contains all DGtal functions and types.
ImageContainerBySTLVector< Domain, Value > Type
static void append(Set &aSet, const ForegroundPredicate &isForeground, typename Image::Domain::ConstIterator itBegin, typename Image::Domain::ConstIterator itEnd)
static ImageContainer importVol(const std::string &filename, const Functor &aFunctor=Functor())