0

As a sign maker, for estimating I can usually interpolate sizes from an image, the sizes are enought to get rough costing for materials etc and then if the job goes ahead then I take precise measurements. Most of the time I don't carry a ladder nor does my measuring tape hold still enough to get the dimensions I need. So I usually make proxy measurements and interpolate them.

I wondered if there is a way to make this process more accurate.

For example in the image below, The red dimensions are 550mm wide, and come out correct on the lens corrected image (give or take 5mm).

The blue dimensions should be 1785mm but the perspective distortion in the image is showing at as ~1900mm, meaning the green dimensions are also distorted.

Is there a way to lens correct or perspective correct in image, something that maybe stretches the image more towards the edges than in the middle? I am using photoshop, but if there is another tool/software/plugin please advise.

I have attached the original, unedited image as well.

enter image description here

enter image description here

3
  • You cant actually measure from a camera picture without a ground truth measurement as a camera is scale invariant. Also if your not working of somebody elses pictures its usually better to do a 3D track instead as this can to some dgree figure out lens settings and distortion.
    – joojaa
    Jul 30 at 12:16
  • You have lens distortion and perspective distortion. You must fix at first the lens distortion. Photoshop knows a bunch of popular professional lenses (=installed lens profiles). When the lens doesn't any more affect Photoshop's perspective straightening can be used. If you do not have the lens correction possibility (=unknown profile ) the case becomes unsolvabe except by reshooting with so small aperture that lens distortion becomes neglible. Manual camera settings and a tripod are needed. Shoot as RAW, if possible.
    – user287001
    Jul 31 at 8:56
  • (Continued) Generic lens error corrections like barrel distortion (=not type specific) may help or not. Complex lenses have complex distortions, too, but reducing the aperture reduces them. I see your image has curved lines where one assumes the building is straight. That means you have poor or none actual lens error correction. In addition you have vertical and horizontal perspective distortion and maybe rotation, too. These three rough camera usage errors cannot be corrected easily in Photoshop because they are not commutative - fixing one at a time spoils the possibilities to fix the rest.
    – user287001
    Jul 31 at 9:06

1 Answer 1

1

This isn't actually a graphic design issue as such.

First things first, cameras are not absolute measuring devices. This means that cameras do not know the scale of what you see. So to measure from a camera image you must know the size of something on your measurement.

This can be as easy as using a ruler from one measurement to another and write it down. To putting something known in the scene, like a ruler or grid that is on your measurement plane.

enter image description here

Image 1: Picture in a camera can not account for scale. As a smaller scene just looks same.

Second thing is to remove camera distortion. While adobe raw knows some lenses generic distortions characteristics. Its better to measure this, all you really need is a picture of a checkerboard.

Anyway. This is where i will veer of in a different direction and say that you don't want to rely on a picture like this for measurement. Why? Well for nearly the same effort you can do a 3D track/photogrammetry. That is ultimately way better.

Reasons being:

  • They are designed to be used for measurement by people who do measurement. While image editors are made to to make good looking images and measurement is a secondary purpose if at all.

  • Due to their nature distortion removing is baked into the software. So its well documented how to do it and the solver can deduce the distortion even without knowing it.

  • It can completely eliminate the estimate now measure accurately later. With a little practice you can get a better measurement than you can by hand the first time.

  • It measures reality, not just a 2D slice of it. So you later figure out that youd need to know this one distance in depth. No problem you captured it allready.

    Maybe the wall isnt on one plane? Uneven or curved? No problem.

  • Sometimes theres not enough space to do the photograph in one go because there is not enough room to place the camera, you need to go around a corner etc. This is no problem for a track or photogrammetry they rely on multiple sources and can accurately stich sources together.

  • Plus it allows you to do kickass mockups in a way most other methods can not.

  • Since this kind of stuff is also used in real measurement infrastructure the software may also calculate the error. So not only is the measurement accurate but you actually know how accurate.

1
  • Great information, if it is outside my budget at the moment. But I guess it will pay for itself in the long run.
    – Aasim Azam
    Aug 3 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.