-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Support "ResultImageName" in parameter files
Allows the user to specify the name of the result file, that would otherwise just be named something like "result.mhd". This improvement applies mainly to the elastix and transformix *executables*. Moreover, for the elastix library, it also applies to the result image files generated with "WriteResultImageAfterEachResolution" and "WriteResultImageAfterEachIteration". Addressing issue #672 "Feature request: specify output name for file in transformix/elastix" by Sebastian van der Voort.
- Loading branch information
Showing
5 changed files
with
147 additions
and
4 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
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
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
12 changes: 12 additions & 0 deletions
12
Testing/PythonTests/TransformParameters/Translation(1,-2)-CustomResultImageName.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,12 @@ | ||
(Direction 1 0 0 1) | ||
(FixedImageDimension 2) | ||
(Index 0 0) | ||
(MovingImageDimension 2) | ||
(NumberOfParameters 2) | ||
(Origin 0 0) | ||
(ResultImageName "CustomResultImageName") | ||
(ResultImagePixelType "float") | ||
(Size 5 6) | ||
(Spacing 1 1) | ||
(Transform "TranslationTransform") | ||
(TransformParameters 1 -2) |
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