mecheye.area_scan_3d_camera

Mech-Eye area-scan camera bindings and NumPy capture utilities.

Classes

Transformation(*args)

Camera transformation containing a 3-by-3 rotation and three-element translation.

FrameTransformation(*args)

Rigid transformation with a 3-by-3 rotation and three-element translation.

CameraIntrinsics(*args)

Calibration for the texture and depth cameras, including the depth-to-texture rigid transformation.

CameraInfo(*args)

Discovered or connected camera metadata, including identity, network settings, versions, and support information.

DeviceTemperature(*args)

CPU and projector temperature measurements in degrees Celsius.

CameraStatus(*args)

Camera status containing a DeviceTemperature measurement.

CameraMatrix(*args)

Pinhole calibration with focal lengths fx/fy and principal point cx/cy, in pixels.

CameraDistortion(*args)

Camera distortion coefficients in k1, k2, p1, p2, k3 order.

Intrinsics2DCamera(*args)

CameraMatrix and CameraDistortion for one 2D camera.

CameraResolutions(*args)

Texture and depth image sizes, in pixels.

Gray(*args)

A grayscale pixel with one unsigned 8-bit intensity.

ColorBGR(*args)

A color pixel with unsigned 8-bit blue, green, and red channels.

PointZ(*args)

A per-pixel depth value in the selected SDK coordinate unit.

NormalVector(*args)

Surface-normal X/Y/Z components and curvature.

PointXYZWithNormals(*args)

A PointXYZ coordinate and its NormalVector.

PointXYZBGR(*args)

XYZ coordinates and unsigned 8-bit BGR/alpha channels, with packed rgb access.

PointXYZBGRWithNormals(*args)

A PointXYZBGR coordinate/color value and its NormalVector.

EventData(*args)

Copied event metadata: identifier, name, SDK timestamp, and capture frame identifier.

EventInfo(*args)

The name and identifier of a supported camera event.

PayloadMember(*args)

Named event payload with a Type_* discriminator and a MemberValue.

MemberValue(*args)

Event payload union.

HandEyeTransformation(*args)

Translation and quaternion in x, y, z, q_w, q_x, q_y, q_z order.

doubleArray3()

Mutable three-element double array.

doubleMatrix3()

Mutable three-by-three double matrix.

GrayScale2DImage(*args)

Organized grayscale image.

Color2DImage(*args)

Organized BGR color image.

DepthMap(*args)

Organized SDK depth grid.

UntexturedPointCloud(*args)

Organized XYZ point cloud in the selected SDK coordinate unit.

UntexturedPointCloudWithNormals(*args)

Organized XYZ point cloud with surface normals.

TexturedPointCloud(*args)

Organized XYZ point cloud with BGR texture.

TexturedPointCloudWithNormals(*args)

Organized XYZ point cloud with BGR texture and surface normals.

Frame2D(*args)

SDK Frame2D object, serialized for regular and free-threaded Python.

Frame3D(*args)

SDK Frame3D object, serialized for regular and free-threaded Python.

Frame2DAnd3D(*args)

SDK Frame2DAnd3D object, serialized for regular and free-threaded Python.

HandEyeCalibration(*args)

SDK HandEyeCalibration object, serialized for regular and free-threaded Python.

VectorCameraInfo(*args)

Mutable vector of CameraInfo values.

EventInfos(*args)

Mutable vector of EventInfo values.

Payload(*args)

Mutable vector of PayloadMember values.

Camera(*args)

Camera connection, SDK operations, and NumPy capture conveniences.

LaserPowerLevel()

Descriptor for the LaserPowerLevel camera parameter.

LaserFringeCodingMode()

Descriptor for the LaserFringeCodingMode camera parameter.

ProcessingMode()

Descriptor for the LaserProcessingMode camera parameter.

LaserFrameRange()

Descriptor for the LaserFrameRange camera parameter.

LaserFramePartitionCount()

Descriptor for the LaserFramePartitionCount camera parameter.

PointCloudSurfaceSmoothing()

Descriptor for the PointCloudSurfaceSmoothing camera parameter.

PointCloudNoiseRemoval()

Descriptor for the PointCloudNoiseRemoval camera parameter.

PointCloudDepthSmooth()

Descriptor for the DepthSmooth camera parameter.

PointCloudDepthHoleFilling()

Descriptor for the DepthHoleFilling camera parameter.

PointCloudDepthSurfaceNoiseRemoval()

Descriptor for the DepthSurfaceNoiseRemoval camera parameter.

PointCloudPhaseClusterOutlierRemoval()

Descriptor for the PhaseClusterOutlierRemoval camera parameter.

PointCloudSpuriousPhaseRemoval()

Descriptor for the SpuriousPhaseRemoval camera parameter.

PointCloudLargeGradNoiseRemoval()

Descriptor for the LargeGradNoiseRemoval camera parameter.

PointCloudOutlierRemoval()

Descriptor for the PointCloudOutlierRemoval camera parameter.

GapFilling()

Descriptor for the PointCloudGapFilling camera parameter.

PointCloudEdgePreservation()

Descriptor for the PointCloudEdgePreservation camera parameter.

EnableDistortionCorrection()

Descriptor for the EnableDistortionCorrection camera parameter.

