Integrating Traditional Machine Learning and Neural Networks for Image Processing