forked from RTKConsortium/RTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Add support for fixed vector length input in SpectralForwardModel
One-step and two-steps spectral filters currently use different image types internally. To increase their interoperability, they should also accept in input the type of image they don't use internally. This commit modifies SetInputDecomposedProjections and SetInputMeasuredProjections in rtkSpectralForwardModelImageFilter so that they accept itk::Image<itk::Vector> images (with a limited number of possible vector lengths). It also adds a test case in rtkdecomposespectralprojectionstest to test the modified SetInput functions
- Loading branch information
Showing
3 changed files
with
214 additions
and
40 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