DistortionCorrection()

Descriptor for the DistortionCorrection camera parameter.

PointCloudFringeContrastThreshold()

Descriptor for the FringeContrastThreshold camera parameter.

PointCloudFringeMinThreshold()

Descriptor for the FringeMinThreshold camera parameter.

EdgeArtifactRemoval()

Descriptor for the EdgeArtifactRemoval camera parameter.

EnableGapFilling()

Descriptor for the EnableGapFilling camera parameter.

GapSize()

Descriptor for the GapSize camera parameter.

ProjectorPowerLevel()

Descriptor for the ProjectorPowerLevel camera parameter.

ProjectorFringeCodingMode()

Descriptor for the ProjectorFringeCodingMode camera parameter.

AntiFlickerMode()

Descriptor for the AntiFlickerMode camera parameter.

ProjectorInterferenceSuppression()

Descriptor for the InterferenceSuppression camera parameter.

ProjectorProcessingMode()

Descriptor for the ProjectorProcessingMode camera parameter.

Scanning2DExposureMode()

Descriptor for the Scan2DExposureMode camera parameter.

Scanning2DExposureTime()

Descriptor for the Scan2DExposureTime camera parameter.

Scanning2DSharpenFactor()

Descriptor for the Scan2DSharpenFactor camera parameter.

Scanning2DExpectedGrayValue()

Descriptor for the Scan2DExpectedGrayValue camera parameter.

Scanning2DToneMappingEnable()

Descriptor for the Scan2DToneMappingEnable camera parameter.

Scanning2DAutoExposureROI()

Descriptor for the Scan2DROI camera parameter.

Scanning2DHDRExposureSequence()

Descriptor for the Scan2DHDRExposureSequence camera parameter.

Scanning2DDepthSourceExposureMode()

Descriptor for the Scan2DPatternRoleExposureMode camera parameter.

Scanning2DDepthSourceExposureTime()

Descriptor for the Scan2DPatternRoleExposureTime camera parameter.

Scanning2DFlashAcquisitionMode()

Descriptor for the Scan2DFlashAcquisitionMode camera parameter.

Scanning2DFlashExposureTime()

Descriptor for the Scan2DFlashExposureTime camera parameter.

Scanning2DGain()

Descriptor for the Scan2DGain camera parameter.

Scanning2DPatternRoleGain()

Descriptor for the Scan2DPatternRoleGain camera parameter.

Scanning2DFlashGain()

Descriptor for the Scan2DFlashGain camera parameter.

Scanning2DFlashPowerLevel()

Descriptor for the Scan2DFlashPowerLevel camera parameter.

Scanning3DExposureCount()

Descriptor for the Scan3DExposureCount camera parameter.

Scanning3DExposureSequence()

Descriptor for the Scan3DExposureSequence camera parameter.

Scanning3DGain()

Descriptor for the Scan3DGain camera parameter.

Scanning3DGroupExposureSelector()

Descriptor for the GroupExposureSelector camera parameter.

Scanning3DGroupExposureTime()

Descriptor for the GroupScan3DExposureTime camera parameter.

Scanning3DGroupGain()

Descriptor for the GroupScan3DGain camera parameter.

Scanning3DGroupDlpPowerLevel()

Descriptor for the GroupDlpPowerLevel camera parameter.

Scanning3DROI()

Descriptor for the Scan3DROI camera parameter.

Scanning3DDepthRange()

Descriptor for the DepthRange camera parameter.

UhpCaptureMode()

Descriptor for the UhpCaptureMode camera parameter.

EventCallbackBase()

Override run(), process_event(), or process_event_with_payload() to receive events.

CameraEvent()

Manage SDK event registration and dispatch Python callbacks safely.

Functions

camera_intrinsics_to_wrapped(...)

Copy intrinsics into the supplied wrappedIntrinsics output; return None.

wrapped_to_camera_intrinsics(intrinsics, ...)

Copy wrappedIntrinsics into the supplied intrinsics output; return None.

wrapped_to_frame_transformation(...)

Copy wrappedFrameTransformation into frameTransformation; return None.

frame_transformation_towrapped(...)

Copy frameTransformation into wrappedFrameTransformation; return None.

get_point_cloud_after_mapping(*args)

Map a depth grid into the supplied output point cloud with SDK intrinsics.

transform_point_cloud(...)

Return a transformed point-cloud container without changing the input.

transform_point_cloud_with_normals(...)

Return a transformed point-cloud container without changing the input.

transform_textured_point_cloud(...)

Return a transformed point-cloud container without changing the input.

transform_textured_point_cloud_with_normals(...)

Return a transformed point-cloud container without changing the input.

get_transformation_params(camera)

Return the SDK Transformation for a connected camera.

Constants

mecheye.area_scan_3d_camera.ColorTypeOf2DCamera_Monochrome = 0

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.__int__(). For floating-point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int(‘0b100’, base=0) 4

mecheye.area_scan_3d_camera.ColorTypeOf2DCamera_Color = 1

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.__int__(). For floating-point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int(‘0b100’, base=0) 4

mecheye.area_scan_3d_camera.ColorTypeOf2DCamera_Undefined = 2

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.__int__(). For floating-point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int(‘0b100’, base=0) 4