Image Processing, Opencv, Python, Computer Vision, Digital Image Processing.
min_value)) # Display the original and scaled images fig, axes = plt.subplots(1, 2, figsize=(10, 5)) axes[0].imshow(cv2.cvtColor(image, cv2.COLOR_GRAY2RGB)) axes[0].set_title("Original") axes[0].axis("off") axes[1].imshow(scaled_image, cmap='gray') axes[1].set_title("Scaled") axes[1].axis("off")