Electronic device and object measurement method thereof

    公开(公告)号:US11361461B2

    公开(公告)日:2022-06-14

    申请号:US16792401

    申请日:2020-02-17

    IPC分类号: G06T7/60

    摘要: According to an embodiment, an electronic device includes a display, a memory, and a processor operatively connected to the display and the memory. The memory stores instructions that cause the processor to generate first depth information in a first direction from an object, generate a first point cloud of the object based on the first depth information, generate a first bounding box containing one or more points of the first point cloud, generate second depth information in a second direction from the object, the second direction being different from the first direction, generate a second point cloud of the object based on the second depth information, generate a second bounding box containing one or more points of the second point cloud, generate a third bounding box by combining the first and second bounding boxes, and display the third bounding box on the display. Certain other embodiments are also possible.

    Method for generating image and electronic device therefor

    公开(公告)号:US12081879B2

    公开(公告)日:2024-09-03

    申请号:US17798842

    申请日:2021-01-19

    IPC分类号: H04N23/84 G06T7/90 H04N23/63

    摘要: According to an embodiment of the present disclosure, an electronic device comprises: a camera; a display; a memory; and at least one processor electrically connected to the display and the memory. The processor obtains an input of selecting a first image, generates a color filter by comparing the first image and a second image having a color pattern different from the first image, obtains a third image, and generates a fourth image by applying the generate color filter to the third image. The processor derives a function by comparing color values of pixels of the first image and the second image, and coefficients of the function. The color filter may include the function derived by comparing the first image and the second image, the coefficients of the function, and a color lookup table generated on the basis of the derived function. The processor stores the generated color filter in the memory and generates the fourth image by applying the stored color filter to the third image.