Operating Instructions of XEMA - Open3DV/Xema GitHub Wiki

Operating Instructions of XEMA

V1.1.1

image

1.Product Presentation

XEMA series cameras are structured light 3D cameras based on DLP projection, which are suitable for use scenarios such as 3D scanning, industrial 3D defect detection, industrial disorderly grabbing with industrial robots, and loading and unloading. The core components include TI DLP3010 projection chip, Sony IMX392 imaging chip and Nvidia Jetson Nano computing module. The data transmission of XEMA uses the GigE interface and XEMA supports multiple exposure modes.

2.Product Display

image

image

3.Performance description

Parameter Value
Calibration accuracy 0.05/mm
Point cloud resolution 1920x1200
Image resolution 1920x1200
Frame rate 1fps
Baseline length 150mm
Working distance 400 ~ 2000mm
Data interface Ethernet
Horizontal field of view 40°
Vertical field of view 23°
Product size 207 × 128 × 50.5 mm
Product weight 1000g
CPU Quad-core Arm A57 processor @ 1.43 GHz
GPU 128-core Maxwell GPU
Memory 4GB 64-bit LPDDR4

4. Product Installation Instructions

4.1 Product Accessories

屏幕截图 2023-03-30 114801

4.2 Hardware connection

There are two ways for computers to access the camera through the network, one is through the router connection to interact, and the other is through the network cable direct connection to communicate.

new1

new2

First, we should confirm that the power cord and the network cable are firmly connected before the camera is powered on. Then after the Power is turned on, the "Power" indicator is always on, and the camera starts up for about 30 seconds, at this time, the green indicator of the network port of the camera is always on, and the orange indicator is flashing, indicating that the network bandwidth is gigabit. The camera's "Act" indicator lights up during photography and data transmission, and is usually off.

4.3 Software Interface

4.3.1 ConfiguringIP interface introduction

First, Open configuring_network_gui.exe and then click Search Camera, the display interface is as shown in he figure below.

image

The searched cameras will be displayed in a list. The left column is the MAC address of the camera, and the right column is the camera IP. When the camera is directly connected to the computer, the negotiated IP address searched after booting is similar to the figure below.the figure below.

image

4.3.2 XEMA interface introduction

image

After opening the interface, enter the IP address searched in 4.3.1, and fill it in the red address bar, and click the connection button above the address bar to connect the camera for subsequent operations. If the connection is successful, the information bar at the bottom left of the interface will display Prompt that the connection is successful.

image

Click the camera icon in the red box, the camera will shoot and display the captured image on the right, and you can select the brightness map/depth map/height map on the upper right of the display box to view them separately. In order to get the best and effective image data, the projection brightness and exposure time can be modified in the left setting bar. Click the save button on the right side of the photo, and you can save the captured brightness map, point cloud map, etc. to the computer, or you can check the automatic save to automatically save the picture after shooting. In addition to the above settings, the interface also provides parameters such as gain, confidence, smoothing, and number of repeated shots, etc. for configuration.

5.Product introduction for use

5.1 High dynamic range

High dynamic range imaging is a group (HDRI/HDR) of techniques used to achieve a greater dynamic range of exposure (ie, a greater difference between light and dark) than ordinary digital imaging techniques.

Effect: HDRI will make the picture layer more distinct, and the difference between light and dark is obvious.

Method of use: Set the number of exposures to take multiple exposures.

Number of exposures: It is the number of exposures, used with HDR method. In HDR mode, we can choose the number of exposures you need (range: 1-6). When HDR mode is required, please observe the picture to choose the number of exposures. In HDR mode, exposure time and projected brightness are one group. The interface is shown in the figure below.

image

Notice: The default number of high dynamic groups is 2, and it is recommended to use fewer groups if the quality of the point cloud is satisfied. In Typical Example 3, the specific usage methods of high dynamics will be introduced.

Number of groups (data can be modified):

image

image

image

5.2 Camera exposure time

image

Range:1700-100000

Camera exposure time: Exposure time is the time for the shutter to open when the reflected light of the scene reaches the imaging photosensitive material through the lens. The simple explanation is the time when the light enters the camera when the shutter of the camera is open.

The longer the exposure time, the more light gets in. If the exposure time is too long, overexposure will occur. For overexposure viewing: Turn on the overexposure display switch, and the red part in the brightness graph is the overexposure area.

image

image

5.3 Projection brightness

image

Range:0-1023

Notice: Priority use the brightness 1023

Projection brightness: It refers to the intensity of projected light. The greater the light intensity, the brighter and clearer the image. Within a certain range, the human eye will feel that the picture is clearer because of the high brightness. If it exceeds this limit, it will be too strong. Brightness can make it impossible to see the image.

image

image

5.4 Overexposure display

When we are shooting, it is inevitable that there will be overexposure. In the brightness map, we can check the overexposure button to observe the overexposure area, so that you can change related parameters, such as exposure time, brightness, HDR mode, etc. operation to correct.

image

image

5.5 Confidence

image

Range: 0-100

When the confidence level is lowered, the depth information (depth map) of the black part will be retained.

image

On the contrary, the black noise will be removed after the confidence level is increased.

image

5.6 Noise filtering

image

Range: 0-100

In machine vision application scenarios, such as detecting metal, aluminum foil surface, reflective film, and items with smooth surfaces, specular reflection will cause local reflected light to be too strong, thereby losing the original information of the object and interfering with machine vision detection. Noise filtering can eliminate part of the generated noise and preserve the original information of the object.

image

image

5.7 Get brightness map

The function of generating a brightness map is at the bottom of the interface. It has three modes: default, custom lighting, and custom non-lighting. Generally, the default mode is used. The custom light-emitting mode can set the exposure time by itself; The custom non-light-emitting mode uses the brightness of the light in the environment.

