CPC G06T 7/001 (2013.01) [G06F 18/22 (2023.01); G06T 7/30 (2017.01); G06T 7/50 (2017.01); G06T 7/70 (2017.01); G06T 2207/30184 (2013.01)] | 9 Claims |
1. A photographing guide device comprising:
a memory storing program instructions; and
a processor coupled to the memory, wherein the processor is configured to execute the program instructions to:
extract a plurality of feature points from each of a candidate image of a structure captured from a capturing candidate position in a capturing candidate direction and a registered image of the structure captured from a given capturing position in a given capturing direction stored in advance;
associate each feature point extracted from the candidate image with a corresponding feature point extracted from the registered image, as a feature point pair, resulting in obtaining a plurality of feature point pairs;
when at least a predetermined number of the plurality of feature point pairs have been obtained, estimate a homography matrix of the candidate image and the registered image based on the plurality of feature point pairs;
detect a positional difference between the capturing candidate position and the given capturing position, and a direction difference between the capturing candidate direction and the given capturing direction, on a basis of the homography matrix; and
output information indicating the positional difference and the direction difference that have been detected, and indicating a synthetic image, wherein
detection of the positional difference includes transformation of the registered image on the basis of the homography matrix, and generation of the synthetic image in which the registered image after transformation and the candidate image are synthesized.
|