Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bin range for Texture Histogram #21

Open
isaachaw opened this issue Apr 9, 2017 · 1 comment
Open

Bin range for Texture Histogram #21

isaachaw opened this issue Apr 9, 2017 · 1 comment

Comments

@isaachaw
Copy link

isaachaw commented Apr 9, 2017

The output of skimage.feature.local_binary_pattern from _calc_texture_gradient for each pixel ranges from 0 to 255. However, in _calc_texture_hist function, the range input for numpy.histogram is (0.0, 1.0) that causes the function to ignore most of the pixels. Is this behavior expected?

@gauss-clb
Copy link

gauss-clb commented Jun 3, 2017

Oh, I think maybe it is a bug. The effect of the bug is that we don't use texture feature contributing for similarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants