gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 54b099d 043/113: Neighbors options doc general


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 54b099d 043/113: Neighbors options doc generalized for different dimensions
Date: Fri, 16 Apr 2021 10:33:41 -0400 (EDT)

branch: master
commit 54b099de86e61fa0a9ce01ec7cfa4a95f0f96851
Author: Mohammad Akhlaghi <akhlaghi@gnu.org>
Commit: Mohammad Akhlaghi <akhlaghi@gnu.org>

    Neighbors options doc generalized for different dimensions
    
    The documentation of the `--erodengb' and `--openingngb' was still based on
    the master branch ("4 or 8 connectivity in opening/erosion"). Therefore
    they were only for 2D datasets. However, in this branch we have extended to
    3D and none of the 4 or 8 values work in 3D (the number of neighbors is 6,
    18 and 26 in 3D). So the description has been generalized.
---
 bin/noisechisel/args.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/noisechisel/args.h b/bin/noisechisel/args.h
index e44efbd..51a3d76 100644
--- a/bin/noisechisel/args.h
+++ b/bin/noisechisel/args.h
@@ -293,7 +293,7 @@ struct argp_option program_options[] =
       UI_KEY_ERODENGB,
       "INT",
       0,
-      "4 or 8 connectivity in erosion.",
+      "Connectivity in erosion (number of ngbs).",
       UI_GROUP_DETECTION,
       &p->erodengb,
       GAL_TYPE_SIZE_T,
@@ -332,7 +332,7 @@ struct argp_option program_options[] =
       UI_KEY_OPENINGNGB,
       "INT",
       0,
-      "4 or 8 connectivity in opening.",
+      "Connectivity in opening (number of ngbs).",
       UI_GROUP_DETECTION,
       &p->openingngb,
       GAL_TYPE_SIZE_T,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]