CN104680174A - Mesh animation progressive transmission-orientated frame clustering method - Google Patents

Mesh animation progressive transmission-orientated frame clustering method Download PDF

Info

Publication number
CN104680174A
CN104680174A CN201510057315.4A CN201510057315A CN104680174A CN 104680174 A CN104680174 A CN 104680174A CN 201510057315 A CN201510057315 A CN 201510057315A CN 104680174 A CN104680174 A CN 104680174A
Authority
CN
China
Prior art keywords
frame
mesh
cluster
animation
clustering
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
CN201510057315.4A
Other languages
Chinese (zh)
Other versions
CN104680174B (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.)
Zhejiang Gongshang University
Original Assignee
Zhejiang Gongshang University
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 Zhejiang Gongshang University filed Critical Zhejiang Gongshang University
Priority to CN201510057315.4A priority Critical patent/CN104680174B/en
Publication of CN104680174A publication Critical patent/CN104680174A/en
Application granted granted Critical
Publication of CN104680174B publication Critical patent/CN104680174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a mesh animation progressive transmission-orientated frame clustering method which comprises the following steps: matching all frame models; finding a transformation relation among coordinate matrixes of frame mesh models by an ICP algorithm to obtain a rotating matrix R and a translation matrix T between one frame and another frame, and clustering all frame mesh coordinate data by a class kmeans clustering algorithm; finally obtaining clustering results with continuous frame indexes of all the types, starting to carry out data processing type by type, respectively completing code transmission, and independently transmitting representative frames of all the types. According to the method, a mesh residual value replaces a conventional Euclidean distance during clustering, and a key frame time difference value is added, so that the clustering results are accurate, and the frame indexes included in all the types are continuous; by final type-by-type processing and code transmission, progressive transmission of mesh animations can be realized.

Description

The frame clustering method of Grid-oriented animation progressive transmission
Technical field
The invention belongs to multimedia technology field relevant to portable mobile equipment in wireless network, be specifically related to a kind of frame clustering method of Grid-oriented animation progressive transmission.
Background technology
Under existing network bandwidth conditions, data volume crosses transmission and the application that senior general seriously hinders mesh animation, therefore first performs frame clustering algorithm to mesh animation and is undertaken processing the data-handling efficiency that effectively can improve mesh animation by class again.In addition, select the partial sequence of reconstruct original mesh animation according to the network bandwidth and transmit to client, thus improving grid utilization factor, also meeting the development trend of current grid picture transmission.
But, in current mesh animation Compression Study, owing to reckoning without the progressive transmission of mesh animation, when performing frame clustering algorithm, only consider the similarity of frame coordinate data, thus frame index all kinds of comprised in the cluster result obtained is discrete.Therefore, design one not only ensures similarly between all kinds of frame interior can also make its frame index continuous print frame clustering method, is of great significance the progressive transmission tool realizing mesh animation.
Summary of the invention
The present invention is directed to the deficiency of existing frame clustering method in mesh animation progressive transmission application aspect, provide a kind of frame clustering method of Grid-oriented animation progressive transmission.
The technical solution adopted for the present invention to solve the technical problems is as follows:
Mesh animation sequence A (M is imported at server end 1, M 2..., M f), wherein M l, l ∈ [1, F] represents the static network lattice model that every frame is corresponding, and its number of vertices is N, and F represents the frame number of this mesh animation.
First, each frame model is mated.Utilize ICP algorithm to find transformation relation between frame grid model coordinates matrix, obtain rotation matrix R and the translation matrix T of frame and interframe.
Secondly, utilize class kmeans clustering algorithm that all frame mesh coordinate data are carried out cluster, its specific algorithm step is as follows:
1) random selecting k frame is as the initial representative frame of k cluster, is kept in array Sframes by its index.
2) select i-th (i=1,2 ...., N) frame data as present frame, calculate present frame to each representative frame j (j=Sframes (1) ..., Sframes (k)) frame pitch d ij.More all frame pitches, are classified as the i-th frame and representative frame same class when obtaining minimum frame distance.
3) step 2 is repeated) F time.Now all frames are classified all, and this time cluster terminates.
4) for each cluster, the representative frame that such is new is found out.
5) step 2 is repeated) ~ 4), until meet convergence end condition.
6) final cluster result and all final representative frame is preserved.
Finally, obtain all kinds of interior frame index continuous print cluster result, start carry out data processing by class and complete coding transmission respectively, individual transmission is carried out to all kinds of representative frame simultaneously.
Beneficial effect of the present invention: the present invention is a kind of mesh animation frame clustering method for progressive transmission.Substitute traditional Euclidean distance with grid residual error during cluster, and then add key frame time difference, make cluster result not only accurate, can also ensure that all kinds of comprised frame index is continuous.Also separately carry out coding transmission finally by by class process, the progressive transmission of mesh animation can be realized.Individual transmission is carried out to all kinds of representative frame simultaneously, the animation effect that of this mesh animation is basic can be obtained.
Embodiment
Mesh animation sequence A (M is imported at server end 1, M 2..., M f), wherein M l, l ∈ [1, F] represents the static network lattice model that every frame is corresponding, and its number of vertices is N, and F represents the frame number of this mesh animation.
First, each frame model is mated.Utilize ICP algorithm to find transformation relation between frame grid model coordinates matrix, obtain rotation matrix R and the translation matrix T of frame and interframe.Its specific algorithm is as follows:
If V i, V jrepresent the coordinates matrix of the i-th frame and jth frame static network lattice model in mesh animation sequence respectively, R ij, t ijrepresent respectively from V itransform to V jtime corresponding rotation matrix and translation vector, i.e. R ijand t ijmeet the error function value E (R in following formula ij, t ij) minimum.
E ( R ij , t ij ) = arg min R , t | | V j - ( V i · R ij + t ij ) | |
Secondly, utilize class kmeans clustering algorithm that all frame mesh coordinate data are carried out cluster, its specific algorithm step is as follows:
1) random selecting K frame is as the initial representative frame of K cluster, is kept in array Sframes by its index.
2) select i-th (i=1,2 ...., N) frame data as present frame, calculate present frame to each representative frame j (j=Sframes (1) ..., Sframes (K)) frame pitch d ij, the i-th frame is classified as the C when obtaining minimum frame distance jin.
Wherein when definition frame distance, classic method only using the geometric distance between two frame coordinate matrixes as module, i.e. d ij=|| V i-V j||.And we consider that the compressed object of this compression algorithm is key-frame animation, also there is the problem at a different time interval in frame and interframe, therefore we are when defining frame pitch, not only replace traditional Euclidean distance with grid residual values, also will consider key frame time difference.With the frame pitch d of the i-th frame to jth frame ijfor example, its final expression formula is:
d ij=||V j-(V i·R ij+T ij)||+λ|t i-t j|
Wherein R ijwith T ijmatrix is described above, represents that the jth frame transform that utilizes ICP algorithm to calculate is to the rotation matrix of the i-th frame and translation matrix respectively, and t iwith t irepresent the i-th frame and the time coordinate of jth frame in unit grids animation time (1s) respectively.
When λ=0, show that frame pitch does not consider key frame time difference.Now, due to the ambiguity of mesh animation change, therefore after execution clustering algorithm, all kinds of comprised frame sequence not necessarily keeps continuous, and when λ value increases gradually, two interframe the time interval, proportion increased to a certain value time, all kinds of comprised frame frame index value starts continuously, namely to carry out contiguous segmentation to original mesh animation sequence.But when λ value is excessive, frame cluster will be determined primarily of time difference.In order to ensure that cluster is accurate, we get and make frame index start continuous print critical value as final λ value.
3) step 2 is repeated) F time.Now all frames are classified all, and this time cluster terminates.
4) for each cluster, the representative frame that such is new is found out.
Wherein representative frame is defined as: set and perform cluster result that frame clustering algorithm obtains as A (C 1, C 2..., C k), wherein C k=(V k1, V k2..., V km), k ∈ [1, K] is wherein any class frame sequence, the number of the frame that m comprises for such, then representative frame V r(V r∈ (V k1, V k2..., V km)) meet as the wherein frame in frame sequence in such
d sum = min ( Σ t = k 1 km ( | | V r - ( R rt * V t + T rt ) | | + λ | t r - t t | ) )
5) step 2 is repeated) ~ 4), until meet convergence end condition.
Wherein restraining end condition is: reach the largest frames of representative frame and other frames in maximum iteration time times or section apart from being less than threshold value threshold.
6) final cluster result and representative frame V thereof is preserved r.
Finally, obtain all kinds of interior frame index continuous print cluster result, start carry out data processing by class and complete coding transmission respectively, individual transmission is carried out to all kinds of representative frame simultaneously.

Claims (2)

