1. A method for generating an image of an object in a scene, comprising: emitting electromagnetic radiation having a first spectral power distribution from a surface of a first foreground object, which is adjacent or at least partially obscured by a second foreground object; acquiring a first image of both the first and second foreground objects whilst the first foreground object emits electromagnetic radiation with the first spectral power distribution; acquiring a second image of the first and second foreground objects whilst the first foreground object is not emitting electromagnetic radiation or is emitting electromagnetic radiation with a second spectral power distribution which is different to the first spectral power distribution; generating an image of only the second foreground object by comparing the first image and second image.