An apparatus and a method for detecting clinically-relevant features of the gastrointestinal (GI) tract of a subject are disclosed. The apparatus includes a capsule to be swallowed by a subject and passing through the GI tract of the subject, a capsule housing, a radiation source emitting radiation, a rotatable collimator configured to rotate with respect to the housing and to collimate the radiation emitted by the radiation source, and a radiation detector configured to detect particles, such as photons, gamma radiation, beta radiation and electrons photons generated responsive to the emitted radiation. The apparatus also includes a control unit configured to analyze data regarding the photons. Movement of the capsule in the GI tract can be detected. The radiation source, radiation detector and control unit may advantageously be integrated inside a single housing.