1. the frame clustering method of Grid-oriented animation progressive transmission, is characterized in that the method comprises the steps:
Mesh animation sequence A (M is imported at server end 1, M 2..., M f), wherein M l, l ∈ [1, F] represents the static network lattice model that every frame is corresponding, and its number of vertices is N, and F represents the frame number of this mesh animation;
Step 1, mates each frame model; Utilize ICP algorithm to find transformation relation between frame grid model coordinates matrix, obtain rotation matrix R and the translation matrix T of frame and interframe; Specific as follows:
If V i, V jrepresent the coordinates matrix of the i-th frame and jth frame static network lattice model in mesh animation sequence respectively, R ij, t ijrepresent respectively from V itransform to V jtime corresponding rotation matrix and translation vector, i.e. R ijand t ijmeet the error function value E (R in following formula ij,t ij) minimum;
E ( R ij , t ij ) = arg min R , t | | V j - ( V i · R ij + t ij ) | |
Secondly, utilize class kmeans clustering algorithm that all frame mesh coordinate data are carried out cluster, it is specific as follows:
1) random selecting K frame is as the initial representative frame of K cluster, is kept in array Sframes by its index;
2) select the i-th frame data as present frame, calculate the frame pitch d of present frame to each representative frame j ij, the i-th frame is classified as the C when obtaining minimum frame distance jin; Wherein i=1,2 ...., N, j=Sframes (1) ..., Sframes (K);
3) step 2 is repeated) F time; Now all frames are classified all, and this time cluster terminates;
4) for each cluster, the representative frame that such is new is found out;
Wherein representative frame is defined as: set and perform cluster result that frame clustering algorithm obtains as A (C 1, C 2..., C k), wherein C k=(V k1, V k2..., V km), k ∈ [1, K] is wherein any class frame sequence, the number of the frame that m comprises for such, then representative frame V rmeet as the wherein frame in frame sequence in such
d sum = min ( Σ t = k 1 km ( | | V r - ( R rt * V t + T rt ) | | + λ | t r - t t | ) )
5) step 2 is repeated) ~ 4), until meet convergence end condition;
Wherein restraining end condition is: reach the largest frames of representative frame and other frames in maximum iteration time times or section apart from being less than threshold value threshold;
6) final cluster result and representative frame V thereof is preserved r;
Finally, obtain all kinds of interior frame index continuous print cluster result, start carry out data processing by class and complete coding transmission respectively, individual transmission is carried out to all kinds of representative frame simultaneously.
2. the frame clustering method of Grid-oriented animation progressive transmission according to claim 1, is characterized in that: when definition frame distance, not only replaces Euclidean distance with grid residual values, also will consider key frame time difference; With the frame pitch d of the i-th frame to jth frame ijfor example, its final expression formula is:
d ij=||V j-(V i·R ij+T ij)||+λ|t i-t j|
Wherein R ijwith T ijmatrix represents that the jth frame transform that utilizes ICP algorithm to calculate is to the rotation matrix of the i-th frame and translation matrix respectively, and t iwith t irepresent the i-th frame and the time coordinate of jth frame in unit grids animation time respectively;
When λ=0, show that frame pitch does not consider key frame time difference; Now, due to the ambiguity of mesh animation change, therefore after execution clustering algorithm, all kinds of comprised frame sequence not necessarily keeps continuous, and when λ value increases gradually, two interframe the time interval, proportion increased to a certain value time, all kinds of comprised frame frame index value starts continuously, namely to carry out contiguous segmentation to original mesh animation sequence; But when λ value is excessive, frame cluster will be determined primarily of time difference; In order to ensure that cluster is accurate, getting and making frame index start continuous print critical value as final λ value.
CN201510057315.4A 2015-02-04 2015-02-04 The frame clustering method of Grid-oriented animation progressive transmission Active CN104680174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510057315.4A CN104680174B (en) 2015-02-04 2015-02-04 The frame clustering method of Grid-oriented animation progressive transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510057315.4A CN104680174B (en) 2015-02-04 2015-02-04 The frame clustering method of Grid-oriented animation progressive transmission

Publications (2)

Publication Number Publication Date
CN104680174A true CN104680174A (en) 2015-06-03
CN104680174B CN104680174B (en) 2018-02-09

Family

ID=53315191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510057315.4A Active CN104680174B (en) 2015-02-04 2015-02-04 The frame clustering method of Grid-oriented animation progressive transmission

Country Status (1)

