Determination of dimensions and geometry in fixed specimens