I really like this chapter. IIRC, it was the first submission. And of course we're lucky to have something from Dave Hale.
Only drawback is that the code takes quite some parsing if you're not used to C++. It would be interesting to see a pure Python port (one would approach it in a completely different way, at least in NumPy, so it wouldn't be a fair comparison).
Changes
'awhile' to 'a while'
'in a one-line program' to 'in one line'
format var names as code (throughout)
hypen to minus
space before '(black)'
no figure caption
delete remark about efficiency on line 28, concatenate paragraphs for space.
line 24: awkward mixture of code and math symbology
replace bullets in lines 34ff
cut at "One final tip"
Figures
Skip Figure 3 (discussion of edges and zero mean)
Will need recoloring, but can probably do this in GIMP. We'll keep the colour versions for online / e-book.
I really like this chapter. IIRC, it was the first submission. And of course we're lucky to have something from Dave Hale.
Only drawback is that the code takes quite some parsing if you're not used to C++. It would be interesting to see a pure Python port (one would approach it in a completely different way, at least in NumPy, so it wouldn't be a fair comparison).
Changes
Figures
The blog reference will go in as a footnote.