This post is an example that shows how to use 2d to 3d Image Conversion - The 3d Converter to create a depth map semi-automatically. I have uploaded on dropbox the gimp file which contains all the layers and the paths: bruce_lee.xcf. See 2d to 3d Image Conversion - The 3d Converter for how to use "The 3d Converter".
This is what the3dconverter_input.txt looks like:
reference_rgb_image.png
sparse_depthmap_rgba_image.png
dense_depthmap_image.png
gimp_paths.svg
ignored_gradient_rgba_image.png
emphasized_gradient_rgba_image.png
edge_rgba_image.png
0.0
All you need is a reference image (layer reference_rgb_image saved as reference_rgb_image.png), an "edge image" (layer edge_rgba_image saved as edge_rgba_image.png), a sparse depth map (layer sparse_depthmap_rgba_image saved as sparse_depthmap_rgba_image.png), and a bunch of equal_depth and relative_depth paths (saved as gimp_paths.svg).
Don't worry about ignored_gradient_rgba_image.png and emphasized_gradient_rgba_image.png as those are not used and therefore don't need to exist.
No comments:
Post a Comment