An exact analytical approach to n-dimensional discrete images, objects, and surfaces is given. Objects are defined as finite grid point sets of Zn. Using the 2n-neighborhood of Zn, components are maximal connected sets of object points. Formulas are given for count measures of object (points, edges, faces, cells, marginal elements, etc.), and the Euler number ψ(n). Such measures are defined in Z3 with respect to volume, surface content, and the mean curvature integral in E3. The generalization for Zn allows the definition of similarities between n-dimensional objects. The Euler number and other object characteristics can be expressed only by numbers of marginal elements of single object surfaces. Finally, a general formula for ψ(3) is given.