correctly handle 2d data in opObjectCenterImage