1. A method of examining a sample in a charged-particle microscope of a scanning transmission type, comprising: providing a beam of charged particles that is directed from a source through an illuminator so as to irradiate the sample; providing a detector for detecting a flux of charged particles traversing the sample; causing said beam to scan across a surface of the sample, and recording an output of the detector as a function of scan position, resulting in accumulation of a charged-particle image of the sample, including: embodying the detector to comprise a plurality of detection segments; combining signals from different segments of the detector so as to produce a vector output from the detector at each scan position, and compiling this data to yield a vector field; mathematically processing said vector field by subjecting it to a two-dimensional integration operation, thereby producing an integrated vector field image.