Transforms the source matrix into the destination matrix using given look-up table:
Transforms the source matrix into the destination matrix using the given look-up table: ``dst(I) = lut(src(I))``
.. math::
:param src: Source matrix. ``CV_8UC1`` and ``CV_8UC3`` matrices are supported for now.
dst(I) = lut(src(I))
:param src: Source matrix. ``CV_8UC1`` and ``CV_8UC3`` matrixes are supported for now.
:param lut: Look-up table. Must be continuous, ``CV_8U`` depth matrix. Its area must satisfy to ``lut.rows`` :math:`\times` ``lut.cols`` = 256 condition.
:param dst: Destination matrix. Will have the same depth as ``lut`` and the same number of channels as ``src``.
See also: :c:func:`LUT`.
:param lut: Look-up table of 256 elements. Must be continuous, ``CV_8U`` matrix.
:param dst: Destination matrix with the same depth as ``lut`` and the same number of channels as ``src`` .