diff --git a/doc/examples/plot_local_binary_pattern.py b/doc/examples/plot_local_binary_pattern.py index d961d136..7963bff7 100644 --- a/doc/examples/plot_local_binary_pattern.py +++ b/doc/examples/plot_local_binary_pattern.py @@ -3,20 +3,17 @@ Local Binary Pattern for texture classification =============================================== -In this example, we will see how to classify textures based on LBP (Local Binary -Pattern). The histogram of the LBP result is a good measure to classify +In this example, we will see how to classify textures based on LBP (Local +Binary Pattern). The histogram of the LBP result is a good measure to classify textures. For simplicity the histogram distributions are then tested against each other using the Kullback-Leibler-Divergence. """ -import os -import glob import numpy as np import matplotlib import matplotlib.pyplot as plt import scipy.ndimage as nd import skimage.feature as ft -from skimage.io import imread from skimage import data