Contains code for registration by linear objects