Professional Documents
Culture Documents
Photoneo PhoXi With Matrox Design Assistant
Photoneo PhoXi With Matrox Design Assistant
Contents
Photoneo PhoXi with Matrox Design Assistant ............................................................................................ 1
Installing the Phoxi Control app ................................................................................................................ 1
Running the Phoxi Control app ................................................................................................................. 2
Creating the Design Assistant Project ....................................................................................................... 2
Connecting to the PhoXi ....................................................................................................................... 2
Configuring the Camera step ................................................................................................................ 3
Setting Remap parameters ................................................................................................................... 3
Setting Fill Gap parameters................................................................................................................... 5
Using QuickComm ..................................................................................................................................... 6
Using RobotSpace Coordinates ................................................................................................................. 6
Limitations ................................................................................................................................................ 6
Design Assistant software triggers are supported, so the PhoXi can be triggered from the PLC using
QuickComm, or via a button in the interface, or a Trigger flowchart step.
The PhoXi Control app must be installed and running on the target runtime platform. Design
Assistant currently supports v1.2.14 which can be found at https://www.photoneo.com/3d-
scanning-software/
Note that Control App v1.2.14 is compatible with device firmware versions v1.1.62 and later
In PhoXi Control setup, both API and Driver components must be installed
The PC must be rebooted after the installation of the PhoXi Control app
Application Note
Page 1 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
Running the Phoxi Control app
The PhoXi Control app starts automatically when Windows starts. Its shortcut can be found in the
system tray:
Application Note
Page 2 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
Note: If you want to load PhotoNeo proprietary .praw files instead of grabbing live images, the
Allocation Value should be a string like PhoXiTemp(0)(File3Dcamera). The exact string to use can be
seen in the PhoXi Control App when it is loading their proprietary .praw files.
Rerun the Camera step and click on the Send Trigger button in the Wait notification bar.
Unfortunately, in the presence of shiny objects and vertical faces some of the reflections of the
scanner’s light go astray, and the PhoXi may interpret them to have the wrong depth.
For example here are several objects on the floor, about a meter away, with the ideal display:
Application Note
Page 3 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
However, the original grabbed depth map showed mostly a small range of colors:
Looking at the histogram, as expected, most of the data points lie just above the floor – but there are
spurious artifacts that report with depth more than 1.6 meters. These reflection artifacts mean that the
default mapping from min to max data value is not focusing on where the objects are. You can select a
Z-range from the total depth so that the spurious data is excluded. To do so, adjust the right-hand slider
(in the DEPTH MAP REMAP tab) down, in this example around 1050. Alternatively, choose a Start/End
Mode specifying 3 standard deviations either side of the mean.
Application Note
Page 4 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
Additional details: In this example, if we examine the scene in the PhoXi control app we see the spurious
pixel values “below” the floor.
In Design Assistant, you can replace some of the invalid pixel values with depths interpolated from
neighboring pixels.
The Line profile shows the invalid pixel locations in red. You can use the vertical markers on the graph to
measure the width of the gaps and evaluate the Z difference.
Application Note
Page 5 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
In this example, limiting the width of gaps to fill to 20 pixels and the Z difference to 15 we see the edges
around the ruler have been replaced, but the large shadows have not.
Using QuickComm
The trigger can be provided by the PLC directly using the Quick Comm PLCCamera1Trigger bit if you set
the trigger target in the Platform Configuration page for EtherNet/IP or PROFINET.
Limitations
By default, the PhoXi Control app renders a 3D view that requires the GL_EXT_gpu_shader4 graphics
capability. Systems which do not provide this OpenGL capability will show an error when the Control
app connects to the PhoXi. Photoneo provides a batch file that starts the Control app without the 3D
view. It is located in the installation folder under bin\support\PhoXi_Control_No3DGUI.bat. More
details below.
To launch and minimize the Phoxi Control app automatically at boot, without the 3D viewer:
Application Note
Page 6 of 7
Matrox Design Assistant X Version 2006 (7.0)
Photoneo PhoXi with Matrox Design Assistant
6. In the startup programs directory, right-click on PhoXi_Control_No3DGUI.bat, then select Edit.
This opens Notepad.
7. Add the minimized option at the end of the last command line. It should look like this:
Application Note
Page 7 of 7
Matrox Design Assistant X Version 2006 (7.0)