Population
Image processing library in C++
fast prototyping for 3d matrix

For 3d images as tomographic reconstruction with a characteristic size of 1 Giga of voxels, the execution time of the processing pipeline is long. So the problem is to create a prototype of this pipeline with its cabibration because a test-error method requires many executions. In order to reduce the execution time, we have 3 solutions.

In this example, the original image is (256,256,256).

Mat3UI8 img;
img.load((std::string(POP_PROJECT_SOURCE_DIR)+"/image/rock3d.pgm").c_str());//(256,256,256) image size
Rock.gif
Initial image

When the prototype is finished, you comment this line to process the full matrix and you take a coffe. C++ code: