views:

23

answers:

0

How do I compute the perspective correction by scaling factor in MATLAB based on height or attitude, i.e. assuming that when I am moving upwards, an area, say a square should shrink or expand if I were to descend.

There are 2 scenarios for this:

  • Case I:

using imresize(), however how do I determine the scaling factor proportional to the height I climbed?

  • Case II:

Given original 4 points or corners of a region, how may I determine the remapping of the 4 points based on the change of attitude or height?