Machine Vision Algorithms and Applications