MbtFaceDepthDense¶
- class MbtFaceDepthDense(self)¶
Bases:
pybind11_object
Methods
Overloaded function.
Overloaded function.
Return a list of line parameters to display the primitive at a given pose and camera parameters.
Inherited Methods
Operators
__doc__
__module__
Attributes
DEPTH_OCCUPANCY_RATIO_FILTERING
MAX_DISTANCE_FILTERING
MIN_DISTANCE_FILTERING
NO_FILTERING
__annotations__
cam
clippingFlag
distFarClip
distNearClip
planeObject
useScanLine
- class DepthDenseFilteringType(self, value: int)¶
Bases:
pybind11_object
Values:
NO_FILTERING: Face is used if visible.
DEPTH_OCCUPANCY_RATIO_FILTERING: Face is used if there is enough depth information in the face polygon
MIN_DISTANCE_FILTERING: Face is used if the camera position is farther than the threshold
MAX_DISTANCE_FILTERING: Face is used if the camera position is closer than the threshold
- __init__(self)¶
- computeInteractionMatrixAndResidu(self, cMo: visp._visp.core.HomogeneousMatrix, L: visp._visp.core.Matrix, error: visp._visp.core.ColVector) None ¶
- display(*args, **kwargs)¶
Overloaded function.
display(self: visp._visp.mbt.MbtFaceDepthDense, I: visp._visp.core.ImageGray, cMo: visp._visp.core.HomogeneousMatrix, cam: visp._visp.core.CameraParameters, col: visp._visp.core.Color, thickness: int = 1, displayFullModel: bool = false) -> None
display(self: visp._visp.mbt.MbtFaceDepthDense, I: visp._visp.core.ImageRGBa, cMo: visp._visp.core.HomogeneousMatrix, cam: visp._visp.core.CameraParameters, col: visp._visp.core.Color, thickness: int = 1, displayFullModel: bool = false) -> None
- displayFeature(*args, **kwargs)¶
Overloaded function.
displayFeature(self: visp._visp.mbt.MbtFaceDepthDense, I: visp._visp.core.ImageGray, cMo: visp._visp.core.HomogeneousMatrix, cam: visp._visp.core.CameraParameters, scale: float = 0.05, thickness: int = 1) -> None
displayFeature(self: visp._visp.mbt.MbtFaceDepthDense, I: visp._visp.core.ImageRGBa, cMo: visp._visp.core.HomogeneousMatrix, cam: visp._visp.core.CameraParameters, scale: float = 0.05, thickness: int = 1) -> None
- getModelForDisplay(self, width: int, height: int, cMo: visp._visp.core.HomogeneousMatrix, cam: visp._visp.core.CameraParameters, displayFullModel: bool = false) list[list[float]] ¶
Return a list of line parameters to display the primitive at a given pose and camera parameters.
Parameters are: <primitive id (here 0 for line)> , <pt_start.i()> , <pt_start.j()> , <pt_end.i()> , <pt_end.j()>
- Parameters:
- width: int¶
Image width.
- height: int¶
Image height.
- cMo: visp._visp.core.HomogeneousMatrix¶
Pose used to project the 3D model into the image.
- cam: visp._visp.core.CameraParameters¶
The camera parameters.
- displayFullModel: bool = false¶
If true, the line is displayed even if it is not
- setCameraParameters(self, camera: visp._visp.core.CameraParameters) None ¶