Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

fastNlMeansDenoising return assertion hn == 1 || hn == cn

$
0
0
Hello everyone Can you help me to understand what is wrong with my code: import numpy as np import cv2 # read a 16 bits per pixel image (CV_16U) I = cv2.imread('thermal.tiff',cv2.IMREAD_ANYDEPTH | cv2.IMREAD_ANYCOLOR) I = cv2.fastNlMeansDenoising(I,None,normType=cv2.NORM_L1) Each time I execute that code I get the folowing error: ***error: (-215) hn == 1 || hn == cn in function fastNlMeansDenoising***

Viewing all articles
Browse latest Browse all 2088

Trending Articles