The invention proposes a detection chamber (5) comprising a fluid-tight measurement volume (20) the size of which can be varied using a movable wall portion (15). Such a detection chamber (5) allows compression of the object to be imaged as well as the use of a matching medium to fill the space inside the measurement volume (20) not filled by the object to be imaged.