pyushkevich / greedy

Very fast greedy diffeomorphic registration code
GNU General Public License v3.0
62 stars 17 forks source link

-o cannot save any thing on disk in windows system #15

Open linfanluntan opened 4 years ago

linfanluntan commented 4 years ago

Tried affine registration but no output saved

pyushkevich commented 4 years ago

Could you provide the whole command line?

On Wed, Nov 13, 2019 at 2:18 PM linfanluntan notifications@github.com wrote:

Tried affine registration but no output saved

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEWYZIEWLRS4WUOQTK5DQTRHI3A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZDPSMA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPEW3PRFGWM3USPVGRVM3QTRHI3ANCNFSM4JNAIBIQ .

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

linfanluntan commented 4 years ago

I tried below in several PCs with WIN10, no one can generate (save) 53226308affine.mat, files are all in the same folder, and the code runs well:

./greedy -d 3 -a -m NCC 2x2x2 -i 05243434.nii.gz 53226308.nii.gz -o 53226308affine.mat -ia-image-centers -n 100x50x10

Thank you!

On Thu, Nov 14, 2019 at 8:38 AM Paul Yushkevich notifications@github.com wrote:

Could you provide the whole command line?

On Wed, Nov 13, 2019 at 2:18 PM linfanluntan notifications@github.com wrote:

Tried affine registration but no output saved

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEWYZIEWLRS4WUOQTK5DQTRHI3A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZDPSMA , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAJPEW3PRFGWM3USPVGRVM3QTRHI3ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7K27MNAFA4LBCNHHV3QTVPGZA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECBM4I#issuecomment-553916017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFZ7OEQX5QL5AOWTSHSU3QTVPGZANCNFSM4JNAIBIQ .

pyushkevich commented 4 years ago

Could you try an output filename that does not start with a number? Not sure, just trying ...

On Thu, Nov 14, 2019 at 11:56 PM linfanluntan notifications@github.com wrote:

I tried below in several PCs with WIN10, no one can generate (save) 53226308affine.mat, files are all in the same folder, and the code runs well:

./greedy -d 3 -a -m NCC 2x2x2 -i 05243434.nii.gz 53226308.nii.gz -o 53226308affine.mat -ia-image-centers -n 100x50x10

Thank you!

On Thu, Nov 14, 2019 at 8:38 AM Paul Yushkevich notifications@github.com wrote:

Could you provide the whole command line?

On Wed, Nov 13, 2019 at 2:18 PM linfanluntan notifications@github.com wrote:

Tried affine registration but no output saved

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEWYZIEWLRS4WUOQTK5DQTRHI3A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZDPSMA

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAJPEW3PRFGWM3USPVGRVM3QTRHI3ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7K27MNAFA4LBCNHHV3QTVPGZA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECBM4I#issuecomment-553916017 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AANFZ7OEQX5QL5AOWTSHSU3QTVPGZANCNFSM4JNAIBIQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEW3YDM4SUQ7LAMTWJALQTYTY7A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEEJYIY#issuecomment-554212387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPEW73R4K2NVKEQ232OETQTYTY7ANCNFSM4JNAIBIQ .

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

linfanluntan commented 4 years ago

Hi, Paul,

Thank you so much! I tried your suggestion, but still no output saved.

Best regards, Renjie

On Fri, Nov 15, 2019 at 11:02 AM Paul Yushkevich notifications@github.com wrote:

Could you try an output filename that does not start with a number? Not sure, just trying ...

On Thu, Nov 14, 2019 at 11:56 PM linfanluntan notifications@github.com wrote:

I tried below in several PCs with WIN10, no one can generate (save) 53226308affine.mat, files are all in the same folder, and the code runs well:

./greedy -d 3 -a -m NCC 2x2x2 -i 05243434.nii.gz 53226308.nii.gz -o 53226308affine.mat -ia-image-centers -n 100x50x10

Thank you!

On Thu, Nov 14, 2019 at 8:38 AM Paul Yushkevich < notifications@github.com> wrote:

Could you provide the whole command line?

On Wed, Nov 13, 2019 at 2:18 PM linfanluntan <notifications@github.com

wrote:

Tried affine registration but no output saved

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEWYZIEWLRS4WUOQTK5DQTRHI3A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZDPSMA

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAJPEW3PRFGWM3USPVGRVM3QTRHI3ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7K27MNAFA4LBCNHHV3QTVPGZA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECBM4I#issuecomment-553916017

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AANFZ7OEQX5QL5AOWTSHSU3QTVPGZANCNFSM4JNAIBIQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEW3YDM4SUQ7LAMTWJALQTYTY7A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEEJYIY#issuecomment-554212387 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAJPEW73R4K2NVKEQ232OETQTYTY7ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7IMVHSYN43SCEVXGHDQT3I2BA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGCDWQ#issuecomment-554443226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFZ7NVF6WFCVGPQS6FNRLQT3I2BANCNFSM4JNAIBIQ .

