users > RE: Unable to read reference image
Mar 20, 2017  01:03 PM
RE: Unable to read reference image
Admin@Admin-PC MINGW64 /d/Data/cmtkRegistration
$ ls refbrain/*
refbrain/Nov012016B3ZDref.nrrd

Admin@Admin-PC MINGW64 /d/Data/cmtkRegistration
$ ls images/*
images/FBZD01.nrrd images/FBZD02.nrrd

I am under the registration root folder /d/Data/cmtkRegistration.  ls on refbrain and images can find all the .nrrd files there. In the newly created folder "Registration", I also found a cmd.sh in the subfolder

D:\Data\cmtkRegistration\Registration\affine\refbrain\Nov012016B3ZDref_FBZD01_9dof.list

and the script is: 

Command was:
C:/cygwin64/usr/local/bin/cmtk/registration -i -v --dofs 6 --dofs 9 --accuracy 0.4  -o Registration/affine/refbrain/Nov012016B3ZDref_FBZD01_9dof.list refbrain\Nov012016B3ZDref.nrrd images/FBZD01.nrrd

But when I read the script with vim, it appears as 

Command was:
C:/cygwin64/usr/local/bin/cmtk/registration^@-i^@-v^@--dofs^@6^@--dofs^@9^@--accuracy^@0.4^@-o^@Registration/affine/refbrain/Nov012016B3ZDref_FBZD01_9dof.list^@refbrain\Nov012016B3ZDref.nrrd^@images/FBZD01.nrrd

in which all the spaces are replaced by ^@. If I type "cat cmd.sh" in terminal to display its contents, all the spaces are gone in the output. Do you think this is where the problem lies?
reply reply with quote
Threaded View
TitleAuthorDate
Unable to read reference imageDan XieMar 13, 2017
       Unable to read reference imageGreg JefferisMar 13, 2017
            RE: Unable to read reference imageDan XieMar 13, 2017
                   RE: Unable to read reference imageGreg JefferisMar 13, 2017
                         RE: Unable to read reference imageTorsten RohlfingMar 14, 2017
                               RE: Unable to read reference imageDan XieMar 14, 2017
                                     RE: Unable to read reference imageTorsten RohlfingMar 14, 2017
                                           RE: Unable to read reference imageDan XieMar 20, 2017
                                                 RE: Unable to read reference imageGreg JefferisMar 20, 2017
                                                       RE: Unable to read reference imageDan XieMar 20, 2017
                         RE: Unable to read reference imageGreg JefferisMar 13, 2017
                               RE: Unable to read reference imageDan XieMar 14, 2017