Some helpful functions for working with Cognex VisionPro