Ask Your Question

Revision history [back]

normalization not working

i'm trying to normalize an image. it isn't working. the pixel values are staying the same. help?

img = cv2.imread('image.jpg', 0)
norm_img = np.zeros((800,800))
final_img = cv2.normalize(img, norm_img, 0, 255, cv2.NORM_MINMAX)

the pixel values of img and final_img are unchanged. why?

normalization not working

i'm trying to normalize an image. it isn't working. the pixel values are staying the same. help?

img = cv2.imread('image.jpg', 0)
norm_img = np.zeros((800,800))
final_img = cv2.normalize(img, norm_img, 0, 255, cv2.NORM_MINMAX)

the pixel values of img and final_img are unchanged. why?why?![image description] (/upfiles/15981329391040702.png)

normalization not working

i'm trying to normalize an image. it isn't working. the pixel values are staying the same. help?

img = cv2.imread('image.jpg', 0)
norm_img = np.zeros((800,800))
final_img = cv2.normalize(img, norm_img, 0, 255, cv2.NORM_MINMAX)

the pixel values of img and final_img are unchanged. why?![image description] (/upfiles/15981329391040702.png)

normalization not working

i'm trying to normalize an image. it isn't working. the pixel values are staying the same. help?

img = cv2.imread('image.jpg', 0)
norm_img = np.zeros((800,800))
final_img = cv2.normalize(img, norm_img, 0, 255, cv2.NORM_MINMAX)

the pixel values of img and final_img are unchanged. why?![image description] (/upfiles/15981329391040702.png)why?!

image description