LuminanceMapping

class LuminanceMapping

Bases: pybind11_object

Base class for functions that map an image and its interaction matrix to a different domain.

  • The mapping \(\mathbf{I} \rightarrow \mathbf{z}\) is done via vpLuminanceMapping::map

  • The projection of the interaction matrix \(\mathbf{L_I} \rightarrow \mathbf{L_z}\) is performed in vpLuminanceMapping::interaction

  • If possible the inverse mapping (i.e., image reconstruction) is available throug vpLuminanceMapping::inverse

Methods

__init__

getBorder

Returns the number of pixels that are removed by the photometric VS computation.

getProjectionSize

Returns the size of the space to which an image is mapped to.

imageAsMatrix

imageAsVector

setBorder

Set the number of pixels that are removed by the photometric VS computation This function should be called by vpFeatureLuminanceMapping .

Inherited Methods

Operators

__annotations__

__doc__

__init__

__module__

Attributes

__annotations__

__init__(*args, **kwargs)
getBorder(self) int

Returns the number of pixels that are removed by the photometric VS computation.

Returns:

space size

getProjectionSize(self) int

Returns the size of the space to which an image is mapped to.

Returns:

space size

static imageAsMatrix(I: visp._visp.core.ImageGray, Imat: visp._visp.core.Matrix, border: int) None
static imageAsVector(I: visp._visp.core.ImageGray, Ivec: visp._visp.core.ColVector, border: int) None
setBorder(self, border: int) None

Set the number of pixels that are removed by the photometric VS computation This function should be called by vpFeatureLuminanceMapping .

Parameters:
border: int