STY: Fix formatting and use tight_layout in doc examples.

This commit is contained in:
Josh Warner (Mac)
2015-12-23 20:53:51 -05:00
committed by Joshua Warner
parent cc8c3b7687
commit 9b9473c6a1
21 changed files with 88 additions and 73 deletions
@@ -87,5 +87,5 @@ ax3.set_title("K-means filterbank (codebook)\non LGN-like DoG image")
for ax in axes.ravel():
ax.axis('off')
fig.subplots_adjust(hspace=0.3)
fig.tight_layout()
plt.show()
+5 -5
View File
@@ -15,11 +15,11 @@ Algorithm overview
Compute a Histogram of Oriented Gradients (HOG) by
1. (optional) global image normalisation
2. computing the gradient image in x and y
3. computing gradient histograms
4. normalising across blocks
5. flattening into a feature vector
1. (optional) global image normalisation
2. computing the gradient image in x and y
3. computing gradient histograms
4. normalising across blocks
5. flattening into a feature vector
The first stage applies an optional global image normalisation
equalisation that is designed to reduce the influence of illumination