Automatically crop the reference image to the target image dimensions + margin to reduce memory load in case of much larger reference images.
Currently AROSICS gets stuck when the input images have very large pixel dimensions (depending on the host technical resources). This should be handled somehow. As a first step, those parts of the reference image that are not needed for co-registration should also not be read into memory.