Closed taylorwrt closed 7 years ago
Before each image is submitted to TurboReg, the image image window name is now temporarily renamed to something without spaces or other special characters that causes TurboReg to fail, then after registration, the original window name is restored.
Registration of .nrrd or .im images using non-mims images (e.g. EM images) fails if the nrrd file contains multiple series, which happens during peak switching runs. This is failure is causes by spaces in the image window names introduced by the peak swiching procedure. These spaces cannot be handled by the TurboReg library that is used to perform the registration.