IP Library › Granted Patent US 11,468,612
Granted Patent B2
US 11,468,612 · App. 17/102,373 · Granted Oct 11, 2022

Controlling display of a model based on captured images and determined information

Inventors: Min Wang (Beijing, CN); Wentao Liu (Beijing, CN); Chen Qian (Beijing, CN); Lizhuang Ma (Beijing, CN)
Assignee: Beijing Sensetime Technology Development Co., Ltd.
G06T11/60G06T7/0014G06T7/246G06T7/73G06T7/74G06T13/40G06V40/10G06V40/176G06T2200/04G06T2207/30196G06T2207/30201
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,468,612
App. No.
17/102,373
Granted
Oct 11, 2022
Kind
B2
Abstract

Embodiments of the present disclosure disclose an image processing method and apparatus, an image device, and a storage medium. The image processing method includes: obtaining an image; obtaining first rotation information of each of multiple nodes of a target; determining second rotation information of each child node with respect to a parent node in the multiple nodes of the target according to a hierarchical relationship among the nodes and multiple pieces of the first rotation information; and controlling movements of nodes in a controlled model corresponding to the multiple nodes based on multiple pieces of the second rotation information.

Claims (80)

1. An image processing method, comprising:

obtaining an image;

obtaining first rotation information of each of a plurality of nodes of a target based on the image;

determining, according to a hierarchical relationship among the nodes and a plurality of pieces of the first rotation information, second rotation information of each child node with respect to a parent node in the plurality of nodes of the target; and

controlling movements of nodes in a controlled model corresponding to the plurality of nodes based on a plurality of pieces of the second rotation information,

wherein controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes based on the plurality of pieces of second rotation information comprises:

obtaining a plurality of pieces of fourth rotation information, respectively, by performing posture defect correction on the plurality of pieces of second rotation information or on a plurality of pieces of third rotation information generated by the plurality of pieces of second rotation information; and

controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes by using the plurality of pieces of the fourth rotation information.

2. The method according to claim 1 , wherein obtaining the first rotation information of each of the plurality of nodes of the target based on the image comprises:

obtaining the first rotation information of each of the plurality of nodes of the target in a camera coordinate system based on the image.

3. The method according to claim 2 , wherein determining, according to the hierarchical relationship among the nodes and the plurality of pieces of first rotation information, the second rotation information of each child node with respect to the parent node in the plurality of nodes of the target comprises:

for each of the plurality of nodes,

taking the node as a child node; and

determining, according to the hierarchical relationship and the plurality of pieces of first rotation information, the second rotation information in a local coordinate system where the child node is located with respect to a local coordinate system where a parent node of the child node is located.

4. The method according to claim 3 , further comprising:

determining, for each of the plurality of nodes, a local coordinate system where the node is located according to the hierarchical relationship.

5. The method according to claim 4 , wherein determining the local coordinate system where the node is located according to the hierarchical relationship comprises:

taking the node as a child node;

taking a direction in which the child node points to a parent node of the child node as a first direction of the local coordinate system according to the hierarchical relationship;

taking a perpendicular direction of a plane where the child node and two nodes connected to the child node are located as a second direction of the local coordinate system; and

taking an orientation of a predetermined part of the target as a third direction of the local coordinate system.

6. The method according to claim 2 , wherein obtaining the first rotation information of each of the plurality of nodes of the target in the camera coordinate system based on the image comprises:

obtaining a first quaternion of each of the plurality of nodes of the target in the camera coordinate system based on the image.

7. The method according to claim 2 , wherein determining, according to the hierarchical relationship among the nodes and the plurality of pieces of first rotation information, the second rotation information of each child node with respect to the parent node in the plurality of nodes of the target comprises:

taking each of the plurality of nodes as a child node and determining a parent node of the child node according to the hierarchical relationship; and

for each child node, determining a second quaternion of the child node with respect to the parent node of the child node based on a first quaternion of the parent node of the child node in the camera coordinate system and a first quaternion of the child node in the camera coordinate system.

8. The method according to claim 1 , wherein controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes based on the plurality of pieces of second rotation information comprises:

determining, for each piece of second rotation information, whether the second rotation information satisfies a constraint condition; and

in response to that the second rotation information satisfies the constraint condition, according to the second rotation information, controlling a movement of a node in the controlled model corresponding to a child node associated with the second rotation information.

9. The method according to claim 8 , wherein determining, for each piece of second rotation information, whether the second rotation information satisfies the constraint condition comprises:

converting the second rotation information into a first angle in a coordinate system with a predetermined type;

determining whether the first angle is within a preset angle range; and

