1. A method of locating/detecting a target in a scene comprising the steps of taking data acquired from a detector array arranged to receive radiation from the scene via a coded aperture array, and determining a likelihood for the position of a target assumed to be located in the scene using the acquired data and a statistical scene model, wherein the scene model comprises a set of possible states and a function that determines a probability that the particular signal would be obtained conditional upon the particular state.