Image samples and derivatives for direct/photometric image alignment

Thank you! Strangely this function doesn’t appear in the Public API page of Interpolations’ docs. Also, it seems like you can’t get values and gradients in the same call, which is a shame, since much of the computation is duplicated.