FeatureLuminanceMapping

class FeatureLuminanceMapping(*args, **kwargs)

Bases: BasicFeature

Overloaded function.

  1. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, cam: visp._visp.core.CameraParameters, h: int, w: int, Z: float, mapping: visp._visp.visual_features.LuminanceMapping) -> None

  2. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, luminance: visp._visp.visual_features.FeatureLuminance, mapping: visp._visp.visual_features.LuminanceMapping) -> None

  3. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, f: visp._visp.visual_features.FeatureLuminanceMapping) -> None

Methods

__init__

Overloaded function.

buildFrom

display

Overloaded function.

error

Overloaded function.

getLuminanceFeature

getMapping

init

Overloaded function.

interaction

Overloaded function.

print

Inherited Methods

dimension_s

Return the dimension of the feature vector \(\bf s\) .

vpServo

BasicFeatureSelect

Indicates who should deallocate the feature.

getDimension

Get the feature vector dimension.

dim_s

deallocate

BasicFeatureDeallocatorType

Indicates who should deallocate the feature.

s

setDeallocate

user

nbParameters

FEATURE_ALL

setFlags

Set feature flags to true to prevent warning when re-computing the interaction matrix without having updated the feature.

get_s

Get the feature vector \(\bf s\) .

getDeallocate

selectAll

Select all the features.

Operators

__doc__

__init__

Overloaded function.

__module__

Attributes

FEATURE_ALL

__annotations__

deallocate

dim_s

nbParameters

s

user

vpServo

class BasicFeatureDeallocatorType(self, value: int)

Bases: pybind11_object

Indicates who should deallocate the feature.

Values:

  • user

  • vpServo

__and__(self, other: object) object
__eq__(self, other: object) bool
__ge__(self, other: object) bool
__getstate__(self) int
__gt__(self, other: object) bool
__hash__(self) int
__index__(self) int
__init__(self, value: int)
__int__(self) int
__invert__(self) object
__le__(self, other: object) bool
__lt__(self, other: object) bool
__ne__(self, other: object) bool
__or__(self, other: object) object
__rand__(self, other: object) object
__ror__(self, other: object) object
__rxor__(self, other: object) object
__setstate__(self, state: int) None
__xor__(self, other: object) object
property name : str
class BasicFeatureSelect(self, value: int)

Bases: pybind11_object

Indicates who should deallocate the feature.

Values:

  • user

  • vpServo

__and__(self, other: object) object
__eq__(self, other: object) bool
__ge__(self, other: object) bool
__getstate__(self) int
__gt__(self, other: object) bool
__hash__(self) int
__index__(self) int
__init__(self, value: int)
__int__(self) int
__invert__(self) object
__le__(self, other: object) bool
__lt__(self, other: object) bool
__ne__(self, other: object) bool
__or__(self, other: object) object
__rand__(self, other: object) object
__ror__(self, other: object) object
__rxor__(self, other: object) object
__setstate__(self, state: int) None
__xor__(self, other: object) object
property name : str
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, cam: visp._visp.core.CameraParameters, h: int, w: int, Z: float, mapping: visp._visp.visual_features.LuminanceMapping) -> None

  2. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, luminance: visp._visp.visual_features.FeatureLuminance, mapping: visp._visp.visual_features.LuminanceMapping) -> None

  3. __init__(self: visp._visp.visual_features.FeatureLuminanceMapping, f: visp._visp.visual_features.FeatureLuminanceMapping) -> None

buildFrom(self, I: visp._visp.core.ImageGray) None
dimension_s(self) int

Return the dimension of the feature vector \(\bf s\) .

display(*args, **kwargs)

Overloaded function.

  1. display(self: visp._visp.visual_features.FeatureLuminanceMapping, arg0: visp._visp.core.CameraParameters, arg1: visp._visp.core.ImageGray, arg2: visp._visp.core.Color = vpColor::green, arg3: int = 1) -> None

  2. display(self: visp._visp.visual_features.FeatureLuminanceMapping, arg0: visp._visp.core.CameraParameters, arg1: visp._visp.core.ImageRGBa, arg2: visp._visp.core.Color = vpColor::green, arg3: int = 1) -> None

error(*args, **kwargs)

Overloaded function.

  1. error(self: visp._visp.visual_features.FeatureLuminanceMapping, s_star: visp._visp.visual_features.BasicFeature, select: int = FEATURE_ALL) -> visp._visp.core.ColVector

  2. error(self: visp._visp.visual_features.FeatureLuminanceMapping, s_star: visp._visp.visual_features.BasicFeature, e: visp._visp.core.ColVector) -> None

  3. error(self: visp._visp.visual_features.BasicFeature, s_star: visp._visp.visual_features.BasicFeature, select: int = FEATURE_ALL) -> visp._visp.core.ColVector

Compute the error between two visual features from a subset of the possible features.

getDeallocate(self) visp._visp.visual_features.BasicFeature.BasicFeatureDeallocatorType
getDimension(self, select: int = FEATURE_ALL) int

Get the feature vector dimension.

getLuminanceFeature(self) visp._visp.visual_features.FeatureLuminance
getMapping(self) visp._visp.visual_features.LuminanceMapping
get_s(self, select: int = FEATURE_ALL) visp._visp.core.ColVector

Get the feature vector \(\bf s\) .

init(*args, **kwargs)

Overloaded function.

  1. init(self: visp._visp.visual_features.FeatureLuminanceMapping) -> None

  2. init(self: visp._visp.visual_features.FeatureLuminanceMapping, cam: visp._visp.core.CameraParameters, h: int, w: int, Z: float, mapping: visp._visp.visual_features.LuminanceMapping) -> None

  3. init(self: visp._visp.visual_features.FeatureLuminanceMapping, luminance: visp._visp.visual_features.FeatureLuminance, mapping: visp._visp.visual_features.LuminanceMapping) -> None

interaction(*args, **kwargs)

Overloaded function.

  1. interaction(self: visp._visp.visual_features.FeatureLuminanceMapping, select: int = FEATURE_ALL) -> visp._visp.core.Matrix

  2. interaction(self: visp._visp.visual_features.FeatureLuminanceMapping, L: visp._visp.core.Matrix) -> None

print(self, select: int = FEATURE_ALL) None
static selectAll() int

Select all the features.

setDeallocate(self, d: visp._visp.visual_features.BasicFeature.BasicFeatureDeallocatorType) None
setFlags(self) None

Set feature flags to true to prevent warning when re-computing the interaction matrix without having updated the feature.