linfanluntan commented 4 years ago

Below is the execution process:

PS C:\lwc> ./greedy -d 3 -a -m NCC 2x2x2 -i 05243434.nii.gz 53226308.nii.gz -o affine.mat -ia-image-centers -n 100x50x10 Executing with the default number of threads: 8 Noise on image 0 component 0: fixed = 1.599, moving = 1.603


N=12 NUMBER OF CORRECTIONS=5 INITIAL VALUES F= -3924.11 GNORM= 659.394


I NFN FUNC GNORM STEPLENGTH 1 3 -3999.816 221.651 0.000 2 4 -4009.888 118.950 1.000 3 5 -4014.164 111.478 1.000 4 6 -4047.854 105.415 1.000 5 7 -4050.980 234.718 1.000 6 8 -4056.232 107.144 1.000 7 9 -4061.234 49.116 1.000 8 10 -4065.230 68.698 1.000 9 11 -4066.942 70.223 1.000 10 12 -4067.765 38.026 1.000 11 13 -4068.271 35.191 1.000 12 14 -4070.229 67.995 1.000 13 15 -4072.934 62.009 1.000 14 16 -4073.375 94.597 1.000 15 17 -4075.061 36.099 1.000 16 18 -4075.539 31.851 1.000 17 19 -4076.911 32.961 1.000 18 21 -4077.423 55.460 0.249 19 22 -4078.066 23.935 1.000 20 23 -4078.270 12.721 1.000 21 24 -4078.384 13.921 1.000 22 25 -4078.584 34.973 1.000 23 26 -4078.875 21.526 1.000 24 27 -4079.096 8.546 1.000 25 28 -4079.155 10.154 1.000 26 29 -4079.186 6.616 1.000 27 30 -4079.209 7.736 1.000 28 31 -4079.266 10.598 1.000 29 32 -4079.325 7.534 1.000 30 34 -4079.344 8.837 0.376 31 35 -4079.364 5.324 1.000 32 36 -4079.385 4.982 1.000 33 37 -4079.401 4.436 1.000 34 38 -4079.408 4.985 1.000 35 39 -4079.418 2.801 1.000 36 40 -4079.427 4.579 1.000 37 41 -4079.435 5.189 1.000 38 42 -4079.443 4.393 1.000 39 43 -4079.450 1.306 1.000 40 44 -4079.452 1.569 1.000 41 45 -4079.454 2.263 1.000 42 47 -4079.455 1.341 0.327 43 48 -4079.456 0.617 1.000 44 49 -4079.456 0.773 1.000 45 50 -4079.456 1.117 1.000 46 51 -4079.456 0.570 1.000 47 52 -4079.457 0.724 1.000 48 53 -4079.457 1.501 1.000 49 54 -4079.457 0.578 1.000 50 55 -4079.457 0.655 1.000 51 56 -4079.458 0.907 1.000 52 57 -4079.458 0.886 1.000 53 58 -4079.459 0.349 1.000 54 59 -4079.459 0.582 1.000 55 61 -4079.459 0.468 0.500 56 62 -4079.459 0.145 1.000 57 63 -4079.459 0.258 1.000 58 65 -4079.459 0.154 0.258 59 66 -4079.459 0.166 1.000 60 67 -4079.459 0.156 1.000 61 68 -4079.459 0.092 1.000 62 70 -4079.459 0.083 0.347 63 71 -4079.459 0.037 1.000 64 72 -4079.459 0.109 1.000 65 73 -4079.459 0.051 1.000 66 74 -4079.459 0.029 1.000 67 75 -4079.459 0.032 1.000 68 76 -4079.459 0.060 1.000 69 77 -4079.459 0.071 1.000 70 78 -4079.459 0.134 1.000 71 79 -4079.459 0.087 1.000 72 80 -4079.459 0.032 1.000 73 81 -4079.459 0.024 1.000 74 83 -4079.459 0.088 5.000 75 84 -4079.459 0.057 1.000 76 85 -4079.459 0.041 1.000 77 86 -4079.459 0.034 1.000 78 87 -4079.459 0.028 1.000 79 89 -4079.459 0.083 0.232 80 90 -4079.459 0.031 1.000 81 91 -4079.459 0.038 1.000 82 92 -4079.459 0.092 1.000 83 93 -4079.459 0.018 1.000 84 94 -4079.459 0.041 1.000 85 96 -4079.459 0.145 0.308 86 98 -4079.459 0.108 0.332 87 99 -4079.459 0.089 1.000 88 100 -4079.459 0.053 1.000 Final RAS Transform: 0.997502 0.000805665 -0.00256677 -0.322921 -0.00193091 0.997536 -0.00197134 -0.666842 0.0037722 0.00158206 0.992704 -1.16393 0 0 0 1


