FeatureLuminance¶
- class FeatureLuminance(*args, **kwargs)¶
Bases:
BasicFeature
Class that defines the image luminance visual feature.
For more details see [6] .
Overloaded function.
__init__(self: visp._visp.visual_features.FeatureLuminance) -> None
Default constructor that build a visual feature.
__init__(self: visp._visp.visual_features.FeatureLuminance, f: visp._visp.visual_features.FeatureLuminance) -> None
Copy constructor.
Methods
Overloaded function.
Build a luminance feature directly from the image
Overloaded function.
Overloaded function.
Get the value of \(Z\) which represents the depth in the 3D camera frame.
Overloaded function.
Overloaded function.
Not implemented.
Set the value of \(Z\) which represents the depth in the 3D camera frame.
Inherited Methods
Indicates who should deallocate the feature.
Indicates who should deallocate the feature.
Select all the features.
deallocate
dim_s
s
Get the feature vector \(\bf s\) .
Get the feature vector dimension.
vpServo
nbParameters
FEATURE_ALL
Return the dimension of the feature vector \(\bf s\) .
user
Set feature flags to true to prevent warning when re-computing the interaction matrix without having updated the feature.
Operators
__doc__
Overloaded function.
__module__
Attributes
DEFAULT_BORDER
FEATURE_ALL
__annotations__
cam
deallocate
dim_s
nbParameters
s
user
vpServo
- class BasicFeatureDeallocatorType(self, value: int)¶
Bases:
pybind11_object
Indicates who should deallocate the feature.
Values:
user
vpServo
- class BasicFeatureSelect(self, value: int)¶
Bases:
pybind11_object
Indicates who should deallocate the feature.
Values:
user
vpServo
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: visp._visp.visual_features.FeatureLuminance) -> None
Default constructor that build a visual feature.
__init__(self: visp._visp.visual_features.FeatureLuminance, f: visp._visp.visual_features.FeatureLuminance) -> None
Copy constructor.
- buildFrom(self, I: visp._visp.core.ImageGray) visp._visp.visual_features.FeatureLuminance ¶
Build a luminance feature directly from the image
- display(*args, **kwargs)¶
Overloaded function.
display(self: visp._visp.visual_features.FeatureLuminance, cam: visp._visp.core.CameraParameters, I: visp._visp.core.ImageGray, color: visp._visp.core.Color = vpColor::green, thickness: int = 1) -> None
Not implemented.
display(self: visp._visp.visual_features.FeatureLuminance, cam: visp._visp.core.CameraParameters, I: visp._visp.core.ImageRGBa, color: visp._visp.core.Color = vpColor::green, thickness: int = 1) -> None
Not implemented.
- error(*args, **kwargs)¶
Overloaded function.
error(self: visp._visp.visual_features.FeatureLuminance, s_star: visp._visp.visual_features.BasicFeature, select: int = FEATURE_ALL) -> visp._visp.core.ColVector
Compute the error \((I-I^*)\) between the current and the desired
- Parameters:
- s_star
Desired visual feature.
- select
Not used.
error(self: visp._visp.visual_features.FeatureLuminance, s_star: visp._visp.visual_features.BasicFeature, e: visp._visp.core.ColVector) -> None
Compute the error \((I-I^*)\) between the current and the desired
- Parameters:
- s_star
Desired visual feature.
- e
Error between the current and the desired features.
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 ¶
- get_Z(self) float ¶
Get the value of \(Z\) which represents the depth in the 3D camera frame.
- Returns:
The value of \(Z\) .
- get_s(self, select: int = FEATURE_ALL) visp._visp.core.ColVector ¶
Get the feature vector \(\bf s\) .
- init(*args, **kwargs)¶
Overloaded function.
init(self: visp._visp.visual_features.FeatureLuminance, _nbr: int, _nbc: int, _Z: float) -> None
init(self: visp._visp.visual_features.FeatureLuminance) -> None
Initialize the memory space requested for vpFeatureLuminance visual feature.
- interaction(*args, **kwargs)¶
Overloaded function.
interaction(self: visp._visp.visual_features.FeatureLuminance, select: int = FEATURE_ALL) -> visp._visp.core.Matrix
Compute and return the interaction matrix \(L_I\) . The computation is made thanks to the values of the luminance features \(I\)
interaction(self: visp._visp.visual_features.FeatureLuminance, L: visp._visp.core.Matrix) -> None
Compute and return the interaction matrix \(L_I\) . The computation is made thanks to the values of the luminance features \(I\)
- setCameraParameters(self, _cam: visp._visp.core.CameraParameters) None ¶
- setDeallocate(self, d: visp._visp.visual_features.BasicFeature.BasicFeatureDeallocatorType) None ¶