Machine vision - theory, algorithms, practicalities (2. ed.)