N=12 NUMBER OF CORRECTIONS=5 INITIAL VALUES F= -3124.59 GNORM= 91.0231


I NFN FUNC GNORM STEPLENGTH 1 3 -3126.203 53.476 0.000 2 4 -3127.219 57.490 1.000 3 5 -3135.559 117.900 1.000 4 6 -3140.424 99.990 1.000 5 8 -3141.642 76.580 0.288 6 9 -3142.803 25.322 1.000 7 10 -3143.143 28.130 1.000 8 11 -3143.955 49.658 1.000 9 12 -3145.726 76.971 1.000 10 13 -3147.779 72.275 1.000 11 15 -3148.084 62.034 0.188 12 16 -3148.795 22.411 1.000 13 17 -3148.917 7.030 1.000 14 18 -3148.948 8.719 1.000 15 19 -3149.032 15.663 1.000 16 20 -3149.176 20.758 1.000 17 21 -3149.259 28.652 1.000 18 22 -3149.374 8.673 1.000 19 23 -3149.395 3.410 1.000 20 24 -3149.404 2.909 1.000 21 25 -3149.418 5.441 1.000 22 26 -3149.437 6.426 1.000 23 28 -3149.448 7.050 0.384 24 29 -3149.457 1.955 1.000 25 30 -3149.459 0.927 1.000 26 31 -3149.459 1.342 1.000 27 32 -3149.461 1.343 1.000 28 34 -3149.462 2.350 0.162 29 35 -3149.464 1.724 1.000 30 36 -3149.466 1.104 1.000 31 38 -3149.466 0.457 0.253 32 39 -3149.466 0.203 1.000 33 40 -3149.466 0.192 1.000 34 41 -3149.467 0.428 1.000 35 42 -3149.467 0.431 1.000 36 43 -3149.467 0.131 1.000 37 44 -3149.467 0.071 1.000 38 45 -3149.467 0.131 1.000 39 47 -3149.467 0.081 0.372 40 48 -3149.467 0.076 1.000 41 50 -3149.467 0.126 0.456 42 51 -3149.467 0.088 1.000 Final RAS Transform: 0.998738 0.00106745 -0.00240996 -0.235365 -0.00176189 0.998505 -0.00173616 -0.507571 0.00368579 0.00137922 0.996567 -0.512989 0 0 0 1

PS C:\lwc>

On Fri, Nov 15, 2019 at 11:02 AM Paul Yushkevich notifications@github.com wrote:

Could you try an output filename that does not start with a number? Not sure, just trying ...

On Thu, Nov 14, 2019 at 11:56 PM linfanluntan notifications@github.com wrote:

I tried below in several PCs with WIN10, no one can generate (save) 53226308affine.mat, files are all in the same folder, and the code runs well:

./greedy -d 3 -a -m NCC 2x2x2 -i 05243434.nii.gz 53226308.nii.gz -o 53226308affine.mat -ia-image-centers -n 100x50x10

Thank you!

On Thu, Nov 14, 2019 at 8:38 AM Paul Yushkevich < notifications@github.com> wrote:

Could you provide the whole command line?

On Wed, Nov 13, 2019 at 2:18 PM linfanluntan <notifications@github.com

wrote:

Tried affine registration but no output saved

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <

https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEWYZIEWLRS4WUOQTK5DQTRHI3A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZDPSMA

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAJPEW3PRFGWM3USPVGRVM3QTRHI3ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7K27MNAFA4LBCNHHV3QTVPGZA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECBM4I#issuecomment-553916017

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AANFZ7OEQX5QL5AOWTSHSU3QTVPGZANCNFSM4JNAIBIQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AAJPEW3YDM4SUQ7LAMTWJALQTYTY7A5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEEJYIY#issuecomment-554212387 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAJPEW73R4K2NVKEQ232OETQTYTY7ANCNFSM4JNAIBIQ

.

-- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/15?email_source=notifications&email_token=AANFZ7IMVHSYN43SCEVXGHDQT3I2BA5CNFSM4JNAIBI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGCDWQ#issuecomment-554443226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFZ7NVF6WFCVGPQS6FNRLQT3I2BANCNFSM4JNAIBIQ .