From d72852b3aae715b9e348ab42e596e729ad9efcc8 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sun, 23 May 2021 17:45:43 +0100 Subject: [PATCH] Docs: changelog entry for #2726 --- docs/api-operation.md | 4 ++++ docs/changelog.md | 4 ++++ lib/operation.js | 2 ++ 3 files changed, 10 insertions(+) diff --git a/docs/api-operation.md b/docs/api-operation.md index fb7a747e..f6a5487d 100644 --- a/docs/api-operation.md +++ b/docs/api-operation.md @@ -267,6 +267,10 @@ darker details. Please read more about CLAHE here: Returns **Sharp** +**Meta** + +* **since**: 0.28.3 + ## convolve Convolve the image with the specified kernel. diff --git a/docs/changelog.md b/docs/changelog.md index 9f9c5cfa..7f47dc30 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,6 +11,10 @@ Requires libvips v8.10.6 * Skip shrink-on-load for multi-page WebP. [#2714](https://github.com/lovell/sharp/issues/2714) +* Add contrast limiting adaptive histogram equalization (CLAHE) operator. + [#2726](https://github.com/lovell/sharp/pull/2726) + [@baparham](https://github.com/baparham) + ### v0.28.2 - 10th May 2021 * Allow `withMetadata` to set `density`. diff --git a/lib/operation.js b/lib/operation.js index 0be23407..aafc52a4 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -357,6 +357,8 @@ function normalize (normalize) { * darker details. Please read more about CLAHE here: * https://en.wikipedia.org/wiki/Adaptive_histogram_equalization#Contrast_Limited_AHE * + * @since 0.28.3 + * * @param {Object} options * @param {number} options.width - integer width of the region in pixels. * @param {number} options.height - integer height of the region in pixels.