Tip 39: External programming of photogrammetry in PhotoModeler

PhotoModeler’s programming interface is accessed through the Windows DDE API. The PhotoModeler help file lists all the commands that can be called (e.g. loading photos, marking points, processing, getting camera and point data, etc.).
Windows DDE can be used by any programming or scripting language that can make calls to the native Windows API, such as Python, C/C++, MatLab, any .Net language (C#, VisualBasic), and Java, etc.

The sample script creates a project, loads two photos, marks and references some points, processes to create 3D data, and then extracts some of that 3D data to show in simple message boxes in Word.
The programming interface of PhotoModeler has a number of uses:
- integrate photogrammetry into your workflow,
- extract data and create new measurement types,
- export 3d data in new specialized (and perhaps proprietary) file formats, and
- create points from a new marking algorithm and use PhotoModeler powerful processing algorithms to create 3D.
View the video below (or on Youtube) to learn more about PhotoModeler DDE programming.