You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using haar_like_feature in skimage and I am getting nan values for certain features. I have tested using various shape sizes, transposing the image, normalizing, making the dimensions odd and even but the problem remains.
For the minimal test below with a small test data of 17x9 I get 123 nan's. Checking the documentation and codes suggests that there is not a limitation of array shapes and I think the inputs are all correct.
If you can take a look I would be grateful. Thanks
haar_like_feature generates Nan's
I am using haar_like_feature in skimage and I am getting nan values for certain features. I have tested using various shape sizes, transposing the image, normalizing, making the dimensions odd and even but the problem remains.
For the minimal test below with a small test data of 17x9 I get 123 nan's. Checking the documentation and codes suggests that there is not a limitation of array shapes and I think the inputs are all correct.
If you can take a look I would be grateful. Thanks
Minimal Example
Version information
This was tested on Windows 7 and 10.
The text was updated successfully, but these errors were encountered: