I would suspect it is possible to scale a photo if you know the geographical distance/measurements of what you have photographed. I would think that Adobe Photoshop would be a good tool for that because you can select the canvas size you're working in which the measurement tools can set to feet, inches, centimeters, millimeters, percent points, pixels or picas (for typographers). Within the document you can drag in guides and even reset "0" in X and Y axes and then scale your photo to the appropriate measurements. Following the scaling you can then change the size of the "canvas" so that the image falls within whatever size paper you wish. I'm sure there are other programs that have similar features, but Photoshop is the one I'm most familiar with.