Wave propagation and imaging in structured optical media