[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 5494c91: Book: fixed typo in dilate operator o
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 5494c91: Book: fixed typo in dilate operator of Arithmetic |
Date: |
Sun, 2 Aug 2020 12:49:43 -0400 (EDT) |
branch: master
commit 5494c916d0f0cfd80396be310031af3aab83b6ac
Author: Joseph Putko <josephputko@gmail.com>
Commit: Joseph Putko <josephputko@gmail.com>
Book: fixed typo in dilate operator of Arithmetic
Prior to this commit, the explanation of the dilate operator said
"Erosion is simply a flipping of all background pixels..."
"Erosion" should be "Dilation"
With this commit, I have made this change. I also improved the
consistency in mentioning the background and foreground values
between the erode and dilate operators.
---
doc/gnuastro.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 8781e1a..24d36be 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -10646,7 +10646,7 @@ But you can use @option{--onedasimage} or
@option{--onedonstdout} to respectivel
@cindex Erosion
Erode the foreground pixels (with value @code{1}) of the input dataset (second
popped operand).
The first popped operand is the connectivity (see description in
@command{connected-components}).
-Erosion is simply a flipping of all foreground pixels (to background; with
value @code{0}) that are ``touching'' background pixels.
+Erosion is simply a flipping of all foreground pixels (with value @code{1}) to
background (with value @code{0}) that are ``touching'' background pixels.
``Touching'' is defined by the connectivity.
In effect, this carves off the outer borders of the foreground, making them
thinner.
This operator assumes a binary dataset (all pixels are @code{0} and @code{1}).
@@ -10655,7 +10655,7 @@ This operator assumes a binary dataset (all pixels are
@code{0} and @code{1}).
@cindex Dilation
Dilate the foreground pixels (with value @code{1}) of the input dataset
(second popped operand).
The first popped operand is the connectivity (see description in
@command{connected-components}).
-Erosion is simply a flipping of all background pixels (with value @code{0}) to
foreground that are ``touching'' foreground pixels.
+Dilation is simply a flipping of all background pixels (with value @code{0})
to foreground (with value @code{1}) that are ``touching'' foreground pixels.
``Touching'' is defined by the connectivity.
In effect, this expands the outer borders of the foreground.
This operator assumes a binary dataset (all pixels are @code{0} and @code{1}).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 5494c91: Book: fixed typo in dilate operator of Arithmetic,
Mohammad Akhlaghi <=