Capsule (60) moves through the gastrointestinal tract (62)
in a first pass to generate a map of the gastrointestinal tract, and to identify
a location of interest. In its second pass, capsule (60) moves through the
gastrointestinal tract, and is controlled to perform a job at the identified location.
Repeated localizations generate generate a map of the route taken by the capsule
in the gastrointestinal tract (62). images displayed on the image monitor
(61) are compared with the generated map displayed on the position monitor
(63) to identify the location of a pathology (72).