Skip to content

Commit

Permalink
Merge pull request #559 from arobert01/command-line-osem
Browse files Browse the repository at this point in the history
ENH: add flag in rtkosem application to store the normalization images
  • Loading branch information
arobert01 authored Nov 24, 2023
2 parents 0a84555 + efdc4e1 commit 38df5e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion applications/rtkosem/rtkosem.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ main(int argc, char * argv[])

osem->SetNumberOfIterations(args_info.niterations_arg);
osem->SetNumberOfProjectionsPerSubset(args_info.nprojpersubset_arg);

osem->SetStoreNormalizationImages(!args_info.nostorenormalizationimages_flag);
REPORT_ITERATIONS(osem, rtk::OSEMConeBeamReconstructionFilter<OutputImageType>, OutputImageType)

// Write
Expand Down
1 change: 1 addition & 0 deletions applications/rtkosem/rtkosem.ggo
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ option "niterations" n "Number of iterations" i
option "input" i "Input volume" string no
option "nprojpersubset" - "Number of projections processed between each update of the reconstructed volume (several for OSEM, all for MLEM)" int no default="1"
option "betaregularization" - "Hyperparameter for the regularization" float no default="0"
option "nostorenormalizationimages" - "Do not store the normalization images during the reconstruction" flag off

0 comments on commit 38df5e8

Please sign in to comment.