Enhancement of the quality of a digital image is desirable in several scenarios such as underwater-image analysis, where improving visibility is necessary to reduce alterations caused by unbalanced lighting and the presence of sediments, among others. Many algorithms have been proposed oriented towards treatment of specific factors, such as contrast, color fidelity, noise, and lighting. This work explores the literature techniques and establishes a filter sequence for enhancing underwater images based on a pre-established quality metric. The resulting sequence begins by balancing the lighting using homomorphic filtering, improve the contrast by the Contrast Limited Adaptive Histogram Equalization (CLAHE) algorithm, and finally noise reduction and edge enhancement are done by using bilateral filtering. The results of the implementation suggest a qualitative improvement, in contrast, color, and sharpness of borders.