A method includes reconstructing the 3D shape of an object appearing in an input image using at least one example objects of a collection of example 3D objects and their colors. Initially, network data is collected from a plurality of different network data sources. This invention further relates to the method of operating a micromachined microfluidic diagnostic device.