dibco_2017 icon indicating copy to clipboard operation
dibco_2017 copied to clipboard

relative-darkness issue

Open justinner opened this issue 6 years ago • 0 comments

Hi Chris, When I run the function relative_darkness,I got nothing ,and no error,no result.The following is my code run it ,could you tell me why it happened?Thanks very much. img = cv2.imread('/home/jia/1.bmp', cv2.IMREAD_GRAYSCALE) rd_img = relative_darkness(img) data = np.concatenate([img[:,:,np.newaxis], rd_img], axis=2) if debug: cv2.imwrite('/home/jia/Dataset/rd/rd.bmp', rd_img) data = 0.003921568 * (data - 127.) print(data.shape)

justinner avatar Jun 21 '18 08:06 justinner