This paper presents a novel object-based image enhancement technique that improves gray scale images by separately enhancing the foreground and background, followed by contrast stretching at both inter-object and intra-object levels. The proposed method addresses the limitations of classical enhancement techniques such as histogram equalization, which can produce artifacts and loss of detail. The effectiveness of this object-based contrast stretching method is validated through comparisons with existing techniques, demonstrating its capability to produce better quality images without introducing undesirable effects.