in response to that the first angle is within the preset angle range, determining that the second rotation information satisfies the constraint condition.

10. The method according to claim 9 , further comprising:

determining that the second rotation information does not satisfy the constraint condition in response to that the first angle is outside the preset angle range.

11. The method according to claim 9 , wherein the coordinate system with the predetermined type is an Eulerian coordinate system.

12. The method according to claim 8 , further comprising:

in response to that the second rotation information does not satisfy the constraint condition,

obtaining, by correcting the second rotation information, the third rotation information; and

controlling, according to the third rotation information, the movement of the node in the controlled model corresponding to the child node associated with the second rotation information.

13. The method according to claim 12 , wherein in response to that the second rotation information does not satisfy the constraint condition, obtaining, by correcting the second rotation information, the third rotation information comprises:

in response to that a first angle corresponding to the second rotation information is outside a preset angle range, obtaining, by correcting the first angle according to the preset angle, a second angle; and

obtaining the third rotation information according to the second angle.

14. The method according to claim 1 , wherein the posture defect correction comprises correction of at least one of:

an ipsilateral defect of upper and lower limbs;

a bowleg movement defect;

a splayfoot movement defect; or

a pigeon-toe movement defect.

15. The method according to claim 1 , further comprising:

obtaining a posture defect correction parameter according to difference information between a body form of the target and a standard body form, wherein the posture defect correction parameter is used for correcting the plurality of pieces of second rotation information or the plurality of pieces of third rotation information.

16. The method according to claim 1 , further comprising:

obtaining, by correcting proportions of different parts of a standard model according to a proportional relationship among different parts of the target, a corrected controlled model.

17. The method according to claim 1 , further comprising:

detecting face nodes of a face of the target;

generating mesh information of the face according to the face nodes;

determining an expression basis corresponding to a current expression of the target according to the mesh information; and

controlling an expression of the controlled model according to the expression basis.

18. The method according to claim 17 , further comprising:

controlling an expression intensity of the controlled model corresponding to each expression basis according to an intensity coefficient reflected by the mesh information.

19. An image device, comprising:

a memory storing computer executable instructions; and

a processor coupled to the memory,

wherein the processor is configured to:

obtain an image;

obtain first rotation information of each of a plurality of nodes of a target based on the image;

determine, according to a hierarchical relationship among the nodes and a plurality of pieces of the first rotation information, second rotation information of each child node with respect to a parent node in the plurality of nodes of the target; and

control movements of nodes in a controlled model corresponding to the plurality of nodes based on a plurality of pieces of the second rotation information,

wherein controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes based on the plurality of pieces of second rotation information comprises:

obtaining a plurality of pieces of fourth rotation information, respectively, by performing posture defect correction on the plurality of pieces of second rotation information or on a plurality of pieces of third rotation information generated by the plurality of pieces of second rotation information; and

controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes by using the plurality of pieces of the fourth rotation information.

20. The device according to claim 19 , wherein obtaining the first rotation information of each of the plurality of nodes of the target based on the image comprises:

obtaining the first rotation information of each of the plurality of nodes of the target in a camera coordinate system based on the image.

21. A non-transitory computer storage medium storing computer executable instructions that are executed by a processor to:

obtain an image;

obtain first rotation information of each of a plurality of nodes of a target based on the image;

determine, according to a hierarchical relationship among the nodes and a plurality of pieces of the first rotation information, second rotation information of each child node with respect to a parent node in the plurality of nodes of the target; and

control movements of nodes in a controlled model corresponding to the plurality of nodes based on a plurality of pieces of the second rotation information,

wherein controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes based on the plurality of pieces of second rotation information comprises:

obtaining a plurality of pieces of fourth rotation information, respectively, by performing posture defect correction on the plurality of pieces of second rotation information or on a plurality of pieces of third rotation information generated by the plurality of pieces of second rotation information; and

controlling the movements of the nodes in the controlled model corresponding to the plurality of nodes by using the plurality of pieces of the fourth rotation information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2021
From: WANG, MIN; LIU, WENTAO; QIAN, CHEN; MA, LIZHUANG
To: BEIJING SENSETIME TECHNOLOGY DEVELOPMENT CO., LTD.
Reel/Frame 055728/0444 →
Priority Claims (2)
CN 201910049830.6 · Jan 18, 2019 · national
CN 201910363858.7 · Apr 30, 2019 · national
Continuity (2)
Continuation PCTCN2020072550 · Jan 16, 2020
Related Publication 20210074006A1 · Mar 11, 2021
Cited By (2)
US 12,469,239 US 12,626,472