users
users > RE: Unable to read reference image
Mar 20, 2017 08:03 PM | Dan Xie - UCSF
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?
$ 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?
Threaded View
Title | Author | Date |
---|---|---|
Dan Xie | Mar 13, 2017 | |
Greg Jefferis | Mar 13, 2017 | |
Dan Xie | Mar 13, 2017 | |
Greg Jefferis | Mar 14, 2017 | |
Torsten Rohlfing | Mar 14, 2017 | |
Dan Xie | Mar 14, 2017 | |
Torsten Rohlfing | Mar 15, 2017 | |
Dan Xie | Mar 20, 2017 | |
Greg Jefferis | Mar 20, 2017 | |
Dan Xie | Mar 20, 2017 | |
Greg Jefferis | Mar 14, 2017 | |
Dan Xie | Mar 14, 2017 | |