BWHCNI / workflow

A collection of workflow scripts related to OpenMIMS
0 stars 2 forks source link

Using Register_MIMS_Images script with nrrd or im files that have multiple series fails. #8

Closed taylorwrt closed 7 years ago

taylorwrt commented 7 years ago

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.

taylorwrt commented 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.