Commit 5879495a authored by Michaël Roynard's avatar Michaël Roynard
Browse files

Minor corrections

parent de72f227
Pipeline #12885 passed with stages
in 7 minutes and 14 seconds
......@@ -54,17 +54,17 @@ See :doc:`core/images` for a description of the image concepts and image basics.
:class: full
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
| :cpp:func:`view::transform(ima,f) <mln::view::transform>` | Views the image with values applied to a function. |
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::filter(ima, pred)`` | Views the image restricted to pixels with values passing a predicate. |
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::mask(ima, mask)`` | Views the image restricted to pixels in a binary mask. |
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::clip(ima, roi)`` | Views the image restricted to a sub-region. |
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::zip(ima1, ima2, ..., imaN)`` | Views a list of images as a single image where values are tuples of the each image values. |
+-----------------------------------------------------------+--------------------------------------------------------------------------------------------+
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| :cpp:func:`view::transform(ima, f) <mln::view::transform>` | Views the image with a function applied to the values. |
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::filter(ima, pred)`` | Views the image restricted to pixels whose values pass a predicate. |
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::mask(ima, mask)`` | Views the image restricted to pixels in a binary mask. |
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::clip(ima, roi)`` | Views the image restricted to a sub-region. |
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| ``view::zip(ima1, ima2, ..., imaN)`` | Views a list of images as a single image whose values are tuples of the each image values. |
+------------------------------------------------------------+--------------------------------------------------------------------------------------------+
.. topic:: Common image operators (views)
......
......@@ -9,7 +9,7 @@ Include :file:`<mln/core/image/view/transform.hpp>`
#. .. cpp:function:: auto transform(Image ima, Image ima2, BinaryFunction f)
1. Makes a view from `ima` where for each pixel value evals to `out(p) = f(ima(p))`
2. Makes a view from `ima` where for each pixel value evals to `out(p) = f(ima(p),ima2(p))`. For this overload, the domain of both image must be equal.
2. Makes a view from `ima` where for each pixel value evals to `out(p) = f(ima(p), ima2(p))`. For this overload, the domain of both image must be equal.
:param ima: Input range
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment