A method and apparatus for its practice are provided of differentiating at
least one component of a heterogeneous sample from other component(s)
using harmonic resonance imaging and of obtaining information regarding
the sample from the differentiation. In a preferred embodiment, an image
is created of a property of a harmonic or a combination of a harmonics
producing a response having a contrast factor between the sample's
constituent components. The desired harmonic(s) can be identified either
in a preliminary data acquisition procedure on the sample or, if the
sample's constituent components are known in advance, predetermined. The
desired harnonic(s) may be identified directly by the user or
automatically through, e.g., pattern recognition. A compositional map may
then be generated and displayed and/or additional information about the
sample may be obtained.