A camera module (170) includes a miniature scanning mirror (120), lens elements (163a to 163d) corresponding to thin lateral lens slices, and a short, wide imaging sensor (165). As the scanning mirror (120) pivots to scan a scene, the imaging sensor (165) captures successive image segments. Multiple image segments are stitched together by software running on a digital processor to provide a complete image. The assembly of lens elements (163a to 163d) may include moveable elements to allow variable focus, variable magnification and image stabilization, and may utilize refraction, reflection, diffraction and/or planar optical elements. The camera module (170) may be less than 5 millimeters thick while allowing long focal length lenses and increased light collecting area. Other embodiments include a switchable scan mirror with two apertures and a dual-camera system that provides binocular images and video.