Basic morphological operations can be incorporated within a statistical physics formulation as a limit when the temperature of the system tends to zero. These operations can then be expressed in terms of finding minimum variance estimators of probability distributions. It enables one to relate these operations to alternative Bayesian or Markovian approaches to image analysis. It is shown how to derive elementary dilations (winner-take-all) and erosions (loser-take-all). These operations, referred to as statistical dilations and erosion, depend on a temperature parameter (beta) equals 1/T. They become purely morphological as (beta) goes to infinity and purely linear averages as (beta) goes to 0. Experimental results are given for a range of intermediate values of (beta) . Concatenations of elementary operations can be naturally expressed by stringing together conditional probability distributions, each corresponding to the original operations, thus yielding statistical openings and closings. Techniques are given for computing the minimal variance estimators.