-
公开(公告)号:US12249142B2
公开(公告)日:2025-03-11
申请号:US17748378
申请日:2022-05-19
Applicant: SAMSUNG ELECTRONICS CO., LTD.
Inventor: Juan Liu , Huasin Wang , Sukun Yoon , Longhai Wu , Jie Chen
Abstract: A method and an electronic apparatus for acquiring a floor map of a room layout are provided. The method includes acquiring a depth map and a two-dimensional (2D) image of an interior of a room; identifying a boundary line between a ceiling and a wall of the room in the acquired 2D image; determining valid pixels among pixels on the boundary line according to a first preset rule; identifying an electronic device in the room and determining a location of the electronic device; acquiring the floor map of the room layout by projecting three-dimensional (3D) coordinates of actual points corresponding to the valid pixels and 3D coordinates of the determined location of the electronic device onto a horizontal plane, wherein, the floor map of the room layout comprises connection lines between projections of the 3D coordinates of the actual points corresponding to the valid pixels and an icon indicating a type and the location of the electronic device, and wherein, the 3D coordinates of the actual points corresponding to the valid pixels are determined based on the depth map and the 2D image.
-
公开(公告)号:US20220383635A1
公开(公告)日:2022-12-01
申请号:US17748378
申请日:2022-05-19
Applicant: SAMSUNG ELECTRONICS CO., LTD.
Inventor: Juan Liu , Huasin Wang , Sukun Yoon , Longhai Wu , Jie Chen
Abstract: A method and an electronic apparatus for acquiring a floor map of a room layout are provided. The method includes acquiring a depth map and a two-dimensional (2D) image of an interior of a room; identifying a boundary line between a ceiling and a wall of the room in the acquired 2D image; determining valid pixels among pixels on the boundary line according to a first preset rule; identifying an electronic device in the room and determining a location of the electronic device; acquiring the floor map of the room layout by projecting three-dimensional (3D) coordinates of actual points corresponding to the valid pixels and 3D coordinates of the determined location of the electronic device onto a horizontal plane, wherein, the floor map of the room layout comprises connection lines between projections of the 3D coordinates of the actual points corresponding to the valid pixels and an icon indicating a type and the location of the electronic device, and wherein, the 3D coordinates of the actual points corresponding to the valid pixels are determined based on the depth map and the 2D image.
-