Thursday, July 3, 2025

Create color image using R, G and B three separate planes. Program:

 import cv2 img = cv2.imread("C:/Users/welcome/Desktop/sem6/DIP/Lenna.png") cv2.imshow("Original_image", img) b,g,r=cv2.split(img) merge_bgr=cv2.merge((b,g,r)) cv2.imshow("Merge_image", merge_bgr) cv2.waitKey(0) cv2.destroyAllWindows()

No comments:

Post a Comment

SD Card vs SSD: What’s Really Happening Inside Your Storage

  We use SD cards in phones and cameras, and SSDs in laptops and PCs, almost without thinking. They both feel similar—fast, silent, and com...