In this paper, we propose to enhance the image in digital holography by using an artificial neural network and an iterative algorithm with Nakamura's approach based on segmentation. It is well known that reconstructed three-dimensional (3D) images suffer from noise in digital holography. In addition, obtaining 3D reconstructed images takes a long time due to large pixel numbers in reconstructed images and lack of memory in the system. The segmentation process is an application that overcomes these problems. Therefore, we focus on the implementation of segmentation for image enhancement. In addition, the results of the segmentation process for both methods are compared in terms of image enhancement. Later, the relative errors are calculated.