Country Link
CN (1) CN104680174B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654536A (en) * 2015-12-21 2016-06-08 浙江工商大学 Method for performing time domain clustering on three-dimensional model according to curvature
CN115372972A (en) * 2022-08-05 2022-11-22 西安电子科技大学 Clustering method based on traffic millimeter wave radar point cloud data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226624A1 (en) * 2006-02-23 2007-09-27 Peker Kadir A Content-based video summarization using spectral clustering
CN101216949A (en) * 2008-01-14 2008-07-09 浙江大学 A 3D face animation manufacturing method based on region segmentation and segmented learning
CN101482928A (en) * 2009-02-24 2009-07-15 清华大学 Behavior description method and apparatus
CN101739561A (en) * 2008-11-11 2010-06-16 中国科学院计算技术研究所 TV station logo training method and identification method
CN101860979A (en) * 2010-04-23 2010-10-13 浙江工商大学 Three-dimensional model transmitting and interactive drawing method in wireless local area network
CN103914866A (en) * 2014-03-14 2014-07-09 浙江工商大学 3D model grouping method based on self-adaptive graph coloring in wireless network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226624A1 (en) * 2006-02-23 2007-09-27 Peker Kadir A Content-based video summarization using spectral clustering
CN101216949A (en) * 2008-01-14 2008-07-09 浙江大学 A 3D face animation manufacturing method based on region segmentation and segmented learning
CN101739561A (en) * 2008-11-11 2010-06-16 中国科学院计算技术研究所 TV station logo training method and identification method
CN101482928A (en) * 2009-02-24 2009-07-15 清华大学 Behavior description method and apparatus
CN101860979A (en) * 2010-04-23 2010-10-13 浙江工商大学 Three-dimensional model transmitting and interactive drawing method in wireless local area network
CN103914866A (en) * 2014-03-14 2014-07-09 浙江工商大学 3D model grouping method based on self-adaptive graph coloring in wireless network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨柏林: "渐进三维网格在非可靠网络中传输的有效分组机制", 《计算机辅助设计与图形学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654536A (en) * 2015-12-21 2016-06-08 浙江工商大学 Method for performing time domain clustering on three-dimensional model according to curvature
CN105654536B (en) * 2015-12-21 2019-04-12 浙江工商大学 The method that time domain cluster is carried out to threedimensional model according to curvature
CN115372972A (en) * 2022-08-05 2022-11-22 西安电子科技大学 Clustering method based on traffic millimeter wave radar point cloud data

Also Published As

Publication number Publication date
CN104680174B (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN111159638B (en) Distribution network load missing data recovery method based on approximate low-rank matrix completion
CN111428848B (en) Molecular intelligent design method based on self-encoder and 3-order graph convolution
CN109816714B (en) Point cloud object type identification method based on three-dimensional convolutional neural network
Wang et al. Robust structure identification and variable selection in partial linear varying coefficient models
CN109300128B (en) Transfer learning image processing method based on convolution neural network hidden structure
CN111625258A (en) Mercker tree updating method, device, equipment and readable storage medium
CN116844004A (en) Point cloud automatic semantic modeling method for digital twin scene
CN102637304B (en) Method for synthesizing isotropic/anisotropic texture on geometric surface based on GPU (Graphics Processing Unit)
CN104680174A (en) Mesh animation progressive transmission-orientated frame clustering method
CN117454495A (en) CAD vector model generation method and device based on building sketch outline sequence
Wang et al. CCAG: end-to-end point cloud registration
Zhang et al. Sonar image quality evaluation using deep neural network
Zhang et al. M3d: Dataset condensation by minimizing maximum mean discrepancy
CN109862510A (en) A kind of compressed sensing based convex domain localization method
CN113377656A (en) Crowd-sourcing recommendation method based on graph neural network
Choi et al. DICE: Diverse Diffusion Model with Scoring for Trajectory Prediction
CN116580172A (en) Diffusion model-based three-dimensional shape generation method applied to industrial vision requirements
CN110675352A (en) Mixed high-low order graph convolution propagation system
CN103198510B (en) The model gradual deformation method of data-driven
CN113377907B (en) End-to-end task type dialogue system based on memory mask self-attention network
CN104239686B (en) Method for realizing formula computation in comprehensive budget based on memory computation
CN110349228B (en) Triangular mesh compression method for data-driven least square prediction
Xin et al. Is really correlation information represented well in self-attention for skeleton-based action recognition?
CN113971686A (en) Target tracking method based on background restoration and capsule network
Ren et al. Bilateral transformer 3D planar recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant