These are the steps that were left out in the formulae of Duda and Hart's book Pattern Classifications, starting on page 126. Me and Ozan spent two Starlab-afternoons puzzling this out, with lots of help from Nikos Berdenis. If you spot an error, please don't tell us.