Jump to content

Fast Precision Perspective Correction


Recommended Posts

Hi, I’m new with Affinity Photo and I’m really impressed by all the features and possibilities. There’s only one thing that I’m not able to do: Fast Precision Perspective Correction which is needed to correct the perspective fault due to an incline (angle) of the camera. I cannot get beyond the iterating proces of slide the four corner until the result is more or less satisfying.

If you do some mathematics you can find a desired correction at the top of the picture of:

(cos(𝛂)xcos(𝛃)/cos(𝛂+𝛃))-1 and at the bottom: 1-(cos(𝛂)xcos(𝛃)/cos(𝛂+𝛃)). In which: 𝛂=angle of the camera and 𝛃=half of the angle of view (= arctan(h/2f) in which h=censor height and f=focus length).

So the desired correction can be calculated precisely as a function of the angle of the camera, if know what focus length was used.

My question: Is there a possibility to construct a procedure, macro or filter to do fast precision perspective correction with the existing tools and features in Affinity Photo?

Vergrotingsfactor.key

Link to comment
Share on other sites

Hi @Harrie and welcome! You've uploaded your diagram as a Keynote presentation which means that the many PC-using members of this forum won't be able to open it (unless they have iCloud). I've taken the liberty of uploading a screenshot:

1790980817_Screenshot2020-10-21at09_23_06.thumb.png.b42421f4c54cec810d3e24bdf0529e0c.png

Hopefully someone will come along and help with the algebra - it's beyond me!

Cheers,

H

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

  • Staff

Hi Harrie

Welcome to the forums :)

Unfortunately there is no straightforward way of performing this operation within the app. However if you are trying to correct a tilt or incline you could try playing with the distort correction options found within the develop persona.

Thanks
C

Please tag me using @ in your reply so I can be sure to respond ASAP.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.