An invariant approach for image registration in digital subtraction angiography