From 5e4c3ae5542437fd13ae5f022672c379ad75c1bd Mon Sep 17 00:00:00 2001 From: nulano Date: Mon, 22 Jun 2020 07:22:13 +0200 Subject: [PATCH] fix ImageMath creating false index entries (cherry picked from commit eebecba3c20cde0aca126eaa081ebe8a49f7c659) --- docs/reference/ImageMath.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/ImageMath.rst b/docs/reference/ImageMath.rst index ca30244d1..4425d03ad 100644 --- a/docs/reference/ImageMath.rst +++ b/docs/reference/ImageMath.rst @@ -98,20 +98,24 @@ These functions are applied to each individual pixel. .. py:currentmodule:: None .. py:function:: abs(image) + :noindex: Absolute value. .. py:function:: convert(image, mode) + :noindex: Convert image to the given mode. The mode must be given as a string constant. .. py:function:: float(image) + :noindex: Convert image to 32-bit floating point. This is equivalent to convert(image, ā€œFā€). .. py:function:: int(image) + :noindex: Convert image to 32-bit integer. This is equivalent to convert(image, ā€œIā€). @@ -119,9 +123,11 @@ These functions are applied to each individual pixel. integers if necessary to get a correct result. .. py:function:: max(image1, image2) + :noindex: Maximum value. .. py:function:: min(image1, image2) + :noindex: Minimum value.