select integral image computation function based on CPU capabilities