Skip to content

Commit

Permalink
dwidenoise: Change default spherical kernel size
Browse files Browse the repository at this point in the history
Change from recollection-from-memory ratio of 1.1 to that reported in the corresponding publication of 1.0/0.85.
  • Loading branch information
Lestropie committed Nov 7, 2024
1 parent b66bf23 commit 4165276
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/dwidenoise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum class estimator_type { EXP1, EXP2 };

const std::vector<std::string> shapes = {"cuboid", "sphere"};
enum class shape_type { CUBOID, SPHERE };
constexpr default_type sphere_multiplier_default = 1.1;
constexpr default_type sphere_multiplier_default = 1.0 / 0.85;

// clang-format off
void usage() {
Expand Down Expand Up @@ -145,8 +145,8 @@ void usage() {
"Set an absolute spherical kernel radius in mm")
+ Argument("value").type_float(0.0)
+ Option("radius_ratio",
"Set the spherical kernel radius as a ratio of number of input volumes "
"(default: 1.1)")
"Set the spherical kernel size as a ratio of number of voxels to number of input volumes "
"(default: ~1.18)")
+ Argument("value").type_float(0.0)
+ Option("extent",
"Set the patch size of the cuboid filter; "
Expand Down

0 comments on commit 4165276

Please sign in to comment.