Input image copied to GPU only once for DalalTriggs