educelab / volume-cartographer

Volumetric processing toolkit and C++ libraries for the recovery and restoration of damaged cultural materials
GNU General Public License v3.0
63 stars 22 forks source link

Add layer generation to vc_render #68

Closed csparker247 closed 1 year ago

csparker247 commented 1 year ago

This adds the layer generation functionality of vc_layers into vc_render. Simply set the rendering method to 4 on the command line:

# saves to ./20231122120123_#.tif
vc_render -v Foo.volpkg -s 20231122120123 --method 4

# saves to layers/20231122120123_#.tif
vc_render -v Foo.volpkg -s 20231122120123 --method 4 -o layers/

# saves to layers/#.tif
vc_render -v Foo.volpkg -s 20231122120123 --method 4 -o layers/{}.tif

Other changes