MBLBP is cdef function now. Corrected the example repeated imports.

This commit is contained in:
dan
2015-06-09 17:04:11 +02:00
parent fb6ef72a31
commit c4f8e0126b
4 changed files with 57 additions and 71 deletions
@@ -55,12 +55,9 @@ print(lbp_code == correct_answer)
"""
Now let's apply the operator to a real image and see how the visualization works.
"""
from skimage.util import img_as_float
from skimage.transform import integral_image
from skimage import data
from matplotlib import pyplot as plt
from skimage.feature import (multiblock_local_binary_pattern,
draw_multiblock_lbp)
from skimage.feature import draw_multiblock_lbp
test_img = data.coins()