The invention relates to multicore fiber imaging, such as used in endoscopy. Methods are described for processing images captured with such systems to achieve an improved depth of field image or extract 3D information concerning the images, without requiring the addition of additional optical components. One method for generating an image from light received by an imager via a multiplicity of waveguides includes receiving a digital image containing a plurality of pixels, the digital image including a plurality of regions within it wherein each of said regions corresponds to a waveguide core. Each region includes a plurality of pixels, and a first subset of pixels within each region is defined which at least partly correlates with light having been received at a corresponding core in a first spatial arrangement, the subset including less than all of the pixels within a region. A first image is generated from the first subset of pixels from said regions, combined to form an image over the whole waveguide array. The first spatial arrangement may correspond to a measure of angular dimension of the incident light for that region. In addition to increased depth of field, the modified images provided by the invention allow 3D visualisation of objects, eg. using stereographs or depth mapping techniques.