Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Add convenience function ReadImage
Added `itk::ReadImage<TOutputImage>(const std::string & filename)`, to allows simplifying the C++ code for reading an image. Suggested by Dženan Zukić at #2102 (comment) Follow-up to: "ENH: add a convenience function WriteImage" Pull request: #2160 Commit: 60b0984 Replaced manual creation of `ImageFileReader` objects in Common tests by calls to the new `itk::ReadImage` function. Also removed related redundant try-catch blocks from SymmetricSecondRankTensorImage tests.
- Loading branch information
1 parent
c5aa259
commit aeea88b
Showing
5 changed files
with
83 additions
and
108 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
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