summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristy <urban-warrior@imagemagick.org>2020-11-26 14:08:16 +0000
committerCristy <urban-warrior@imagemagick.org>2020-11-26 14:08:16 +0000
commitbfd65de978c2187202a07469bfafa9f906ed34ae (patch)
treedb029eb7e1853cc5d7405525ddf455d2d5b7ae34
parentcc01e86c110c9683f719d90e3ddbac70a3aa109f (diff)
downloadImageMagick-bfd65de978c2187202a07469bfafa9f906ed34ae.tar.gz
...
-rw-r--r--MagickCore/effect.c9
-rw-r--r--MagickWand/magick-image.c8
2 files changed, 14 insertions, 3 deletions
diff --git a/MagickCore/effect.c b/MagickCore/effect.c
index 20be20a0d..96160b09f 100644
--- a/MagickCore/effect.c
+++ b/MagickCore/effect.c
@@ -811,8 +811,13 @@ MagickExport Image *BlurImage(const Image *image,const double radius,
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% BilateralFilterImage() smooths and reduces noise in an image while
-% preserving edges.
+% BilateralFilterImage() is a non-linear, edge-preserving, and noise-reducing
+% smoothing filter for images. It replaces the intensity of each pixel with a
+% weighted average of intensity values from nearby pixels. This weight is
+% based on a Gaussian distribution. The weights depend not only on Euclidean
+% distance of pixels, but also on the radiometric differences (e.g., range
+% differences, such as color intensity, depth distance, etc.). This preserves
+% sharp edges.
%
% The format of the BilateralFilterImage method is:
%
diff --git a/MagickWand/magick-image.c b/MagickWand/magick-image.c
index f5947d963..5b99b6c0f 100644
--- a/MagickWand/magick-image.c
+++ b/MagickWand/magick-image.c
@@ -883,7 +883,13 @@ WandExport MagickBooleanType MagickAutoThresholdImage(MagickWand *wand,
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% MagickBilateralFilterImage() smooth and reduce noise while preserving edges.
+% MagickBilateralFilterImage() is a non-linear, edge-preserving, and
+% noise-reducing smoothing filter for images. It replaces the intensity of
+% each pixel with a weighted average of intensity values from nearby pixels.
+% This weight is based on a Gaussian distribution. The weights depend not
+% only on Euclidean distance of pixels, but also on the radiometric
+% differences (e.g., range differences, such as color intensity, depth
+% distance, etc.). This preserves sharp edges.
%
% The format of the MagickBilateralFilterImage method is:
%