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" 44 using namespace DGtal;
51 template <
typename Image>
58 trace.
info()<< p <<
" "<< a(p) <<
" "<<b(p)<<std::endl;
72 SECTION(
"Testing API of CompressedVol")
79 SECTION(
"Testing write/read of CompressedVolWriter")
96 SECTION(
"Testing API of CompressedVolWriter")
104 SECTION(
"Testing write/read of CompressedVolWriter")
Aim: implements association bewteen points lying in a digital domain and values.
const Domain domain(Point(1, 2), Point(6, 5))
Aim: Export a 3D Image using the Vol formats.
bool checkImage(const Image &a, const Image &b)
void setValue(const Point &aPoint, const Value &aValue)
REQUIRE(domain.isInside(aPoint))
TEST_CASE("Testing CompressedVolWriter")
Aim: Export a 3D Image using the Longvol formats (volumetric image with DGtal::uint64_t value type)...
Aim: implements methods to read a "Vol" file format.
DGtal is the top-level namespace which contains all DGtal functions and types.
ImageContainerBySTLVector< Domain, Value > Image
const Domain & domain() const
SECTION("Testing constant forward iterators")
Aim: implements methods to read a "Longvol" file format (with DGtal::uint64_t value type)...