1、2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,1,2019/11/14,3D-Locate & 3D Sensor,刘少鹏 E-Mail: Shaopeng.liuximing- Tel: 15261520319,Continuously Exceeds customer Expectations,2
2、019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2,ID Readers,Cognex Core Products,What is Cognex 3D Vision?,Cognex 3D vision uses two dimensional images and tools from one or mo
3、re cameras point of view to generate information about an object in 3D space.Using 2D images and tools allows Cognex 3D vision to accurately pinpoint a 3D position by establishing a mathematical relationship between the 2D coordinate systems in each cameras image and the physical world.,2019/11/14,T
4、EL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,What is VisionPro 3D Add-In?,The VisionPro 3D Add-In is a .Net library of classes that enables VisionPro software to perform 3D c
5、alibration and object location. A supported software version of VisionPro is required to create a 3D vision application using the VisionPro 3D Add-In.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai Shang
6、Hai Ximing-Vision Tech,2019/11/14,What is VisionPro 3D Add-In?,An extension to VisionPro for 3D pose determination that can be used in different configurations:,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shan
7、ghai ShangHai Ximing-Vision Tech,2019/11/14,VisionPro 3D Add-In Getting Starter Kit,Tripod Mounting plate, screws, and Allen wrenches Dual-port GigE network adapter Cognex 10mm calibration plate Cognex 20mm calibration plate(optional) Two Basler Ace 1.3 MP cameras and PoE power supplies(update to 2M
8、P in 7.2 Starter Kit) Two 6mm lenses 4 ENET cables Two 25mm x 50mm x 75mm spacer blocks,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,VisionPro 3D Starter Kit Hard
9、ware,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Calibration Overview,3D calibration establishes a mathematical relationship between the 2D coordinate system ass
10、ociated with the pixels in an acquired image,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Calibration,Calibration procedure depends on application setup: 3D Ca
11、mera calibration (fixed cameras, manually move calibration plate to different positions)3D Robot Hand-Eye calibration (moving camera mounted at robot hand, fixed calibration plate)3D Robot Hand-Eye calibration (stationary camera, moving calibration plate mounted at robot hand),2019/11/14,TEL:021-338
12、21033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Calibration,Calibration plate,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58
13、, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Raw2D Concepts,Raw2D space refers to a left-handed 2D coordinate system established by and acquired image. Uses pixels as units. Origin at upper left-hand corner. A Raw2D point in Raw2D space is simply an (x, y) coordinate
14、identified within a Raw2D coordinate system.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Phys3D Concepts,Phys3D refers to a right-handed 3D physical coordinate s
15、ystem established by the 3D calibration process. Uses physical units (initially defined by the calibration plate and spacing between plate views). Origin defined by fiducial mark on calibration plate. X and Y axes are aligned to calibration grid, Z axis normal to plate extending away from camera.,20
16、19/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Calibration Basics,3D calibration establishes an accurate correspondence between 2D locations in and image using a 3
17、D calibrated camera and a 3D location in physical in front of the camera. The correspondence is created by the mathematical linking of the different transformations (Coordinate spaces).,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Ji
18、n Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Camera Calibration,A Camera Calibration includes two sets of parameters: Intrinsic parameters Properties of the acquisition system that are internal to the camera/lens system (lens distortion)Extrinsic parameters Properties of t
19、he acquisition system that are external to the camera/lens system (position and orientation of camera in 3D space),2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D
20、 Camera Calibration,A Camera Calibration is needed for all 3D operations (triangulation, pose estimation,) A CameraCalibration can be created from a HandEye calibration result and a robot pose.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58
21、, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Camera Calibration,Multiple stationary cameras Requires one World Origin Viewset Requires Tilted Viewsets Elevated Viewsets recommended(Optional) CalibrationWizard application can be used for 3D Camera Calibration.,2019/
22、11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Camera Calibration,World Origin Viewset The Calibration Plate coordinate system defines the 3D World Coordinate System
23、(Phys3D space),2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Camera Calibration,Tilted Viewsets The Calibration Plate must be tilted and rotated,2019/11/14,TEL:
24、021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Camera Calibration,Elevated Viewsets The Calibration plate must be elevated by multiple steps across the operating volume height.
25、 It must remain parallel to the World Origin position! Elevated views improve accuracy of Intrinsic params.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Assessing
26、 the Calibrations Quality,Using the Cog3DCameraCalibrationResult class: Use the OverallResidualsRaw2D() and OverallResidualsPhys3D() methods to obtain statistics for all plate poses and cameras. These global residual error measurements reflect the overall accuracy of the calibration Use the Residual
27、sRaw2D(j, i) and ResidualsPhys3D(j, i) for statistics on a combination of a single camera (i) and a single plate pose (j). These plate and camera level statistics help to identify optical or mechanical issue with a particular camera of plate pose.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 /
28、50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Spaces associated with a 3D calibration using two cameras,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin
29、 Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Robot Hand-Eye Calibration (moving camera(s),Fixed calibration plate must be acquired from different distances and view angles. Robot (hand) positions must be recorded.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 5030
30、2319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Robot Hand-Eye Calibration (moving camera(s),Coordinate spaces(Moving Camera(s),2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Fl
31、oor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Robot Hand-Eye Calibration ( Stationary Camera(s),Coordinate spaces(Moving calibration plate),2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin
32、Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Robot Pose and HandEye Calibration result,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,What is
33、the Robot Pose?,Hand3DFromRobotBase3D is the pose of Hand3D space (TCP/End effector) in RobotBase3D space.Robot: ABB/Kuka/Mitsubishi/Denso/Keba /Cog3DTransformRigid Translation-Cog3DVect3(X,Y,Z) Rotation-Cog3DTransformRotationEulerXYZ, EulerZYX, EulerZYZ Cog3DQuaternionCog3DMatrix3x3,2019/11/14,TEL:
34、021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Coordinate Mapping,Map 3D coordinates to 2D Image space,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-3382
35、1032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Coordinate Mapping,Map 2D coordinates to 3D space,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Sh
36、anghai ShangHai Ximing-Vision Tech,2019/11/14,3D Point Triangulation,Triangulation is the process of determining a 3D location of a physical point using two or more cameras calibrated to the same 3D physical space and their 2D projections of the same physical point.,2019/11/14,TEL:021-33821033 / 338
37、21031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Point Triangulation,You must provide accurate projections of the same 3D point to each of the cameras.,2019/11/14,TEL:021-33821033 / 33821031 / 338
38、20483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,3D Model Pose Estimation Overview,3D model pose estimation is the process of using corresponding sets of 2D image points from 3D calibrated cameras to determine
39、the pose of a 3D shape. The 2D points can be obtained using common vision tools like PMAlign, PointPointIntersect, FindEllipse, FindCircle ,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-
40、Vision Tech,2019/11/14,3D Model Pose Estimation Concepts,3D pose estimation depends on 3 factors: You must be able to construct (or communicate to the application) an accurate 3D model using a 3D model space. The points you obtain must be accurate projections of 3D points of the model. The 2D points
41、 you obtain from the calibrated images must be correctly corresponded to the 3D model points.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2019/11/14,Obtaining Accurate 2D M
42、odel Points,The most effective technique for obtaining 2D model points for an accurate 3D alignment is to use vision tools. Use CogFindLineTool to locate edges whose lines extend to known coordinate points of intersection. Use CogIntersectLineLine to generate accurate 2D point information.,2019/11/1
43、4,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,Recommended Parts and Features,In general, rounded features are not the best candidates for accurate 2D points. Rounded edge features in
44、2D do not consistently correspond to 3D edges as parts rotate.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,Recommended Parts and Features,Sharp corners and creased edges in
45、 2D correspond more consistently to 3D features as parts rotate in the FOV. Using line intersect tools is recommended for these types of features.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai
46、Ximing-Vision Tech,Locating Features on Flat Surfaces,Even when locating features on a planar surface, you can employ linear tools to get the most accurate correspondence between 2D and 3D features.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27,
47、No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,Recommended Parts and Features,Circular features on a planar surface offer a distinct advantage due to their geometric properties. A circle can single-handedly be used to represent a 3D plane. As the circle rotates it can communi
48、cate 2D and 3D information based on its appearance to each camera.,2019/11/14,TEL:021-33821033 / 33821031 / 33820483 / 50302319 FAX:021-33821032 Add: Plat D, Floor 27, No.58, Xin Jin Qiao Road, Pudong, Shanghai ShangHai Ximing-Vision Tech,2D Pattern Alignment Tool Considerations,Planar features may
49、sometimes be used to find corresponding 2D features in 3D space. However, 2D pattern alignment tools like PMAlign and SearchMax have limited tolerance for pattern deformation so use with caution as accuracy can be compromised.,Object Pose Estimation,3D Accuracy,Accuracy can be influenced by many factors: Calibration accuracy (robot accuracy, accuracy of calibration plate and ist positions). Camera baseline width. Number of cameras. Accuracy of 2D tools. Accuracy of reference points (e.g. sharp or rounded corners) Image resolution,