CN106447754A - Automatic generating method for pathological animation - Google Patents

Automatic generating method for pathological animation Download PDF

Info

Publication number
CN106447754A
CN106447754A CN201610786427.8A CN201610786427A CN106447754A CN 106447754 A CN106447754 A CN 106447754A CN 201610786427 A CN201610786427 A CN 201610786427A CN 106447754 A CN106447754 A CN 106447754A
Authority
CN
China
Prior art keywords
grid
animation
chart
vertex
displacement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610786427.8A
Other languages
Chinese (zh)
Other versions
CN106447754B (en
Inventor
刘锦宏
徐丽芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
And Si Yi Technology (wuhan) LLC
Wuhan University WHU
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610786427.8A priority Critical patent/CN106447754B/en
Publication of CN106447754A publication Critical patent/CN106447754A/en
Application granted granted Critical
Publication of CN106447754B publication Critical patent/CN106447754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/41Medical
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2213/00Indexing scheme for animation
    • G06T2213/12Rule based animation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides an automatic generating method for a pathological animation, wherein the method relates to the field of animation generation technology. The automatic generating method comprises the steps of acquiring a first grid diagram in a normal state and a second grid diagram in a pathological state; determining a displaced grid top point in the first grid diagram according to the first grid diagram and the second diagram; and generating the pathological animation based on the displaced grid top point and a preset animation time length. According to the automatic generating method, through acquiring the first grid diagram in the normal state and the second grid diagram in the pathological state, the displaced grid top point in the first grid diagram is determined according to the first grid diagram and the second grid diagram, and the pathological animation is generated based on the displaced grid top point and the preset animation time length, thereby realizing no requirement for pathological animation production by technical personnel and saving manpower and time.

Description

The automatic generation method of pathology animation
Technical field
The present invention relates to animation producing technical field, more particularly, to a kind of automatic generation method of pathology animation.
Background technology
Medical animation is the emerging technology producing recently as the development of 3D animation.Designer is virtual at this Three-dimensional world in set up model and scene according to object to be showed, inside of human body is given intuitively to show.
And pathology animation then belongs to one of medical animation, it is used for reflecting the development of pathology, i.e. normal condition To the animation of pathological condition, in the prior art, pathology animation is typically made by technical staff, but manufacturing process is very Labor intensive, also takes a lot of times simultaneously.
Content of the invention
It is an object of the invention to provide a kind of automatic generation method of pathology animation is it is intended to move for solving making pathology Draw labor intensive, spend time taking problem.
The present invention is realized in:
A kind of automatic generation method of pathology animation, methods described includes:
Obtain the first grid chart of normal condition and the second grid chart of pathological condition;
Determine the grid vertex that there is displacement in described first grid chart according to described first grid chart and the second grid chart;
Pathology animation is generated based on the described grid vertex that there is displacement and default animation duration.
Alternatively, described determine in described first grid chart there is displacement according to described first grid chart and the second grid chart Grid vertex, further include:
Determine the corresponding relation of each grid vertex in described first grid chart and the second grid chart, based on described corresponding relation Determine the grid vertex that there is displacement in described first grid chart.
Alternatively, the described corresponding relation determining each grid vertex in described first grid chart and the second grid chart, is based on Described corresponding relation determines the grid vertex that there is displacement in described first grid chart, further includes:
Obtain the first grid vertex of described first grid chart, and obtain the second grid vertex of described second grid chart;
Determine the corresponding relation between the first grid vertex and the second grid vertex;
There will be the first grid vertex of corresponding relation and the second grid vertex carries out location comparison, when position is different, This first grid vertex existed as in described first grid chart the grid vertex of displacement.
Alternatively, described pathology animation is generated based on the described grid vertex that there is displacement and default animation duration, enter one Step includes:
When the function generating animation frame is called, obtain the time between current time and described pathology animation start frame Difference, generates animation frame based on grid vertex, time difference and the described default animation duration that there is displacement in described first grid chart, To generate pathology animation.
Alternatively, described based on there is the grid vertex of displacement, time difference and described default dynamic in described first grid chart Draw duration and generate animation frame, further include:
Travel through the grid vertex that there is displacement in described first grid chart, and using the grid vertex traversing as target network Lattice summit;
Obtain the displacement on described target gridding summit;
Determine the present bit on described target gridding summit according to described displacement, time difference and described default animation duration Put;
Current location according to described target gridding summit adjusts corresponding grid vertex in described first grid chart, until After traversal terminates, using the first grid chart after adjustment as the animation frame generating.
Alternatively, described acquisition the first grid chart of normal condition and the second grid chart of pathological condition, further include:
Obtain the first grid chart of normal condition and the second grid chart of pathological condition, and obtain described first grid chart and The color range of the second grid chart is poor;
Correspondingly, described pathology animation is generated based on the described grid vertex that there is displacement and default animation duration, enter one Step includes:
Based on described color range is poor, grid vertex that is there is displacement and default animation duration generate pathology animation.
The invention has the advantages that:
The present invention passes through to obtain the first grid chart of normal condition and the second grid chart of pathological condition, according to described first Grid chart and the second grid chart determine the grid vertex that there is displacement in described first grid chart, based on the described net that there is displacement Lattice summit and default animation duration generate pathology animation, thus pathology animation need not be made using by technical staff, save manpower And the time.
Brief description
Fig. 1 is a kind of flow chart of the automatic generation method of pathology animation provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Fig. 1 is a kind of flow chart of the automatic generation method of pathology animation provided in an embodiment of the present invention, methods described bag Include following steps S101~S103:
S101:Obtain the first grid chart of normal condition and the second grid chart of pathological condition;
It will be appreciated that described grid chart is to couple together to form netted curved surface by adjacent data point line segment, its It can be triangle gridding figure.
S102:Determine the grid that there is displacement in described first grid chart according to described first grid chart and the second grid chart Summit;
It will be appreciated that for determining the grid vertex that there is displacement in described first grid chart, can first determine described first The corresponding relation of each grid vertex in grid chart and the second grid chart, more described first grid chart is determined based on described corresponding relation The middle grid vertex that there is displacement.
In determining described first grid chart and the second grid chart during the corresponding relation of each grid vertex, the first net can be contrasted Trrellis diagram and the second grid chart, determine same vertices and different summits, then travel through all same vertices, find all adjacent not Same summit, is then numbered to adjacent different top point according to this group summit, then the adjacent vertex to numbered summit It is numbered, successively the complete all summits of searching loop, so that it is determined that going out the corresponding relation of each grid vertex.
Then, there will be the first grid vertex of corresponding relation and the second grid vertex carries out location comparison, in position not Meanwhile, this first grid vertex existed as in described first grid chart the grid vertex of displacement.
S103:Pathology animation is generated based on the described grid vertex that there is displacement and default animation duration.
In implementing, when the function generating animation frame is called, obtains current time and rise with described pathology animation Time difference between beginning frame, based on the grid vertex, time difference and the described default animation that there is displacement in described first grid chart Duration generates animation frame, and to generate pathology animation, detailed process is::
Travel through the grid vertex that there is displacement in described first grid chart, and using the grid vertex traversing as target network Lattice summit;
Obtain the displacement on described target gridding summit;
Determine the present bit on described target gridding summit according to described displacement, time difference and described default animation duration Put;
For example:Displacement is 100 pixels, a length of 10s during default animation, and the time difference is 0.3s, now, you can calculate 0.3/10*100=3, that is, for target gridding summit, it is from the corresponding initial position of the first grid chart to the second grid chart Corresponding final position moves 3 pixels, so that it is determined that the current location on target gridding summit.
Current location according to described target gridding summit adjusts corresponding grid vertex in described first grid chart, until After traversal terminates, using the first grid chart after adjustment as the animation frame generating.
It will be appreciated that it is poor due to there may be color range between the first grid chart and the second grid chart, therefore, in step In S101, also can obtain described first grid chart and the color range of the second grid chart is poor.
Correspondingly, in step s 103, can grid vertex that is poor based on described color range, there is displacement and default animation duration Generate pathology animation.
Detailed process is essentially identical with said process, and difference is:Also need to determine the color range of pathology animation, example As:A length of 10s during default animation, the time difference is 0.3s, and color range difference is 20, now, you can calculate 0.3/10*20=0.6, this When, it can be adjusted 0.6 color range from the corresponding initial color range of the first grid chart to the second grid chart corresponding terminal color range.
The present embodiment passes through to obtain the first grid chart of normal condition and the second grid chart of pathological condition, according to described the One grid chart and the second grid chart determine the grid vertex that there is displacement in described first grid chart, there is displacement based on described Grid vertex and default animation duration generate pathology animation, thus pathology animation need not be made using by technical staff, save people Power and time.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (6)

1. a kind of automatic generation method of pathology animation is it is characterised in that methods described includes:
Obtain the first grid chart of normal condition and the second grid chart of pathological condition;
Determine the grid vertex that there is displacement in described first grid chart according to described first grid chart and the second grid chart;
Pathology animation is generated based on the described grid vertex that there is displacement and default animation duration.
2. the method for claim 1 is it is characterised in that described determine according to described first grid chart and the second grid chart There is the grid vertex of displacement in described first grid chart, further include:
Determine the corresponding relation of each grid vertex in described first grid chart and the second grid chart, determined based on described corresponding relation There is the grid vertex of displacement in described first grid chart.
3. method as claimed in claim 2 is it is characterised in that each in described first grid chart of described determination and the second grid chart The corresponding relation of grid vertex, determines, based on described corresponding relation, the grid vertex that there is displacement in described first grid chart, enters One step includes:
Obtain the first grid vertex of described first grid chart, and obtain the second grid vertex of described second grid chart;
Determine the corresponding relation between the first grid vertex and the second grid vertex;
There will be the first grid vertex of corresponding relation and the second grid vertex carries out location comparison, when position is different, should First grid vertex is as the grid vertex that there is displacement in described first grid chart.
4. the method for claim 1 is it is characterised in that described had the grid vertex of displacement and preset dynamic based on described Draw duration and generate pathology animation, further include:
When the function generating animation frame is called, obtain the time difference between current time and described pathology animation start frame, Animation frame is generated based on grid vertex, time difference and the described default animation duration that there is displacement in described first grid chart, with Generate pathology animation.
5. method as claimed in claim 4 it is characterised in that described based on the grid that there is displacement in described first grid chart Summit, time difference and described default animation duration generate animation frame, further include:
Travel through the grid vertex that there is displacement in described first grid chart, and using the grid vertex traversing as target gridding top Point;
Obtain the displacement on described target gridding summit;
Determine the current location on described target gridding summit according to described displacement, time difference and described default animation duration;
Current location according to described target gridding summit adjusts corresponding grid vertex in described first grid chart, until traversal After end, using the first grid chart after adjustment as the animation frame generating.
6. the method as any one of Claims 1 to 5 is it is characterised in that the first grid of described acquisition normal condition Figure and the second grid chart of pathological condition, further include:
Obtain the first grid chart of normal condition and the second grid chart of pathological condition, and obtain described first grid chart and second The color range of grid chart is poor;
Correspondingly, described pathology animation is generated based on the described grid vertex that there is displacement and default animation duration, wrap further Include:
Based on described color range is poor, grid vertex that is there is displacement and default animation duration generate pathology animation.
CN201610786427.8A 2016-08-31 2016-08-31 Automatic generation method of pathological animation Active CN106447754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610786427.8A CN106447754B (en) 2016-08-31 2016-08-31 Automatic generation method of pathological animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610786427.8A CN106447754B (en) 2016-08-31 2016-08-31 Automatic generation method of pathological animation

Publications (2)

Publication Number Publication Date
CN106447754A true CN106447754A (en) 2017-02-22
CN106447754B CN106447754B (en) 2019-12-24

Family

ID=58090617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610786427.8A Active CN106447754B (en) 2016-08-31 2016-08-31 Automatic generation method of pathological animation

Country Status (1)

Country Link
CN (1) CN106447754B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182500A (en) * 1993-12-24 1995-07-21 Casio Comput Co Ltd Method and device for deforming image
US6271856B1 (en) * 1998-11-19 2001-08-07 Paraform, Inc. Creating and modifying parameterizations of surfaces
CN101276474A (en) * 2008-04-14 2008-10-01 中山大学 Linear constrained image distortion method based on local coordinates
CN101401129A (en) * 2006-01-10 2009-04-01 索尼株式会社 Techniques for creating facial animation using a face mesh
CN102449664A (en) * 2011-09-27 2012-05-09 华为技术有限公司 Gradual-change animation generating method and apparatus
CN102930584A (en) * 2012-11-13 2013-02-13 沈阳信达信息科技有限公司 Bone animation optimization based on graphics processing unit (GPU)
CN102968751A (en) * 2012-12-12 2013-03-13 江南大学 Construction method of morphology course teaching resource library
CN103700130A (en) * 2013-12-30 2014-04-02 中国科学院自动化研究所 Method for generating lattice animation of vocal organs
CN103810739A (en) * 2014-02-20 2014-05-21 南京师范大学 Image character morphing animation generating method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182500A (en) * 1993-12-24 1995-07-21 Casio Comput Co Ltd Method and device for deforming image
US6271856B1 (en) * 1998-11-19 2001-08-07 Paraform, Inc. Creating and modifying parameterizations of surfaces
CN101401129A (en) * 2006-01-10 2009-04-01 索尼株式会社 Techniques for creating facial animation using a face mesh
CN101276474A (en) * 2008-04-14 2008-10-01 中山大学 Linear constrained image distortion method based on local coordinates
CN102449664A (en) * 2011-09-27 2012-05-09 华为技术有限公司 Gradual-change animation generating method and apparatus
CN102930584A (en) * 2012-11-13 2013-02-13 沈阳信达信息科技有限公司 Bone animation optimization based on graphics processing unit (GPU)
CN102968751A (en) * 2012-12-12 2013-03-13 江南大学 Construction method of morphology course teaching resource library
CN103700130A (en) * 2013-12-30 2014-04-02 中国科学院自动化研究所 Method for generating lattice animation of vocal organs
CN103810739A (en) * 2014-02-20 2014-05-21 南京师范大学 Image character morphing animation generating method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯晖 等: "谈医学教学中二维、三维动画组合及动态模拟作用", 《中国医学教育技术》 *
胡亮: "人脸图像变形动画技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN106447754B (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN104008569B (en) A kind of 3D scene generating method based on deep video
CN103198494B (en) A kind of elevation of building extracting method based on building outer contour and laser point cloud
CN108062453B (en) Flood high-efficiency simulation and high-fidelity visual dynamic display method for water conservancy information system
CN104639725B (en) interface switching method and device
CN102447925B (en) Method and device for synthesizing virtual viewpoint image
CN103198508A (en) Human face expression animation generation method
CN103606190A (en) Method for automatically converting single face front photo into three-dimensional (3D) face model
CN102819855B (en) The generation method of two dimensional image and device
CN104063888B (en) A kind of wave spectrum artistic style method for drafting based on feeling of unreality
CN110517337A (en) Cartoon role expression generation method, animation method and electronic equipment
CN103927779B (en) Method for generating two-dimensional animation on basis of configuration
CN105096387A (en) Intelligent three-dimensional processing method of two-dimensional sketch
CN103761734A (en) Binocular stereoscopic video scene fusion method for keeping time domain consistency
CN103810750A (en) Human body section ring based parametric deformation method
CN110189413A (en) A kind of method and system generating clothes distorted pattern
Chen Research on the application of digital media art in animation control based on Maya MEL language
CN104881850B (en) A kind of spissatus automatic removal method of multi-temporal remote sensing image
CN105791764A (en) Video monitoring image display method based on three-dimensional image
CN106296575B (en) Model and picture merging and separation method and system based on BIM
CN102768763A (en) Method and device for outlining characters
CN106447754A (en) Automatic generating method for pathological animation
CN107230244A (en) The generation method and rendering system of a kind of animation file
CN103886635A (en) Self-adaption LOD model establishing method based on face clustering
CN106162142A (en) A kind of efficient VR scene drawing method
CN106648586A (en) Platform for performing VR creation based on network browser

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191122

Address after: 430000 Hubei city of Wuhan province Wuhan East Lake New Technology Development Zone, Road No. 5-2 National Geospatial Information Industry base two North building two unit 2 building 204 room -168

Applicant after: And Si Yi Technology (Wuhan) LLC

Address before: 430000 Hubei Province, Wuhan city Hongshan District Luojia Nga Court 16 unit 2403

Applicant before: Liu Jinhong

Applicant before: Xu Lifang

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231227

Address after: 430000 Room 204-168, Building 2, North Main Building, Second Phase II, National Geospatial Information Industry Base, Wudayuan Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: And Si Yi Technology (Wuhan) LLC

Patentee after: WUHAN University

Address before: 430000 Room 204-168, Building 2, North Main Building, Second Phase II, National Geospatial Information Industry Base, Wudayuan Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: And Si Yi Technology (Wuhan) LLC

TR01 Transfer of patent right