What's your concern for coding a photogrammetric process software ? In general conception, Camera calibration can be estimated and mesh texture also needed. i recommend 3df Zephyr or Agisoft whichever u prefer.
These are available on site.
http://www.gisarea.com/topic/3913-agisoft-photoscan-professional-116-build-2038-windows-linux-mac/?hl=agisoft
http://www.gisarea.com/topic/4404-3dflow-3df-zephyr-pro-v1012-x64/?hl=zephyr