-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated signature of registerScans and moved inputCmdFile to end. Set…
… up command files for affine and bsplines transforms
- Loading branch information
1 parent
96d40ec
commit c24d022
Showing
6 changed files
with
200 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
cerr/registration/settings/plastimatch_ct_ct_intra_pt_affine.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Settings for inter-patient CT-CT registration | ||
|
||
[GLOBAL] | ||
fixed=fixed.nii.gz | ||
moving=moving.nii.gz | ||
img_out=warped_moving.nii.gz | ||
xform_out=bspline_coefficients.txt | ||
resample_when_linear=true | ||
|
||
[STAGE] | ||
xform=align_center | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=translation | ||
optim=rsg | ||
max_its=2000 | ||
res=4 4 2 | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=affine | ||
optim=rsg | ||
max_its=1000 | ||
res=2 2 1 | ||
metric=mi | ||
|
||
#[STAGE] | ||
#xform=bspline | ||
#impl=plastimatch | ||
#threading=openmp | ||
#max_its=30 | ||
#regularization_lambda=0.1 | ||
#grid_spac=50 50 50 | ||
#res=2 2 1 | ||
#metric=mse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
cerr/registration/settings/plastimatch_ct_ct_intra_pt_w_masks_affine.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Settings for inter-patient CT-CT registration | ||
|
||
[GLOBAL] | ||
fixed=fixed.nii.gz | ||
moving=moving.nii.gz | ||
fixed_roi=fixed_mask.nii.gz | ||
moving_roi=moving_mask.nii.gz | ||
img_out=warped_moving.nii.gz | ||
xform_out=bspline_coefficients.txt | ||
resample_when_linear=true | ||
|
||
[STAGE] | ||
xform=align_center | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=translation | ||
optim=rsg | ||
max_its=2000 | ||
res=2 2 1 | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=affine | ||
optim=rsg | ||
max_its=1000 | ||
res=2 2 1 | ||
metric=mi | ||
|
||
#[STAGE] | ||
#xform=bspline | ||
#impl=plastimatch | ||
#threading=openmp | ||
#max_its=30 | ||
#regularization_lambda=0.1 | ||
#grid_spac=50 50 50 | ||
#res=2 2 1 | ||
#metric=mse |
48 changes: 48 additions & 0 deletions
48
cerr/registration/settings/plastimatch_ct_ct_intra_pt_w_masks_bsplines.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Settings for inter-patient CT-CT registration | ||
|
||
[GLOBAL] | ||
fixed=fixed.nii.gz | ||
moving=moving.nii.gz | ||
fixed_roi=fixed_mask.nii.gz | ||
moving_roi=moving_mask.nii.gz | ||
img_out=warped_moving.nii.gz | ||
xform_out=bspline_coefficients.txt | ||
resample_when_linear=true | ||
|
||
[STAGE] | ||
xform=align_center | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=translation | ||
optim=rsg | ||
max_its=2000 | ||
res=2 2 1 | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=affine | ||
optim=rsg | ||
max_its=1000 | ||
res=2 2 1 | ||
metric=mi | ||
|
||
[STAGE] | ||
xform=bspline | ||
impl=plastimatch | ||
threading=openmp | ||
max_its=30 | ||
regularization_lambda=0.1 | ||
grid_spac=50 50 50 | ||
res=2 2 1 | ||
metric=mse | ||
|
||
#[STAGE] | ||
#xform=bspline | ||
#impl=plastimatch | ||
#threading=openmp | ||
#max_its=20 | ||
#regularization_lambda=0.05 | ||
#grid_spac=30 30 30 | ||
#res=1 1 1 | ||
#metric=mse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters