Update image_operations.cpp