1. A method of generating three-dimensional (3D) volumetric data, the method comprising: generating, using a processor, a multilayer image; generating volume information and a type of a visible part of an object, based on the generated multilayer image; and generating volume information and a type of an invisible part of the object, based on the generated multilayer image.