32#include "DGtal/base/Common.h"
33#include "ConfigTest.h"
34#include "DGtalCatch.h"
35#include "DGtal/helpers/StdDefs.h"
36#include "DGtal/io/writers/LongvolWriter.h"
37#include "DGtal/io/readers/LongvolReader.h"
38#include "DGtal/io/writers/VolWriter.h"
39#include "DGtal/io/readers/VolReader.h"
40#include "DGtal/images/ImageContainerBySTLVector.h"
50template <
typename Image>
57 trace.info()<< p <<
" "<< a(p) <<
" "<<b(p)<<std::endl;
71 SECTION(
"Testing API of CompressedVol")
78 SECTION(
"Testing write/read of CompressedVolWriter")
81 trace.info()<<read<<std::endl;
85 trace.info()<<readz<<std::endl;
95 image.setValue(
Point(1,1,1), 0X8899AABBCCDDEEFFull);
97 SECTION(
"Testing API of CompressedVolWriter")
100 trace.info()<<std::endl;
105 SECTION(
"Testing write/read of CompressedVolWriter")
Aim: implements association bewteen points lying in a digital domain and values.
const Domain & domain() const
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.
static ImageContainer importLongvol(const std::string &filename, const Functor &aFunctor=Functor())
Aim: Export a 3D Image using the Longvol formats (volumetric image with DGtal::uint64_t value type).
static ImageContainer importVol(const std::string &filename, const Functor &aFunctor=Functor())
Aim: Export a 3D Image using the Vol formats.
TEST_CASE("Testing CompressedVolWriter")
bool checkImage(const Image &a, const Image &b)
SECTION("Testing constant forward iterators")
REQUIRE(domain.isInside(aPoint))