image

5.8 Datum plane parameters

Height mapping datum plane: The datum plane is a plane at the datum zero position, and the photographed object (such as the calibration plate) is taken as the datum zero position. If the X-axis and Y-axis of the calibration plate are known, the Z-axis direction can be judged according to the right-hand rule. The calibration plate is the reference plane, the front of the calibration plate is the negative direction of Z-axis (closer to the camera), and the reverse side of the calibration plate is the positive direction of Z-axis (away from the camera).

image

The datum parameters are measured from data and cannot be modified.

For example:

image

image

image

5.9 Maximum height and minimum height

image

Maximum height (maximum value): 9999.99

Minimum height (minimum value): -9999

If we want to use the height map and only want to view the object, we can adjust the maximum height and the minimum height. We have known that the calibration plate (the plate can be replaced by other objects) is the reference plane, and it is negative when it is close to the camera, and it is positive when it is far away from the camera.

image

For example, if we only want to display the selected metal workpiece, we only need to set the maximum height below 0mm, such as this setting -1mm (close to the reference plane), and the minimum height must be equal to or exceed the length of the workpiece, such as this setting -600mm. The effect is that all scenes other than the workpiece are not displayed, and only the height map of the workpiece is kept. As shown below:

image

5.10 Gain

image

Range: 0-10.

Gain: It is used to adjust the brightness and darkness of the picture, and it is not recommended to set it.

5.11 Radius filtering

image

image

Radius range: 0-99.99

Effective point range: 0-99

For each point in the point cloud, a sphere with the radius of r is determined, and the number of effective points is selected. If the number of internal points is less than the effective point, it is considered to be a noise point and should be eliminated.

5.12 Depth filtering

image

It is a filtering method based on the depth map, which is enabled by checking. The recommended threshold is 33 at a distance of 1000mm.

5.13 Calibration plate model

Model selection: 4mm/12mm/20mm/40mm/80mm

image

image

5.14 Camera IP address: ...

image

5.15 Number of Repeat exposures

image

Range: 0-10

It is the number of times the camera needs to repeat shooting. It can increase the signal-to-noise ratio (the ratio of signal to noise). The effect is better if the signal-to-noise ratio is higher, so that random noise will be suppressed and effective information will be increased.

5.16 save

image

Click save button, can choose the original image or distortion to save, also can choose no longer prompt.

5.17 Icon

image

image

6. Typical examples

This section starts with the order of ordinary objects, black objects, and metal mirror reflective workpieces, and explains how to take a clear and complete point cloud picture from the shallower to the deeper. But the parameters are not absolute, and they can be fine-tuned depending on the working environment.

Notice: The point cloud images in this section are all viewed in CloudCompare.

6.1 Ordinary objects

When shooting ordinary objects under the condition of not overexposure, we should try to increase the projection brightness and exposure time, and the shooting effect will be the best at this time.

First, we set the highest projection brightness to 1023, and the minimum exposure time to 20000, and the confidence level to 10 to retain the depth information. At this time, no overexposure phenomenon is found in the brightness map. But part of the black area marked on the height map is not displayed (the position of the cat's ears in the image).

image

At this time, we can increase the number of repetitions and increase the effective information. For example, set it to 6. If the brightness map is slightly dark at this time, we can increase the exposure time appropriately. For example, we can increase the exposure time from 20000 to 22000. But it will be overexposed If we keep increasing the exposure time. Please pay attention it!

image

The final effect is shown in the figure below:

image

6.2 Black objects

We shoot a black sponge. First, we set the maximum projection brightness to 1023, and set the exposure time to 35000. If the picture is not bright enough, you can also increase the exposure time without overexposure. As shown below:

image

image

We found that there is a lot of random noise in the sponge in the height map. At this time, we increased the number of repetitions to 5 to improve the signal-to-noise ratio, so that the random noise will be suppressed and the effective information will be increased. As shown below:

image

The final point cloud effect:

image

image

6.3 Metal specular reflective workpieces (HDR)

image

When detecting metal, aluminum foil surface, reflective film, and smooth surface items, the specular reflection will cause local reflected light to be too strong, and thus losing the original information of the object.

In the actual operating environment, the number of exposures can be selected according to the level of the object. For example, in the above picture, there are workpieces, black plates, and platforms with holes. At this time, we can choose the number of exposures to be 3.

Step 1: First, we set the projection brightness to the maximum 1023, and set the exposure time to 30000 (the confidence level is 5, and the noise filter is 50), which can be able to get the depth information of HDR. In the height map without turning on the HDR, as shown in the figure, we can see the depth information of the outermost black version.

image

Step 2: We want to get the depth information of the brightest part, and display the depth information of the missing part (brightest) of the workpiece in the first step. For example, the projection brightness is reduced to 1023, the exposure time is 1700 (the confidence level is 5, and the noise filter is 50), which can be used as a set of exposure data under HDR. In the height map without turning on the HDR, as shown in the figure, it can be seen that the missing (brightest part) information of the previous artifact is successfully displayed.

image

Step 3: Set the projection brightness is the intermediate value (800) of the step 1 and the step 2, and the exposure time is 25000. (The confidence level is 5, and the noise filter is 50). It can be used as a set of exposure data under HDR. In the height map without turning on the HDR, as shown in the figure.

image

Step 4: Turn on HDR, and set the number of exposures to 3.The first set of data: 1700, 1023; The second set of data: 30000, 1023; The third set of data: 25000, 800. (Confidence level 5, noise filtering 50).

image

As shown in the figure, a clear and complete point cloud picture can be obtained without loss.

image