Code used for a pipeline for registering ABA images