I'm trying with my own data, but it has problem on making voxels I guess, & I dont know what to do..
Error using spacecarving.findmodel (line 39)
Nothing left after initial search! Check your camera matrices.
Error in space_carving_demo (line 105)
[xlim,ylim,zlim] = findmodel( cameras );
24 Sep 2013
Carving a Dinosaur
This is a demo of reconstructing a 3D shape from multiple images using space-carving.
im(:,:,1) is the red channel of the RGB image, im(:,:,3) is the blue. S is therefore true (1) for pixels whose color contains more red than blue and false (0) otherwise.
Nearly every color contains some red and some blue and this is just a quick and dirty way to find those that are closer to red than blue.