Thank you for the suggestion. I actually resolved it, and the bug is as you expected due to the type of the image not being correct. I needed to add this statement before I did the resize operation:
origImage.convertTo(origImage, CV_32FC3, 1/255.0);