Example of digital set extraction from volumetric file (.vol).
- See also
- Image and digital object import/export
3D digital set from volumetric file (.vol)
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/io/viewers/PolyscopeViewer.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
{
std::string inputFilename = examplesPath + "samples/Al.100.vol";
typedef ImageSelector < Z3i::Domain, int>::Type
Image;
return 0;
}
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
const Domain & domain() const
void show() override
Starts the event loop and display of elements.
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Define utilities to convert a digital set into an image.
Aim: implements methods to read a "Vol" file format.
ImageContainerBySTLVector< Domain, Value > Image