US 12,313,404 B2
Method and apparatus for calculating actual distance between coordinates in image
Ken Kim, Seoul (KR); Ji Wuck Jung, Gyeonggi-do (KR); Kevin Nathanael Santoso, Seoul (KR); and Byung Ju Lee, Seoul (KR)
Assigned to 3i Inc., Daegu (KR)
Filed by 3i Inc., Daegu (KR)
Filed on Oct. 30, 2022, as Appl. No. 17/976,856.
Claims priority of application No. 10-2022-0065450 (KR), filed on May 27, 2022.
Prior Publication US 2023/0384091 A1, Nov. 30, 2023
Int. Cl. G01C 11/04 (2006.01); G01C 5/00 (2006.01); G01C 11/06 (2006.01); G06T 3/4038 (2024.01); G06T 7/60 (2017.01); G06T 7/62 (2017.01); G06V 10/74 (2022.01)
CPC G01C 11/04 (2013.01) [G06T 3/4038 (2013.01); G06T 7/62 (2017.01); G06V 10/761 (2022.01)] 6 Claims
OG exemplary drawing
 
1. An electronic apparatus for performing a method of calculating an actual distance between coordinates in an image, the electronic apparatus comprising:
a memory configured to store a program that calculates an actual distance between coordinates in an image; and
a processor configured to execute the program
wherein the processor is configured to:
generate a regular image for an original image captured by a camera based on an intrinsic parameter of the camera and pose information of the camera;
calculate, based on first coordinates in the regular image, first world coordinates corresponding to the first coordinates in a preset world coordinate system;
calculate, based on second coordinates in the regular image, second world coordinates corresponding to the second coordinates in the world coordinate system; and
calculate a distance between the first world coordinates and the second world coordinates,
wherein the processor is further configured to:
receive reference coordinates on the regular image together with a bottom surface shift input from the user,
calculate reference world coordinates in the world coordinate system corresponding to the reference coordinates when the bottom surface shift input and the reference coordinates are received,
output a user interface (UI) for receiving height information about the reference world coordinates,
receive the second coordinate representing the height information from the user through the UI, and
calculate the second world coordinate corresponding to the second coordinate,
wherein the reference world coordinates and the second world coordinates have a same plane position and different heights in the world coordinate system.