임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–
초록
The main contribution of this paper is the definition of wavelets over non nested tetrahedral grids, allowing the representation of functions defined on an a irregular tetrahedralization. In this way, it is possible to represent different attributes of a 3D object such as its color, brightness, density, etc. This representation consists of a set of coefficients corresponding to a coarse resolution followed by a set of detail coefficients that measures the error between two successive approximations. In this work the analysis matrix that allows going from a fine to a coarser resolution and the synthesis matrix needed for going from a coarse resolution to a finer one, are presented. All this is within the framework of non nested tetrahedral grids.
본문 54,830자
본문 펼치기
The main contribution of this paper is the definition of wavelets over non nested tetrahedral grids, allowing the representation of functions defined on an a irregular tetrahedralization. In this way, it is possible to represent different attributes of a 3D object such as its color, brightness, density, etc. This representation consists of a set of coefficients corresponding to a coarse resolution followed by a set of detail coefficients that measures the error between two successive approximations. In this work the analysis matrix that allows going from a fine to a coarser resolution and the synthesis matrix needed for going from a coarse resolution to a finer one, are presented. All this is within the framework of non nested tetrahedral grids.
Introduction
Wavelets are basis functions which allow to decompose functions in different levels of detail. They enable any function to be described in terms of a coarse approximation plus detail coefficients. Wavelets were first used in processing or approximation of signals but afterwards they began to be used in other areas like cartography, computer vision, computer graphics, statistics, etc. The first wavelets to appear were defined in R or in R n and they were obtained as contractions or dilations of a fixed function called "mother wavelet" . Several different methods were used for constructing them until in 1989, Stéphan Mallat [1] introduced the idea of multiresolution analysis which gives a natural unified framework and a useful tool for their construction. Basically, a multiresolution analysis enables to treat a function in a hierarchical way. The traditional works on wavelets were mainly done by Daubechies [2], Mallat [1] and Chui [3]. Examples of first generation wavelets are Haar wavelets, Shannon wavelet, Daubechies wavelets and B-wavelets linked to B-splines. The essential characteristic of these wavelets called first generation wavelets is that they can only represent functions whose data are equally spaced. Although signals and statistic data are so distributed, several other data are irregularly distributed and this motivated a first extension of the wavelet theory. At the beginning of the nineties the second generation wavelets appeared. Their name is due to Wim Sweldens and their main feature is that they are not translations and dilations of a fixed function "mother wavelet" . Examples of this kind of wavelets are wavelets over an interval, wavelets over bounded domains in R n , wavelets over curves and surfaces and wavelets adapted to irregular sampling. The most general techniques for building second generation wavelets are the lifting scheme and the surfaces subdivision. The first of them was developed by Wim Sweldens [4] in 1996 but the results he obtained with this technique are similar to those obtained before by D. Donoho [5,6,7] and by M. Lounsbery, T. De Rose and Warren [8]. The surfaces subdivision is a technique developed by Lounsbery [8] who extended the wavelet theory to arbitrary topological surfaces. He also found out the relation between multiresolution analysis and subdivision schemes. Both techniques together, lifting scheme and surfaces subdivision, have been useful and versatile tools for building second generation wavelets. In this way, generalized orthogonal wavelets [9] and spherical wavelets [10] were built. Wavelet theory is based on the knowledge of a sequence of functional spaces where data are successively approximated. But this sequence has to be nested. In all the works aforementioned it was possible to establish such sequence and then the wavelet theory was successful applied. A really flexible construction of second generation wavelets was presented in [11] where using a non-nested framework [12], A. Gerussi presents a method for representing piecewise constant functions over a surface but relaxing the nesting property. The need to address problems in three dimensional spaces motivated researchers to study subdivision schemes in those spaces because a 3D object is in general represented by a tetrahedral mesh on which its attributes are defined. Several refinement methods in n dimensional spaces are discussed in [13]. The first approach for defining a multiresolution analysis for piecewise constant functions defined over a tetrahedral mesh is to define wavelets over a tetrahedron which is the basic building block of the mesh. We define these wavelets in [14,15] and we consider the data regularly distributed. In this work the volume's tetrahedralization consists of a regular tetrahedral mesh subdivided using the Bey's subdivision scheme [16]. This method allows to define a nested sequence of subspaces such as those required in a multiresolution analyisis. Afterwards, in [17] we extend this result to a semiregular tetrahedral mesh. However, data points are often irregularly distributed. In this case, irregular tetrahedral meshes are the right meshes to deal with them. But such meshes generally do not generate a sequence of nested spaces and in consequence the non nested framework should be applied. The main contribution of this paper is the multiresolution representation of piecewise constant functions defined over non nested tetrahedral meshes. For doing this, we first apply the half collapsed technique [18,19] to simplify tetrahedral irregular meshes and then we find the analysis matrix which is needed for going from a fine resolution to a coarser one and the synthesis matrix which makes possible to go from a fine to a coarser resolution. The paper is organized as follows. In Section 2 we describe the general framework for working with non nested spaces. In Section 3, full edge collapse and half edge collapse are briefly described and two operators, orthogonal and average operators are presented. In Section 4 we demonstrate two theorems which allow to find the analysis matrix in order to go from a fine to a coarse resolution and the synthesis matrix needed to go from a coarse resolution to a finer one. We cope with two cases: the operator P is surjective (subsection 4.1) and the operator P is not surjective (subsection 4.2). In Section 5 we give an example where the theoretical results developed in the previous sections are applied to a simple mesh. Next, in Section 6 the conclusions are detailed. Finally, in in Section 7 we present the matrices used in the example of Section 5.
Multiresolution analysis with non nested approximating spaces
In this section, we present the general framework for constructing multiresolution analysis schemes based on a non nested sequence of approximating spaces. This extension of the classic wavelet theory was presented in [12].
Multiresolution analysis with non nested approximating spaces
Let Ω be a measurable domain in R 3 and V i a sequence of finite dimension subespaces of L 2 (Ω). These spaces, called approximating spaces do not have to be nested but they have to fulfill the condi-
Multiresolution analysis with non nested approximating spaces
. These sets are the domain of the linear operators P k , called approximating operators. Now let f = f N be a function defined in the finest space V N . In the classic multiresolution analysis, the spaces are nested and the link between V N and V N−1 is made by taking a complementary space W N−1 of V N−1 in V N , that is:
Multiresolution analysis with non nested approximating spaces
This allows to write:
Multiresolution analysis with non nested approximating spaces
being f N−1 a coarse approximation of f N in V N−1 and g N−1 the detail needed to recover the original function from its approximation. By repeating this decomposition, one obtains:
Multiresolution analysis with non nested approximating spaces
which corresponds to the space decomposition:
Multiresolution analysis with non nested approximating spaces
Notice that in this case f i = P V i ( f i+1 ), where P V i is a projector on V i in the W i direction, and usually it is the orthogonal projector.
Multiresolution analysis with non nested approximating spaces
Returning to the general framework we describe, we also have linear approximating operators P i :V i+1 → V i . Nevertheless the approximating spaces are not nested so it is necessary to capture the details in a different way.
Multiresolution analysis with non nested approximating spaces
Let W i be the kernel of P i and V i a complementary space of W i in V i+1 , so that:
Multiresolution analysis with non nested approximating spaces
In [11], Chapter 2, Lemma II.1, it is proven that the restriction of P i to V i is a bijective operator having the same range as P i , so the operator P i restricted to V i has inverse which we note Inv P i | V i . In this way, if f i = P i ( f i+1 ) and g i = Q i ( f i+1 ), where Q i is the projector on W i parallel to V i , the reconstruction formula given by:
Multiresolution analysis with non nested approximating spaces
allows to reconstruct f i+1 using its approximation f i in V i and the detail coefficient g i in W i . To reconstruct the function it is necessary to repeat this decomposition on each level. Let us introduce the following notation.
Notation.
For each k ∈ N, it is defined:
Notation.
ii) the subespaces V k for which:
Notation.
iii) the operators Q k : V k+1 → W k which are the projectors on W k parallel to V k ; iv) the operators R k : V k+1 → V k , which are the projectors on V k parallel to W k . The items ii), iii) and iv) allow to write:
Notation.
Definition: A multiresolution analysis is said to be semiorthogonal if for each k, the spaces W k are orthogonal to the spaces V k , that is to say:
Bases, Analysis and Synthesis Matrices
We give now the bases and the notation for the different spaces we defined above.
Bases, Analysis and Synthesis Matrices
Notation. For all k ∈ N, it be noted:
Bases, Analysis and Synthesis Matrices
iii) r k the dimension of W k and ψ k = {ψ k i , i = 1, . . . , r k }, a basis for W k ; iv) (a k . ), ( a k . ) and (b k . ) the coefficients of the functions f k ∈ V k , f k ∈ V k and g k ∈ V k respectively in the bases indicated in the previous items. The coefficients (b k . ) are also called wavelet coefficients of the function f k .
Bases, Analysis and Synthesis Matrices
As in the classical wavelet theory, in order to describe a step in the analysis and a step in the synthesis it is necessary to obtain the analysis and synthesis matrices respectively.
Analysis or decomposition
In this case, the n k+1 coefficients (a k+1 .
Analysis or decomposition
) of a function f k+1 ∈ V k+1 relatives to the basis φ k+1
Analysis or decomposition
. are known and we look for the n k coefficients of P k ( f k+1 ) relative to the basis φ k . and the m k coefficients of Q k ( f k+1 ) relative to the basis ψ k . The matrix that allows to determine those coefficients is called anlysis matrix and we note it A k . Then we can write:
Analysis or decomposition
], (6) where:
Analysis or decomposition
is the Q k opertor's matrix in the bases φ k+1
Analysis or decomposition
. and φ k . .
Synthesis or reconstruction
The inverse operation ( f k , g k ) → S k ( f k ) + g k is made by means of the synthesis matrix B k given by the equation:
Synthesis or reconstruction
where Ψ k is the matrix whose columns are the coefficients of the functions of the basis ψ k written in the basis φ k+1
Synthesis or reconstruction
. and Φ k is the matrix that represents a surjective transformation from V k in V k . The link between the analysis and synthesis matrices is given by:
Synthesis or reconstruction
being Id n k+1 the identity matrix of dimension n k+1 . For calculating these matrices it is necessary to know if the operator P k is surjective or not. When the operator P k is surjective, dim(Im P k ) = dim(V k ) = n k ; on the other hand, dim(Ker P k ) + dim(Im P k ) = dim(V k+1 ) so that r k + n k = n k+1 , that is to say, the analysis and synthesis matrices are square and they are the inverse of each other.
Approximation operators and spaces
After giving the general framework for working with non nested spaces, we present two examples of approximation operators and their respective approximation spaces. This will be done in subsections 3.2 and 3.3. But in order to define these approximation spaces, we need to have techniques for simplifying irregular tetrahedral meshes [19,20]. In the subsection 3.1 we describe two of these techniques: full edge collapse and half edge collapse and present the approximation spaces we will work with. In subsection 3.2 and 3.3 we present the orthogonal operator and the average operator respectively. Both operators are used to simplify irregular meshes and constitute an essential stage to define wavelets over non nested tetrahedral grids.
Edge collapsing
A half edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e whose vertices are v and w into one of its extremes, for example w. The reverse modification of a half-edge collapse is a vertex split, which expands a vertex w into an edge e by inserting the other extreme vertex v of e, Figure 1. A full edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e, whose vertices are v and w into a new vertex, (often the midpoint of e), Figure 2. We choose the half-edge collapse technique because it produces fewer updates in comparison with those generated by a full-edge collapse. Now we will describe the approximation spaces we want to work with and afterwards the operators. Let τ N be an arbitrary tetrahedralization of a domain Ω ⊂ R 3 . Let τ i , i = 0, ..., N − 1 be the tetrahedralizations obtained by successively applying the half-edge collapse method to the tetrahedralization τ N . We will use the following notation.
Edge collapsing
iii) C i the approximation space of constant functions over each tetrahedron of the τ i tetrahedralization.
Edge collapsing
The functions χ T i j , j = 1, .., J constitute an orthogonal basis for C i .
Orthogonal Operator
In this subsection we present the orthogonal operator.
Orthogonal Operator
Definition: For all k = 0, ..., N − 1, we define the approximation operators:
Orthogonal Operator
where P k ⊥ C k is the orthogonal projector over C k . Observations.
Orthogonal Operator
1) the matrix of the orthogonal operator is given by:
Orthogonal Operator
where:
Orthogonal Operator
] is the matrix whose entries are the scalar products relatives to the bases
Orthogonal Operator
}; that is:
Orthogonal Operator
] is the matrix whose entries are the scalar products relative to the orthogonal basis {χ k . }; that is:
Orthogonal Operator
2) The above defined operator P k guarantees that f k is the best approximation of f k+1 in the mean squares sense.
Orthogonal Operator
Journal of Computer Science & Technology, Volume 19, Number 1, April 2019
Orthogonal Operator
3) The ( j i , j l ) entry of the matrix (8) is:
Orthogonal Operator
.
Orthogonal Operator
From now on and just to simplify the notation, we will write:
Orthogonal Operator
ii) Φ instead of Φ k and Ψ instead of Φ k , so that the analysis and synthesis matrices will be:
Orthogonal Operator
respectively.
Average Operator
In this section we present the average operator that we note P i r . In first place we detail how this linear operator is defined and then we obtain its associated matrix. Applying half edge collapse to a set of n tetrahedra covering a domain, another set of m tetrahedra, m < n, covering the same domain is obtained. If there exist data defined on the finest mesh, we describe next how to compute the data on the new simplified mesh. For each tetrahedron T i k , k = 1, .., K belonging to the τ i tetrahedralization, we look for all the tetrahedra T i+1 j , j = 1, .., J belonging to the τ i+1 tetrahedralization such that T i k ∩ T i+1 j = / 0. The value we assign to the function on the T i k tetrahedron is an average of the functions' values over all the tetrahedra T i+1 j which intersect T i k . Now let's see which is the matrix associated to the average operator. Let u j (k) be:
Average Operator
that is to say u j (k) is zero if and only if the tetrahedron T i+1 j belonging to the (i+1)-tetrahedralization and the tetrahedron T i k belonging to the itetrahedralization, have no intersection. Besides, for each k = 1, ..., K we will note l k :
Average Operator
Taking into account the above definitions , the average operator P i r :
Average Operator
, has the following matricial representation:
Analysis and synthesis matrices for arbitrary frames and operators P
Depending on the tetrahedralizations, the orthogonal operator and the average operator may be surjective or not. In the this section we present two theorems. Both of them allow to obtain the analysis matrix when the synthesis matrix is known and viceversa. The first one, in subsection 4.1, is for surjectives operators P and arbitrary multiresolution analysis and it generalizes the result obtained by Gerussi in [11], chapter V, Lemma VI, for semi-orthogonal multiresolution analyisis. The second one, in subsection 4.2, is for non surjective operators and arbitrary multiresolution analysis.
Surjective operator P
Let us suppose the operator P is surjective and the multiresolution analysis in not necessarily semiorthogonal. The following theorem provides a method for calculating the matrices P and Q when Φ and Ψ are known and viceversa. The matrix
Surjective operator P
] , already defined in (9), will be note by H. In what follows, we will note P the approximation operator as well as the matrix which represents that operator. Theorem: Let P : V k+1 → V k be a surjective operator and let P * be the transpose matrix of P. Then:
Surjective operator P
Moreover:
Surjective operator P
being:
Surjective operator P
Furthermore:
Surjective operator P
Proof. By hypothesis,
Surjective operator P
Journal of Computer Science & Technology, Volume 19, Number 1, April 2019 then:
Surjective operator P
that is to say:
Surjective operator P
Let:
Surjective operator P
be the matrix that:
Surjective operator P
Besides, from equation (12) results:
Surjective operator P
and, as a consequence of equation (9):
Surjective operator P
Replacing A, B, C, D the lemma's items 4) and 5) are proved. Also from equations (9) and (12) results:
Surjective operator P
This last identity proves items 1), 2) and 3) of the theorem. In order to prove items 6) and 7) we have to notice that from equation (10), we can write:
Surjective operator P
be the matrix such:
Surjective operator P
(17) Then the following equations have to verify:
Surjective operator P
from which it can be deduced:
Surjective operator P
Besides, from equation (17) it results:
Surjective operator P
and as a consequence of equation (9):
Surjective operator P
Replacing R, S, U, V it can be deduced theorem's items 6) and 7). Also from equations (15) and (17) it results:
Surjective operator P
This last equality proves 8).
Surjective operator P
Corollary. If the multiresolution analysis is semiorthogonal, then P, Q, Φ y Ψ are given by:
Proof.
If the multiresolution analysis is semiorthogonal, then Then replacing these conditions in 6) and 7) of Theorem 4.1, result:
Proof.
which are items iii) and iv) of corollary. In what follows we propose two different methods for determining the Q-operator's matrix when the surjective operator P is known and the multiresolution analysis is non semi-orthogonal. The first one is a constructive method and the second one is a matrix method.
Constructive method
This method describes how to obtain the Qoperator's matrix when the surjective operator P is known. It consists of building a space V k with the same dimension of V k , not orthogonal to W k and such that V k+1 = V k ⊕ W k . This construction is made as follows. Let T i+1 j , j = 1, .., J, be the tetrahedra of the tetrahedralization τ i+1 y T i k , k = 1, .., K, the tetrahedra of the tetrahedralization τ i . For each one of these tetrahedralization, we define the following spaces:
Constructive method
From these definitions it follows that:
Constructive method
where span{h i , i = 1, ..., R} means subspace spanned by the h i functions.
Constructive method
For a surjective approximation operator P i : V i+1 → V i , let W i be its kernel and {ψ i l }, l = 1, ..., L a basis for W i written in the basis of V i+1 . It's clear that L + K = J. We now choose a subspace V i ⊂ V i+1 such that:
Constructive method
For constructing this space V i it suffices to look for a basis φ i k for V i , k = 1, .., K not orthogonal to the W i 's basis. Let M be the matrix whose L first rows are the vectors corresponding to the basis {ψ i l }, l = 1, .., L of W i and the K following rows are the vectors of the basis φ i k , k = 1, .., K of V i , all of them written in the basis of V i+1 . It's clear that L + K = J. Then, M is the square matrix:
Constructive method
As Q i : V i+1 → W i is the projector on W i along a V i , the entries of the Q i -operator's matrix are the first L rows of (M * ) −1 .
Matrix method
This is an alternative method to obtain the Qoperator's matrix when the surjective operator P is known. From Theorem 4.1,
Matrix method
Supposing that ψ * Hψ = Id, that is, choosing an orthonormal basis for W k , from item 7) of the Theorem 4.1 results:
Matrix method
This is a linear system whose unknowns are the entries of Q. If the determinant of this system is zero, we need another condition for determining Q. Let Q be the matrix of the operator Q in the basis of V k+1 , i.e
Matrix method
; Q is square and it must verify Q Q = Q in order to be a matrix corresponding to a projector. If some degrees of freedom are still left, Q can be chosen so that it has minimum norm.
Analysis and synthesis matrices for an arbitrary frame
In this section, we state a theorem that allows to find P y Q when Φ and Ψ are known and viceversa for non surjective operators and non semiorthogonal multiresolution analysis. We previously introduce the following notation. 3) Φ = (P * P + Q * Q) −1 P * , 4) Ψ = (P * P + Q * Q) −1 Q * .
Proof
Given the synthesis matrix B we want to solve the system : = B −1 R a k+1 of the system (21). Really, BB −1 R a k+1 = a k+1 , ∀a k+1 . For the implementation, we can choose A as the following B' s right inverse:
Proof
From the last equation, results:
Proof
Reciprocally, given the analysis matrix we want to solve the system:
Proof
where a k+1 is the unknown and
Proof
are the data.
Proof
We notice that the matrix A is (n k + r k ) × n k+1 and its rank is n k+1 then it has left inverse; in fact it has infinite left inverses. All of them are given by (A * KA) −1 A * K, where K is an arbitrary matrix such that r(A * KA) = r(A). In this case, all the left inverses of A give the same solution because:
Proof
.
Proof
(23) This a k+1 is a solution of the system (22) because: As all the left inverses give the same solution, we choose the following left inverse:
Proof
that is to say:
Example
In this section we present an example where the theoretical results above described are used. We consider a tetrahedral initial grid consisting of sixteen tetrahedra (fine resolution). We applied twice the colapsed half edge and we obtain two meshes at two different resolutions, that is, the first one consisting of fourteen tetrahedra (intermediate resolution) and the second one consisting of ten tetrahedra (coarse resolution).
Example
In order to have a good visualization of the three grids, in Figure3 it can be seen in different colours and from top to bottom, a grid with fewer tetrahedra and its three resolutions, fine, intermediate and coarse. For these tetrahedralizations we followed the following steps . All matrices and operators mentioned below are detailed in the Appendix.
Example
1) We determined the following matrices:
Example
i) H 16 : matrix whose entries are the volumes of the tetrahedra belonging to the initial tetrahedralization,
Example
ii) H 14 : matrix whose entries are the volumes of the tetrahedra of the intermediate tetrahedralization,
Example
iii) H 1416 : matrix whose entries are the volumes of the intersections between the tetrahedra of the initial tetrahedralization and the tetrahedra of the intermediate tetrahedralization,
Conclusions
Hierarchical decomposition of datasets based on wavelet theory has been growing up in several disciplines (Cartography, Computer Graphics, Finite Elements, Approximation Theory and Computational Geometry). When the data points are regularly distributed over a surface, regular triangular mesh subdivision schemes and classic wavelet theory together have been proved to be powerful tools for giving a hierarchical decomposition of those data points. In this way, spherical wavelets were constructed in [10] and wavelets for surfaces of arbitrary topological type were presented in [8]. When the data points are irregularly distributed over a surface, irregular triangular mesh subdivision schemes and the framework for non nested wavelets were the key for giving a multiresolution decomposition of functions defined over the surface, [11]. Once the problem for data on a surface was solved, the new challenge for researchers was how to define wavelets over a volume (surface and interior). Typically, this volume is modeled by a 3D grid of tetrahedra and the issue is to represent, at different level of details, a function (color, density, brightness) defined over it. In [14] we have constructed a wavelet basis over a tetrahedron which enables the multiresolution representation of functions defined over a tetrahedron and, consequently, the multiresolution representation of functions defined over a tetrahedralized volume. Afterwards, in [15] we give a simpler expression for our wavelets that allows an easier numerical implementation of our methodology. In those cases we suppose that data are regularly distributed on the grid and therefore we have used nested tetrahedral grids generated by a recursive method (Bey's method) that are suitable to deal with that kind of data. In [17] we extend that result to semi-regular tetrahedral meshes. In this work we present an innovative solution to the problem of the multiresolution analysis for functions defined over a tetrahedralized volume (surface and interior) considering that data are irregularly distributed on the grid. For giving a multiresolution analysis of those data, we select the half edge collapsed for refining the mesh and we work in the non nested framework for wavelets. In this context we find the analysis matrix that allows to go from a fine resolution to a coarser one and the synthesis matrix which allows to go from a coarser resolution to a finer one. Moreover, in each stage of the multiresolution analysis the approximation operator may result surjective or non surjective, that is why we give a method for calculating the analysis and synthesis matrices for each one of these cases.
Conclusions
Matrix whose entries are the tetrahedra's volumes of the initial tetrahedralization. a = 166.667, b = 83.3333.
Conclusions
Matrix whose entries are the tetrahedra's volumes of the coarsest tetrahedralization. a = 166.667, b = 83.3333, c = 333.3333.
Conclusions
Matrix whose entries are the volumes of the intersections among the tetrahedra of the finest and intermediate tetrahedralization. a = 166.667, b = 83.3333. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Introduction
Wavelets are basis functions which allow to decompose functions in different levels of detail. They enable any function to be described in terms of a coarse approximation plus detail coefficients. Wavelets were first used in processing or approximation of signals but afterwards they began to be used in other areas like cartography, computer vision, computer graphics, statistics, etc. The first wavelets to appear were defined in R or in R n and they were obtained as contractions or dilations of a fixed function called "mother wavelet" . Several different methods were used for constructing them until in 1989, Stéphan Mallat [1] introduced the idea of multiresolution analysis which gives a natural unified framework and a useful tool for their construction. Basically, a multiresolution analysis enables to treat a function in a hierarchical way. The traditional works on wavelets were mainly done by Daubechies [2], Mallat [1] and Chui [3]. Examples of first generation wavelets are Haar wavelets, Shannon wavelet, Daubechies wavelets and B-wavelets linked to B-splines. The essential characteristic of these wavelets called first generation wavelets is that they can only represent functions whose data are equally spaced. Although signals and statistic data are so distributed, several other data are irregularly distributed and this motivated a first extension of the wavelet theory. At the beginning of the nineties the second generation wavelets appeared. Their name is due to Wim Sweldens and their main feature is that they are not translations and dilations of a fixed function "mother wavelet" . Examples of this kind of wavelets are wavelets over an interval, wavelets over bounded domains in R n , wavelets over curves and surfaces and wavelets adapted to irregular sampling. The most general techniques for building second generation wavelets are the lifting scheme and the surfaces subdivision. The first of them was developed by Wim Sweldens [4] in 1996 but the results he obtained with this technique are similar to those obtained before by D. Donoho [5,6,7] and by M. Lounsbery, T. De Rose and Warren [8]. The surfaces subdivision is a technique developed by Lounsbery [8] who extended the wavelet theory to arbitrary topological surfaces. He also found out the relation between multiresolution analysis and subdivision schemes. Both techniques together, lifting scheme and surfaces subdivision, have been useful and versatile tools for building second generation wavelets. In this way, generalized orthogonal wavelets [9] and spherical wavelets [10] were built. Wavelet theory is based on the knowledge of a sequence of functional spaces where data are successively approximated. But this sequence has to be nested. In all the works aforementioned it was possible to establish such sequence and then the wavelet theory was successful applied. A really flexible construction of second generation wavelets was presented in [11] where using a non-nested framework [12], A. Gerussi presents a method for representing piecewise constant functions over a surface but relaxing the nesting property. The need to address problems in three dimensional spaces motivated researchers to study subdivision schemes in those spaces because a 3D object is in general represented by a tetrahedral mesh on which its attributes are defined. Several refinement methods in n dimensional spaces are discussed in [13]. The first approach for defining a multiresolution analysis for piecewise constant functions defined over a tetrahedral mesh is to define wavelets over a tetrahedron which is the basic building block of the mesh. We define these wavelets in [14,15] and we consider the data regularly distributed. In this work the volume's tetrahedralization consists of a regular tetrahedral mesh subdivided using the Bey's subdivision scheme [16]. This method allows to define a nested sequence of subspaces such as those required in a multiresolution analyisis. Afterwards, in [17] we extend this result to a semiregular tetrahedral mesh. However, data points are often irregularly distributed. In this case, irregular tetrahedral meshes are the right meshes to deal with them. But such meshes generally do not generate a sequence of nested spaces and in consequence the non nested framework should be applied. The main contribution of this paper is the multiresolution representation of piecewise constant functions defined over non nested tetrahedral meshes. For doing this, we first apply the half collapsed technique [18,19] to simplify tetrahedral irregular meshes and then we find the analysis matrix which is needed for going from a fine resolution to a coarser one and the synthesis matrix which makes possible to go from a fine to a coarser resolution. The paper is organized as follows. In Section 2 we describe the general framework for working with non nested spaces. In Section 3, full edge collapse and half edge collapse are briefly described and two operators, orthogonal and average operators are presented. In Section 4 we demonstrate two theorems which allow to find the analysis matrix in order to go from a fine to a coarse resolution and the synthesis matrix needed to go from a coarse resolution to a finer one. We cope with two cases: the operator P is surjective (subsection 4.1) and the operator P is not surjective (subsection 4.2). In Section 5 we give an example where the theoretical results developed in the previous sections are applied to a simple mesh. Next, in Section 6 the conclusions are detailed. Finally, in in Section 7 we present the matrices used in the example of Section 5.
Multiresolution analysis with non nested approximating spaces
In this section, we present the general framework for constructing multiresolution analysis schemes based on a non nested sequence of approximating spaces. This extension of the classic wavelet theory was presented in [12].
Multiresolution analysis with non nested approximating spaces
Let Ω be a measurable domain in R 3 and V i a sequence of finite dimension subespaces of L 2 (Ω). These spaces, called approximating spaces do not have to be nested but they have to fulfill the condi-
Multiresolution analysis with non nested approximating spaces
. These sets are the domain of the linear operators P k , called approximating operators. Now let f = f N be a function defined in the finest space V N . In the classic multiresolution analysis, the spaces are nested and the link between V N and V N−1 is made by taking a complementary space W N−1 of V N−1 in V N , that is:
Multiresolution analysis with non nested approximating spaces
This allows to write:
Multiresolution analysis with non nested approximating spaces
being f N−1 a coarse approximation of f N in V N−1 and g N−1 the detail needed to recover the original function from its approximation. By repeating this decomposition, one obtains:
Multiresolution analysis with non nested approximating spaces
which corresponds to the space decomposition:
Multiresolution analysis with non nested approximating spaces
Notice that in this case f i = P V i ( f i+1 ), where P V i is a projector on V i in the W i direction, and usually it is the orthogonal projector.
Multiresolution analysis with non nested approximating spaces
Returning to the general framework we describe, we also have linear approximating operators P i :V i+1 → V i . Nevertheless the approximating spaces are not nested so it is necessary to capture the details in a different way.
Multiresolution analysis with non nested approximating spaces
Let W i be the kernel of P i and V i a complementary space of W i in V i+1 , so that:
Multiresolution analysis with non nested approximating spaces
In [11], Chapter 2, Lemma II.1, it is proven that the restriction of P i to V i is a bijective operator having the same range as P i , so the operator P i restricted to V i has inverse which we note Inv P i | V i . In this way, if f i = P i ( f i+1 ) and g i = Q i ( f i+1 ), where Q i is the projector on W i parallel to V i , the reconstruction formula given by:
Multiresolution analysis with non nested approximating spaces
allows to reconstruct f i+1 using its approximation f i in V i and the detail coefficient g i in W i . To reconstruct the function it is necessary to repeat this decomposition on each level. Let us introduce the following notation.
Notation.
For each k ∈ N, it is defined:
Notation.
ii) the subespaces V k for which:
Notation.
iii) the operators Q k : V k+1 → W k which are the projectors on W k parallel to V k ; iv) the operators R k : V k+1 → V k , which are the projectors on V k parallel to W k . The items ii), iii) and iv) allow to write:
Notation.
Definition: A multiresolution analysis is said to be semiorthogonal if for each k, the spaces W k are orthogonal to the spaces V k , that is to say:
Bases, Analysis and Synthesis Matrices
We give now the bases and the notation for the different spaces we defined above.
Bases, Analysis and Synthesis Matrices
Notation. For all k ∈ N, it be noted:
Bases, Analysis and Synthesis Matrices
iii) r k the dimension of W k and ψ k = {ψ k i , i = 1, . . . , r k }, a basis for W k ; iv) (a k . ), ( a k . ) and (b k . ) the coefficients of the functions f k ∈ V k , f k ∈ V k and g k ∈ V k respectively in the bases indicated in the previous items. The coefficients (b k . ) are also called wavelet coefficients of the function f k .
Bases, Analysis and Synthesis Matrices
As in the classical wavelet theory, in order to describe a step in the analysis and a step in the synthesis it is necessary to obtain the analysis and synthesis matrices respectively.
Analysis or decomposition
In this case, the n k+1 coefficients (a k+1 .
Analysis or decomposition
) of a function f k+1 ∈ V k+1 relatives to the basis φ k+1
Analysis or decomposition
. are known and we look for the n k coefficients of P k ( f k+1 ) relative to the basis φ k . and the m k coefficients of Q k ( f k+1 ) relative to the basis ψ k . The matrix that allows to determine those coefficients is called anlysis matrix and we note it A k . Then we can write:
Analysis or decomposition
], (6) where:
Analysis or decomposition
is the Q k opertor's matrix in the bases φ k+1
Analysis or decomposition
. and φ k . .
Synthesis or reconstruction
The inverse operation ( f k , g k ) → S k ( f k ) + g k is made by means of the synthesis matrix B k given by the equation:
Synthesis or reconstruction
where Ψ k is the matrix whose columns are the coefficients of the functions of the basis ψ k written in the basis φ k+1
Synthesis or reconstruction
. and Φ k is the matrix that represents a surjective transformation from V k in V k . The link between the analysis and synthesis matrices is given by:
Synthesis or reconstruction
being Id n k+1 the identity matrix of dimension n k+1 . For calculating these matrices it is necessary to know if the operator P k is surjective or not. When the operator P k is surjective, dim(Im P k ) = dim(V k ) = n k ; on the other hand, dim(Ker P k ) + dim(Im P k ) = dim(V k+1 ) so that r k + n k = n k+1 , that is to say, the analysis and synthesis matrices are square and they are the inverse of each other.
Approximation operators and spaces
After giving the general framework for working with non nested spaces, we present two examples of approximation operators and their respective approximation spaces. This will be done in subsections 3.2 and 3.3. But in order to define these approximation spaces, we need to have techniques for simplifying irregular tetrahedral meshes [19,20]. In the subsection 3.1 we describe two of these techniques: full edge collapse and half edge collapse and present the approximation spaces we will work with. In subsection 3.2 and 3.3 we present the orthogonal operator and the average operator respectively. Both operators are used to simplify irregular meshes and constitute an essential stage to define wavelets over non nested tetrahedral grids.
Edge collapsing
A half edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e whose vertices are v and w into one of its extremes, for example w. The reverse modification of a half-edge collapse is a vertex split, which expands a vertex w into an edge e by inserting the other extreme vertex v of e, Figure 1. A full edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e, whose vertices are v and w into a new vertex, (often the midpoint of e), Figure 2. We choose the half-edge collapse technique because it produces fewer updates in comparison with those generated by a full-edge collapse. Now we will describe the approximation spaces we want to work with and afterwards the operators. Let τ N be an arbitrary tetrahedralization of a domain Ω ⊂ R 3 . Let τ i , i = 0, ..., N − 1 be the tetrahedralizations obtained by successively applying the half-edge collapse method to the tetrahedralization τ N . We will use the following notation.
Edge collapsing
iii) C i the approximation space of constant functions over each tetrahedron of the τ i tetrahedralization.
Edge collapsing
The functions χ T i j , j = 1, .., J constitute an orthogonal basis for C i .
Orthogonal Operator
In this subsection we present the orthogonal operator.
Orthogonal Operator
Definition: For all k = 0, ..., N − 1, we define the approximation operators:
Orthogonal Operator
where P k ⊥ C k is the orthogonal projector over C k . Observations.
Orthogonal Operator
1) the matrix of the orthogonal operator is given by:
Orthogonal Operator
where:
Orthogonal Operator
] is the matrix whose entries are the scalar products relatives to the bases
Orthogonal Operator
}; that is:
Orthogonal Operator
] is the matrix whose entries are the scalar products relative to the orthogonal basis {χ k . }; that is:
Orthogonal Operator
2) The above defined operator P k guarantees that f k is the best approximation of f k+1 in the mean squares sense.
Orthogonal Operator
Journal of Computer Science & Technology, Volume 19, Number 1, April 2019
Orthogonal Operator
3) The ( j i , j l ) entry of the matrix (8) is:
Orthogonal Operator
.
Orthogonal Operator
From now on and just to simplify the notation, we will write:
Orthogonal Operator
ii) Φ instead of Φ k and Ψ instead of Φ k , so that the analysis and synthesis matrices will be:
Orthogonal Operator
respectively.
Average Operator
In this section we present the average operator that we note P i r . In first place we detail how this linear operator is defined and then we obtain its associated matrix. Applying half edge collapse to a set of n tetrahedra covering a domain, another set of m tetrahedra, m < n, covering the same domain is obtained. If there exist data defined on the finest mesh, we describe next how to compute the data on the new simplified mesh. For each tetrahedron T i k , k = 1, .., K belonging to the τ i tetrahedralization, we look for all the tetrahedra T i+1 j , j = 1, .., J belonging to the τ i+1 tetrahedralization such that T i k ∩ T i+1 j = / 0. The value we assign to the function on the T i k tetrahedron is an average of the functions' values over all the tetrahedra T i+1 j which intersect T i k . Now let's see which is the matrix associated to the average operator. Let u j (k) be:
Average Operator
that is to say u j (k) is zero if and only if the tetrahedron T i+1 j belonging to the (i+1)-tetrahedralization and the tetrahedron T i k belonging to the itetrahedralization, have no intersection. Besides, for each k = 1, ..., K we will note l k :
Average Operator
Taking into account the above definitions , the average operator P i r :
Average Operator
, has the following matricial representation:
Analysis and synthesis matrices for arbitrary frames and operators P
Depending on the tetrahedralizations, the orthogonal operator and the average operator may be surjective or not. In the this section we present two theorems. Both of them allow to obtain the analysis matrix when the synthesis matrix is known and viceversa. The first one, in subsection 4.1, is for surjectives operators P and arbitrary multiresolution analysis and it generalizes the result obtained by Gerussi in [11], chapter V, Lemma VI, for semi-orthogonal multiresolution analyisis. The second one, in subsection 4.2, is for non surjective operators and arbitrary multiresolution analysis.
Surjective operator P
Let us suppose the operator P is surjective and the multiresolution analysis in not necessarily semiorthogonal. The following theorem provides a method for calculating the matrices P and Q when Φ and Ψ are known and viceversa. The matrix
Surjective operator P
] , already defined in (9), will be note by H. In what follows, we will note P the approximation operator as well as the matrix which represents that operator. Theorem: Let P : V k+1 → V k be a surjective operator and let P * be the transpose matrix of P. Then:
Surjective operator P
Moreover:
Surjective operator P
being:
Surjective operator P
Furthermore:
Surjective operator P
Proof. By hypothesis,
Surjective operator P
Journal of Computer Science & Technology, Volume 19, Number 1, April 2019 then:
Surjective operator P
that is to say:
Surjective operator P
Let:
Surjective operator P
be the matrix that:
Surjective operator P
Besides, from equation (12) results:
Surjective operator P
and, as a consequence of equation (9):
Surjective operator P
Replacing A, B, C, D the lemma's items 4) and 5) are proved. Also from equations (9) and (12) results:
Surjective operator P
This last identity proves items 1), 2) and 3) of the theorem. In order to prove items 6) and 7) we have to notice that from equation (10), we can write:
Surjective operator P
be the matrix such:
Surjective operator P
(17) Then the following equations have to verify:
Surjective operator P
from which it can be deduced:
Surjective operator P
Besides, from equation (17) it results:
Surjective operator P
and as a consequence of equation (9):
Surjective operator P
Replacing R, S, U, V it can be deduced theorem's items 6) and 7). Also from equations (15) and (17) it results:
Surjective operator P
This last equality proves 8).
Surjective operator P
Corollary. If the multiresolution analysis is semiorthogonal, then P, Q, Φ y Ψ are given by:
Proof.
If the multiresolution analysis is semiorthogonal, then Then replacing these conditions in 6) and 7) of Theorem 4.1, result:
Proof.
which are items iii) and iv) of corollary. In what follows we propose two different methods for determining the Q-operator's matrix when the surjective operator P is known and the multiresolution analysis is non semi-orthogonal. The first one is a constructive method and the second one is a matrix method.
Constructive method
This method describes how to obtain the Qoperator's matrix when the surjective operator P is known. It consists of building a space V k with the same dimension of V k , not orthogonal to W k and such that V k+1 = V k ⊕ W k . This construction is made as follows. Let T i+1 j , j = 1, .., J, be the tetrahedra of the tetrahedralization τ i+1 y T i k , k = 1, .., K, the tetrahedra of the tetrahedralization τ i . For each one of these tetrahedralization, we define the following spaces:
Constructive method
From these definitions it follows that:
Constructive method
where span{h i , i = 1, ..., R} means subspace spanned by the h i functions.
Constructive method
For a surjective approximation operator P i : V i+1 → V i , let W i be its kernel and {ψ i l }, l = 1, ..., L a basis for W i written in the basis of V i+1 . It's clear that L + K = J. We now choose a subspace V i ⊂ V i+1 such that:
Constructive method
For constructing this space V i it suffices to look for a basis φ i k for V i , k = 1, .., K not orthogonal to the W i 's basis. Let M be the matrix whose L first rows are the vectors corresponding to the basis {ψ i l }, l = 1, .., L of W i and the K following rows are the vectors of the basis φ i k , k = 1, .., K of V i , all of them written in the basis of V i+1 . It's clear that L + K = J. Then, M is the square matrix:
Constructive method
As Q i : V i+1 → W i is the projector on W i along a V i , the entries of the Q i -operator's matrix are the first L rows of (M * ) −1 .
Matrix method
This is an alternative method to obtain the Qoperator's matrix when the surjective operator P is known. From Theorem 4.1,
Matrix method
Supposing that ψ * Hψ = Id, that is, choosing an orthonormal basis for W k , from item 7) of the Theorem 4.1 results:
Matrix method
This is a linear system whose unknowns are the entries of Q. If the determinant of this system is zero, we need another condition for determining Q. Let Q be the matrix of the operator Q in the basis of V k+1 , i.e
Matrix method
; Q is square and it must verify Q Q = Q in order to be a matrix corresponding to a projector. If some degrees of freedom are still left, Q can be chosen so that it has minimum norm.
Analysis and synthesis matrices for an arbitrary frame
In this section, we state a theorem that allows to find P y Q when Φ and Ψ are known and viceversa for non surjective operators and non semiorthogonal multiresolution analysis. We previously introduce the following notation. 3) Φ = (P * P + Q * Q) −1 P * , 4) Ψ = (P * P + Q * Q) −1 Q * .
Proof
Given the synthesis matrix B we want to solve the system : = B −1 R a k+1 of the system (21). Really, BB −1 R a k+1 = a k+1 , ∀a k+1 . For the implementation, we can choose A as the following B' s right inverse:
Proof
From the last equation, results:
Proof
Reciprocally, given the analysis matrix we want to solve the system:
Proof
where a k+1 is the unknown and
Proof
are the data.
Proof
We notice that the matrix A is (n k + r k ) × n k+1 and its rank is n k+1 then it has left inverse; in fact it has infinite left inverses. All of them are given by (A * KA) −1 A * K, where K is an arbitrary matrix such that r(A * KA) = r(A). In this case, all the left inverses of A give the same solution because:
Proof
.
Proof
(23) This a k+1 is a solution of the system (22) because: As all the left inverses give the same solution, we choose the following left inverse:
Proof
that is to say:
Example
In this section we present an example where the theoretical results above described are used. We consider a tetrahedral initial grid consisting of sixteen tetrahedra (fine resolution). We applied twice the colapsed half edge and we obtain two meshes at two different resolutions, that is, the first one consisting of fourteen tetrahedra (intermediate resolution) and the second one consisting of ten tetrahedra (coarse resolution).
Example
In order to have a good visualization of the three grids, in Figure3 it can be seen in different colours and from top to bottom, a grid with fewer tetrahedra and its three resolutions, fine, intermediate and coarse. For these tetrahedralizations we followed the following steps . All matrices and operators mentioned below are detailed in the Appendix.
Example
1) We determined the following matrices:
Example
i) H 16 : matrix whose entries are the volumes of the tetrahedra belonging to the initial tetrahedralization,
Example
ii) H 14 : matrix whose entries are the volumes of the tetrahedra of the intermediate tetrahedralization,
Example
iii) H 1416 : matrix whose entries are the volumes of the intersections between the tetrahedra of the initial tetrahedralization and the tetrahedra of the intermediate tetrahedralization,
Conclusions
Hierarchical decomposition of datasets based on wavelet theory has been growing up in several disciplines (Cartography, Computer Graphics, Finite Elements, Approximation Theory and Computational Geometry). When the data points are regularly distributed over a surface, regular triangular mesh subdivision schemes and classic wavelet theory together have been proved to be powerful tools for giving a hierarchical decomposition of those data points. In this way, spherical wavelets were constructed in [10] and wavelets for surfaces of arbitrary topological type were presented in [8]. When the data points are irregularly distributed over a surface, irregular triangular mesh subdivision schemes and the framework for non nested wavelets were the key for giving a multiresolution decomposition of functions defined over the surface, [11]. Once the problem for data on a surface was solved, the new challenge for researchers was how to define wavelets over a volume (surface and interior). Typically, this volume is modeled by a 3D grid of tetrahedra and the issue is to represent, at different level of details, a function (color, density, brightness) defined over it. In [14] we have constructed a wavelet basis over a tetrahedron which enables the multiresolution representation of functions defined over a tetrahedron and, consequently, the multiresolution representation of functions defined over a tetrahedralized volume. Afterwards, in [15] we give a simpler expression for our wavelets that allows an easier numerical implementation of our methodology. In those cases we suppose that data are regularly distributed on the grid and therefore we have used nested tetrahedral grids generated by a recursive method (Bey's method) that are suitable to deal with that kind of data. In [17] we extend that result to semi-regular tetrahedral meshes. In this work we present an innovative solution to the problem of the multiresolution analysis for functions defined over a tetrahedralized volume (surface and interior) considering that data are irregularly distributed on the grid. For giving a multiresolution analysis of those data, we select the half edge collapsed for refining the mesh and we work in the non nested framework for wavelets. In this context we find the analysis matrix that allows to go from a fine resolution to a coarser one and the synthesis matrix which allows to go from a coarser resolution to a finer one. Moreover, in each stage of the multiresolution analysis the approximation operator may result surjective or non surjective, that is why we give a method for calculating the analysis and synthesis matrices for each one of these cases.
Conclusions
Matrix whose entries are the tetrahedra's volumes of the initial tetrahedralization. a = 166.667, b = 83.3333.
Conclusions
Matrix whose entries are the tetrahedra's volumes of the coarsest tetrahedralization. a = 166.667, b = 83.3333, c = 333.3333.
Conclusions
Matrix whose entries are the volumes of the intersections among the tetrahedra of the finest and intermediate tetrahedralization. a = 166.667, b = 83.3333. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
섹션 본문 217문단 · 49,497자
(제목 없음)
1The main contribution of this paper is the definition of wavelets over non nested tetrahedral grids, allowing the representation of functions defined on an a irregular tetrahedralization. In this way, it is possible to represent different attributes of a 3D object such as its color, brightness, density, etc. This representation consists of a set of coefficients corresponding to a coarse resolution followed by a set of detail coefficients that measures the error between two successive approximations. In this work the analysis matrix that allows going from a fine to a coarser resolution and the synthesis matrix needed for going from a coarse resolution to a finer one, are presented. All this is within the framework of non nested tetrahedral grids.
Introduction
2Wavelets are basis functions which allow to decompose functions in different levels of detail. They enable any function to be described in terms of a coarse approximation plus detail coefficients. Wavelets were first used in processing or approximation of signals but afterwards they began to be used in other areas like cartography, computer vision, computer graphics, statistics, etc. The first wavelets to appear were defined in R or in R n and they were obtained as contractions or dilations of a fixed function called "mother wavelet" . Several different methods were used for constructing them until in 1989, Stéphan Mallat [1] introduced the idea of multiresolution analysis which gives a natural unified framework and a useful tool for their construction. Basically, a multiresolution analysis enables to treat a function in a hierarchical way. The traditional works on wavelets were mainly done by Daubechies [2], Mallat [1] and Chui [3]. Examples of first generation wavelets are Haar wavelets, Shannon wavelet, Daubechies wavelets and B-wavelets linked to B-splines. The essential characteristic of these wavelets called first generation wavelets is that they can only represent functions whose data are equally spaced. Although signals and statistic data are so distributed, several other data are irregularly distributed and this motivated a first extension of the wavelet theory. At the beginning of the nineties the second generation wavelets appeared. Their name is due to Wim Sweldens and their main feature is that they are not translations and dilations of a fixed function "mother wavelet" . Examples of this kind of wavelets are wavelets over an interval, wavelets over bounded domains in R n , wavelets over curves and surfaces and wavelets adapted to irregular sampling. The most general techniques for building second generation wavelets are the lifting scheme and the surfaces subdivision. The first of them was developed by Wim Sweldens [4] in 1996 but the results he obtained with this technique are similar to those obtained before by D. Donoho [5,6,7] and by M. Lounsbery, T. De Rose and Warren [8]. The surfaces subdivision is a technique developed by Lounsbery [8] who extended the wavelet theory to arbitrary topological surfaces. He also found out the relation between multiresolution analysis and subdivision schemes. Both techniques together, lifting scheme and surfaces subdivision, have been useful and versatile tools for building second generation wavelets. In this way, generalized orthogonal wavelets [9] and spherical wavelets [10] were built. Wavelet theory is based on the knowledge of a sequence of functional spaces where data are successively approximated. But this sequence has to be nested. In all the works aforementioned it was possible to establish such sequence and then the wavelet theory was successful applied. A really flexible construction of second generation wavelets was presented in [11] where using a non-nested framework [12], A. Gerussi presents a method for representing piecewise constant functions over a surface but relaxing the nesting property. The need to address problems in three dimensional spaces motivated researchers to study subdivision schemes in those spaces because a 3D object is in general represented by a tetrahedral mesh on which its attributes are defined. Several refinement methods in n dimensional spaces are discussed in [13]. The first approach for defining a multiresolution analysis for piecewise constant functions defined over a tetrahedral mesh is to define wavelets over a tetrahedron which is the basic building block of the mesh. We define these wavelets in [14,15] and we consider the data regularly distributed. In this work the volume's tetrahedralization consists of a regular tetrahedral mesh subdivided using the Bey's subdivision scheme [16]. This method allows to define a nested sequence of subspaces such as those required in a multiresolution analyisis. Afterwards, in [17] we extend this result to a semiregular tetrahedral mesh. However, data points are often irregularly distributed. In this case, irregular tetrahedral meshes are the right meshes to deal with them. But such meshes generally do not generate a sequence of nested spaces and in consequence the non nested framework should be applied. The main contribution of this paper is the multiresolution representation of piecewise constant functions defined over non nested tetrahedral meshes. For doing this, we first apply the half collapsed technique [18,19] to simplify tetrahedral irregular meshes and then we find the analysis matrix which is needed for going from a fine resolution to a coarser one and the synthesis matrix which makes possible to go from a fine to a coarser resolution. The paper is organized as follows. In Section 2 we describe the general framework for working with non nested spaces. In Section 3, full edge collapse and half edge collapse are briefly described and two operators, orthogonal and average operators are presented. In Section 4 we demonstrate two theorems which allow to find the analysis matrix in order to go from a fine to a coarse resolution and the synthesis matrix needed to go from a coarse resolution to a finer one. We cope with two cases: the operator P is surjective (subsection 4.1) and the operator P is not surjective (subsection 4.2). In Section 5 we give an example where the theoretical results developed in the previous sections are applied to a simple mesh. Next, in Section 6 the conclusions are detailed. Finally, in in Section 7 we present the matrices used in the example of Section 5.
Multiresolution analysis with non nested approximating spaces
3In this section, we present the general framework for constructing multiresolution analysis schemes based on a non nested sequence of approximating spaces. This extension of the classic wavelet theory was presented in [12].
4Let Ω be a measurable domain in R 3 and V i a sequence of finite dimension subespaces of L 2 (Ω). These spaces, called approximating spaces do not have to be nested but they have to fulfill the condi-
5. These sets are the domain of the linear operators P k , called approximating operators. Now let f = f N be a function defined in the finest space V N . In the classic multiresolution analysis, the spaces are nested and the link between V N and V N−1 is made by taking a complementary space W N−1 of V N−1 in V N , that is:
6This allows to write:
7being f N−1 a coarse approximation of f N in V N−1 and g N−1 the detail needed to recover the original function from its approximation. By repeating this decomposition, one obtains:
8which corresponds to the space decomposition:
9Notice that in this case f i = P V i ( f i+1 ), where P V i is a projector on V i in the W i direction, and usually it is the orthogonal projector.
10Returning to the general framework we describe, we also have linear approximating operators P i :V i+1 → V i . Nevertheless the approximating spaces are not nested so it is necessary to capture the details in a different way.
11Let W i be the kernel of P i and V i a complementary space of W i in V i+1 , so that:
12In [11], Chapter 2, Lemma II.1, it is proven that the restriction of P i to V i is a bijective operator having the same range as P i , so the operator P i restricted to V i has inverse which we note Inv P i | V i . In this way, if f i = P i ( f i+1 ) and g i = Q i ( f i+1 ), where Q i is the projector on W i parallel to V i , the reconstruction formula given by:
13allows to reconstruct f i+1 using its approximation f i in V i and the detail coefficient g i in W i . To reconstruct the function it is necessary to repeat this decomposition on each level. Let us introduce the following notation.
Notation.
14For each k ∈ N, it is defined:
15ii) the subespaces V k for which:
16iii) the operators Q k : V k+1 → W k which are the projectors on W k parallel to V k ; iv) the operators R k : V k+1 → V k , which are the projectors on V k parallel to W k . The items ii), iii) and iv) allow to write:
17Definition: A multiresolution analysis is said to be semiorthogonal if for each k, the spaces W k are orthogonal to the spaces V k , that is to say:
Bases, Analysis and Synthesis Matrices
18We give now the bases and the notation for the different spaces we defined above.
19Notation. For all k ∈ N, it be noted:
20iii) r k the dimension of W k and ψ k = {ψ k i , i = 1, . . . , r k }, a basis for W k ; iv) (a k . ), ( a k . ) and (b k . ) the coefficients of the functions f k ∈ V k , f k ∈ V k and g k ∈ V k respectively in the bases indicated in the previous items. The coefficients (b k . ) are also called wavelet coefficients of the function f k .
21As in the classical wavelet theory, in order to describe a step in the analysis and a step in the synthesis it is necessary to obtain the analysis and synthesis matrices respectively.
Analysis or decomposition
22In this case, the n k+1 coefficients (a k+1 .
23) of a function f k+1 ∈ V k+1 relatives to the basis φ k+1
24. are known and we look for the n k coefficients of P k ( f k+1 ) relative to the basis φ k . and the m k coefficients of Q k ( f k+1 ) relative to the basis ψ k . The matrix that allows to determine those coefficients is called anlysis matrix and we note it A k . Then we can write:
25], (6) where:
26is the Q k opertor's matrix in the bases φ k+1
27. and φ k . .
Synthesis or reconstruction
28The inverse operation ( f k , g k ) → S k ( f k ) + g k is made by means of the synthesis matrix B k given by the equation:
29where Ψ k is the matrix whose columns are the coefficients of the functions of the basis ψ k written in the basis φ k+1
30. and Φ k is the matrix that represents a surjective transformation from V k in V k . The link between the analysis and synthesis matrices is given by:
31being Id n k+1 the identity matrix of dimension n k+1 . For calculating these matrices it is necessary to know if the operator P k is surjective or not. When the operator P k is surjective, dim(Im P k ) = dim(V k ) = n k ; on the other hand, dim(Ker P k ) + dim(Im P k ) = dim(V k+1 ) so that r k + n k = n k+1 , that is to say, the analysis and synthesis matrices are square and they are the inverse of each other.
Approximation operators and spaces
32After giving the general framework for working with non nested spaces, we present two examples of approximation operators and their respective approximation spaces. This will be done in subsections 3.2 and 3.3. But in order to define these approximation spaces, we need to have techniques for simplifying irregular tetrahedral meshes [19,20]. In the subsection 3.1 we describe two of these techniques: full edge collapse and half edge collapse and present the approximation spaces we will work with. In subsection 3.2 and 3.3 we present the orthogonal operator and the average operator respectively. Both operators are used to simplify irregular meshes and constitute an essential stage to define wavelets over non nested tetrahedral grids.
Edge collapsing
33A half edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e whose vertices are v and w into one of its extremes, for example w. The reverse modification of a half-edge collapse is a vertex split, which expands a vertex w into an edge e by inserting the other extreme vertex v of e, Figure 1. A full edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e, whose vertices are v and w into a new vertex, (often the midpoint of e), Figure 2. We choose the half-edge collapse technique because it produces fewer updates in comparison with those generated by a full-edge collapse. Now we will describe the approximation spaces we want to work with and afterwards the operators. Let τ N be an arbitrary tetrahedralization of a domain Ω ⊂ R 3 . Let τ i , i = 0, ..., N − 1 be the tetrahedralizations obtained by successively applying the half-edge collapse method to the tetrahedralization τ N . We will use the following notation.
34iii) C i the approximation space of constant functions over each tetrahedron of the τ i tetrahedralization.
35The functions χ T i j , j = 1, .., J constitute an orthogonal basis for C i .
Orthogonal Operator
36In this subsection we present the orthogonal operator.
37Definition: For all k = 0, ..., N − 1, we define the approximation operators:
38where P k ⊥ C k is the orthogonal projector over C k . Observations.
391) the matrix of the orthogonal operator is given by:
40where:
41] is the matrix whose entries are the scalar products relatives to the bases
42}; that is:
43] is the matrix whose entries are the scalar products relative to the orthogonal basis {χ k . }; that is:
442) The above defined operator P k guarantees that f k is the best approximation of f k+1 in the mean squares sense.
45Journal of Computer Science & Technology, Volume 19, Number 1, April 2019
463) The ( j i , j l ) entry of the matrix (8) is:
47.
48From now on and just to simplify the notation, we will write:
49ii) Φ instead of Φ k and Ψ instead of Φ k , so that the analysis and synthesis matrices will be:
50respectively.
Average Operator
51In this section we present the average operator that we note P i r . In first place we detail how this linear operator is defined and then we obtain its associated matrix. Applying half edge collapse to a set of n tetrahedra covering a domain, another set of m tetrahedra, m < n, covering the same domain is obtained. If there exist data defined on the finest mesh, we describe next how to compute the data on the new simplified mesh. For each tetrahedron T i k , k = 1, .., K belonging to the τ i tetrahedralization, we look for all the tetrahedra T i+1 j , j = 1, .., J belonging to the τ i+1 tetrahedralization such that T i k ∩ T i+1 j = / 0. The value we assign to the function on the T i k tetrahedron is an average of the functions' values over all the tetrahedra T i+1 j which intersect T i k . Now let's see which is the matrix associated to the average operator. Let u j (k) be:
52that is to say u j (k) is zero if and only if the tetrahedron T i+1 j belonging to the (i+1)-tetrahedralization and the tetrahedron T i k belonging to the itetrahedralization, have no intersection. Besides, for each k = 1, ..., K we will note l k :
53Taking into account the above definitions , the average operator P i r :
54, has the following matricial representation:
Analysis and synthesis matrices for arbitrary frames and operators P
55Depending on the tetrahedralizations, the orthogonal operator and the average operator may be surjective or not. In the this section we present two theorems. Both of them allow to obtain the analysis matrix when the synthesis matrix is known and viceversa. The first one, in subsection 4.1, is for surjectives operators P and arbitrary multiresolution analysis and it generalizes the result obtained by Gerussi in [11], chapter V, Lemma VI, for semi-orthogonal multiresolution analyisis. The second one, in subsection 4.2, is for non surjective operators and arbitrary multiresolution analysis.
Surjective operator P
56Let us suppose the operator P is surjective and the multiresolution analysis in not necessarily semiorthogonal. The following theorem provides a method for calculating the matrices P and Q when Φ and Ψ are known and viceversa. The matrix
57] , already defined in (9), will be note by H. In what follows, we will note P the approximation operator as well as the matrix which represents that operator. Theorem: Let P : V k+1 → V k be a surjective operator and let P * be the transpose matrix of P. Then:
58Moreover:
59being:
60Furthermore:
61Proof. By hypothesis,
62Journal of Computer Science & Technology, Volume 19, Number 1, April 2019 then:
63that is to say:
64Let:
65be the matrix that:
66Besides, from equation (12) results:
67and, as a consequence of equation (9):
68Replacing A, B, C, D the lemma's items 4) and 5) are proved. Also from equations (9) and (12) results:
69This last identity proves items 1), 2) and 3) of the theorem. In order to prove items 6) and 7) we have to notice that from equation (10), we can write:
70be the matrix such:
71(17) Then the following equations have to verify:
72from which it can be deduced:
73Besides, from equation (17) it results:
74and as a consequence of equation (9):
75Replacing R, S, U, V it can be deduced theorem's items 6) and 7). Also from equations (15) and (17) it results:
76This last equality proves 8).
77Corollary. If the multiresolution analysis is semiorthogonal, then P, Q, Φ y Ψ are given by:
Proof.
78If the multiresolution analysis is semiorthogonal, then Then replacing these conditions in 6) and 7) of Theorem 4.1, result:
79which are items iii) and iv) of corollary. In what follows we propose two different methods for determining the Q-operator's matrix when the surjective operator P is known and the multiresolution analysis is non semi-orthogonal. The first one is a constructive method and the second one is a matrix method.
Constructive method
80This method describes how to obtain the Qoperator's matrix when the surjective operator P is known. It consists of building a space V k with the same dimension of V k , not orthogonal to W k and such that V k+1 = V k ⊕ W k . This construction is made as follows. Let T i+1 j , j = 1, .., J, be the tetrahedra of the tetrahedralization τ i+1 y T i k , k = 1, .., K, the tetrahedra of the tetrahedralization τ i . For each one of these tetrahedralization, we define the following spaces:
81From these definitions it follows that:
82where span{h i , i = 1, ..., R} means subspace spanned by the h i functions.
83For a surjective approximation operator P i : V i+1 → V i , let W i be its kernel and {ψ i l }, l = 1, ..., L a basis for W i written in the basis of V i+1 . It's clear that L + K = J. We now choose a subspace V i ⊂ V i+1 such that:
84For constructing this space V i it suffices to look for a basis φ i k for V i , k = 1, .., K not orthogonal to the W i 's basis. Let M be the matrix whose L first rows are the vectors corresponding to the basis {ψ i l }, l = 1, .., L of W i and the K following rows are the vectors of the basis φ i k , k = 1, .., K of V i , all of them written in the basis of V i+1 . It's clear that L + K = J. Then, M is the square matrix:
85As Q i : V i+1 → W i is the projector on W i along a V i , the entries of the Q i -operator's matrix are the first L rows of (M * ) −1 .
Matrix method
86This is an alternative method to obtain the Qoperator's matrix when the surjective operator P is known. From Theorem 4.1,
87Supposing that ψ * Hψ = Id, that is, choosing an orthonormal basis for W k , from item 7) of the Theorem 4.1 results:
88This is a linear system whose unknowns are the entries of Q. If the determinant of this system is zero, we need another condition for determining Q. Let Q be the matrix of the operator Q in the basis of V k+1 , i.e
89; Q is square and it must verify Q Q = Q in order to be a matrix corresponding to a projector. If some degrees of freedom are still left, Q can be chosen so that it has minimum norm.
Analysis and synthesis matrices for an arbitrary frame
90In this section, we state a theorem that allows to find P y Q when Φ and Ψ are known and viceversa for non surjective operators and non semiorthogonal multiresolution analysis. We previously introduce the following notation. 3) Φ = (P * P + Q * Q) −1 P * , 4) Ψ = (P * P + Q * Q) −1 Q * .
Proof
91Given the synthesis matrix B we want to solve the system : = B −1 R a k+1 of the system (21). Really, BB −1 R a k+1 = a k+1 , ∀a k+1 . For the implementation, we can choose A as the following B' s right inverse:
92From the last equation, results:
93Reciprocally, given the analysis matrix we want to solve the system:
94where a k+1 is the unknown and
95are the data.
96We notice that the matrix A is (n k + r k ) × n k+1 and its rank is n k+1 then it has left inverse; in fact it has infinite left inverses. All of them are given by (A * KA) −1 A * K, where K is an arbitrary matrix such that r(A * KA) = r(A). In this case, all the left inverses of A give the same solution because:
97.
98(23) This a k+1 is a solution of the system (22) because: As all the left inverses give the same solution, we choose the following left inverse:
99that is to say:
Example
100In this section we present an example where the theoretical results above described are used. We consider a tetrahedral initial grid consisting of sixteen tetrahedra (fine resolution). We applied twice the colapsed half edge and we obtain two meshes at two different resolutions, that is, the first one consisting of fourteen tetrahedra (intermediate resolution) and the second one consisting of ten tetrahedra (coarse resolution).
101In order to have a good visualization of the three grids, in Figure3 it can be seen in different colours and from top to bottom, a grid with fewer tetrahedra and its three resolutions, fine, intermediate and coarse. For these tetrahedralizations we followed the following steps . All matrices and operators mentioned below are detailed in the Appendix.
1021) We determined the following matrices:
103i) H 16 : matrix whose entries are the volumes of the tetrahedra belonging to the initial tetrahedralization,
104ii) H 14 : matrix whose entries are the volumes of the tetrahedra of the intermediate tetrahedralization,
105iii) H 1416 : matrix whose entries are the volumes of the intersections between the tetrahedra of the initial tetrahedralization and the tetrahedra of the intermediate tetrahedralization,
Conclusions
106Hierarchical decomposition of datasets based on wavelet theory has been growing up in several disciplines (Cartography, Computer Graphics, Finite Elements, Approximation Theory and Computational Geometry). When the data points are regularly distributed over a surface, regular triangular mesh subdivision schemes and classic wavelet theory together have been proved to be powerful tools for giving a hierarchical decomposition of those data points. In this way, spherical wavelets were constructed in [10] and wavelets for surfaces of arbitrary topological type were presented in [8]. When the data points are irregularly distributed over a surface, irregular triangular mesh subdivision schemes and the framework for non nested wavelets were the key for giving a multiresolution decomposition of functions defined over the surface, [11]. Once the problem for data on a surface was solved, the new challenge for researchers was how to define wavelets over a volume (surface and interior). Typically, this volume is modeled by a 3D grid of tetrahedra and the issue is to represent, at different level of details, a function (color, density, brightness) defined over it. In [14] we have constructed a wavelet basis over a tetrahedron which enables the multiresolution representation of functions defined over a tetrahedron and, consequently, the multiresolution representation of functions defined over a tetrahedralized volume. Afterwards, in [15] we give a simpler expression for our wavelets that allows an easier numerical implementation of our methodology. In those cases we suppose that data are regularly distributed on the grid and therefore we have used nested tetrahedral grids generated by a recursive method (Bey's method) that are suitable to deal with that kind of data. In [17] we extend that result to semi-regular tetrahedral meshes. In this work we present an innovative solution to the problem of the multiresolution analysis for functions defined over a tetrahedralized volume (surface and interior) considering that data are irregularly distributed on the grid. For giving a multiresolution analysis of those data, we select the half edge collapsed for refining the mesh and we work in the non nested framework for wavelets. In this context we find the analysis matrix that allows to go from a fine resolution to a coarser one and the synthesis matrix which allows to go from a coarser resolution to a finer one. Moreover, in each stage of the multiresolution analysis the approximation operator may result surjective or non surjective, that is why we give a method for calculating the analysis and synthesis matrices for each one of these cases.
107Matrix whose entries are the tetrahedra's volumes of the initial tetrahedralization. a = 166.667, b = 83.3333.
108Matrix whose entries are the tetrahedra's volumes of the coarsest tetrahedralization. a = 166.667, b = 83.3333, c = 333.3333.
110Wavelets are basis functions which allow to decompose functions in different levels of detail. They enable any function to be described in terms of a coarse approximation plus detail coefficients. Wavelets were first used in processing or approximation of signals but afterwards they began to be used in other areas like cartography, computer vision, computer graphics, statistics, etc. The first wavelets to appear were defined in R or in R n and they were obtained as contractions or dilations of a fixed function called "mother wavelet" . Several different methods were used for constructing them until in 1989, Stéphan Mallat [1] introduced the idea of multiresolution analysis which gives a natural unified framework and a useful tool for their construction. Basically, a multiresolution analysis enables to treat a function in a hierarchical way. The traditional works on wavelets were mainly done by Daubechies [2], Mallat [1] and Chui [3]. Examples of first generation wavelets are Haar wavelets, Shannon wavelet, Daubechies wavelets and B-wavelets linked to B-splines. The essential characteristic of these wavelets called first generation wavelets is that they can only represent functions whose data are equally spaced. Although signals and statistic data are so distributed, several other data are irregularly distributed and this motivated a first extension of the wavelet theory. At the beginning of the nineties the second generation wavelets appeared. Their name is due to Wim Sweldens and their main feature is that they are not translations and dilations of a fixed function "mother wavelet" . Examples of this kind of wavelets are wavelets over an interval, wavelets over bounded domains in R n , wavelets over curves and surfaces and wavelets adapted to irregular sampling. The most general techniques for building second generation wavelets are the lifting scheme and the surfaces subdivision. The first of them was developed by Wim Sweldens [4] in 1996 but the results he obtained with this technique are similar to those obtained before by D. Donoho [5,6,7] and by M. Lounsbery, T. De Rose and Warren [8]. The surfaces subdivision is a technique developed by Lounsbery [8] who extended the wavelet theory to arbitrary topological surfaces. He also found out the relation between multiresolution analysis and subdivision schemes. Both techniques together, lifting scheme and surfaces subdivision, have been useful and versatile tools for building second generation wavelets. In this way, generalized orthogonal wavelets [9] and spherical wavelets [10] were built. Wavelet theory is based on the knowledge of a sequence of functional spaces where data are successively approximated. But this sequence has to be nested. In all the works aforementioned it was possible to establish such sequence and then the wavelet theory was successful applied. A really flexible construction of second generation wavelets was presented in [11] where using a non-nested framework [12], A. Gerussi presents a method for representing piecewise constant functions over a surface but relaxing the nesting property. The need to address problems in three dimensional spaces motivated researchers to study subdivision schemes in those spaces because a 3D object is in general represented by a tetrahedral mesh on which its attributes are defined. Several refinement methods in n dimensional spaces are discussed in [13]. The first approach for defining a multiresolution analysis for piecewise constant functions defined over a tetrahedral mesh is to define wavelets over a tetrahedron which is the basic building block of the mesh. We define these wavelets in [14,15] and we consider the data regularly distributed. In this work the volume's tetrahedralization consists of a regular tetrahedral mesh subdivided using the Bey's subdivision scheme [16]. This method allows to define a nested sequence of subspaces such as those required in a multiresolution analyisis. Afterwards, in [17] we extend this result to a semiregular tetrahedral mesh. However, data points are often irregularly distributed. In this case, irregular tetrahedral meshes are the right meshes to deal with them. But such meshes generally do not generate a sequence of nested spaces and in consequence the non nested framework should be applied. The main contribution of this paper is the multiresolution representation of piecewise constant functions defined over non nested tetrahedral meshes. For doing this, we first apply the half collapsed technique [18,19] to simplify tetrahedral irregular meshes and then we find the analysis matrix which is needed for going from a fine resolution to a coarser one and the synthesis matrix which makes possible to go from a fine to a coarser resolution. The paper is organized as follows. In Section 2 we describe the general framework for working with non nested spaces. In Section 3, full edge collapse and half edge collapse are briefly described and two operators, orthogonal and average operators are presented. In Section 4 we demonstrate two theorems which allow to find the analysis matrix in order to go from a fine to a coarse resolution and the synthesis matrix needed to go from a coarse resolution to a finer one. We cope with two cases: the operator P is surjective (subsection 4.1) and the operator P is not surjective (subsection 4.2). In Section 5 we give an example where the theoretical results developed in the previous sections are applied to a simple mesh. Next, in Section 6 the conclusions are detailed. Finally, in in Section 7 we present the matrices used in the example of Section 5.
Multiresolution analysis with non nested approximating spaces
111In this section, we present the general framework for constructing multiresolution analysis schemes based on a non nested sequence of approximating spaces. This extension of the classic wavelet theory was presented in [12].
112Let Ω be a measurable domain in R 3 and V i a sequence of finite dimension subespaces of L 2 (Ω). These spaces, called approximating spaces do not have to be nested but they have to fulfill the condi-
113. These sets are the domain of the linear operators P k , called approximating operators. Now let f = f N be a function defined in the finest space V N . In the classic multiresolution analysis, the spaces are nested and the link between V N and V N−1 is made by taking a complementary space W N−1 of V N−1 in V N , that is:
114This allows to write:
115being f N−1 a coarse approximation of f N in V N−1 and g N−1 the detail needed to recover the original function from its approximation. By repeating this decomposition, one obtains:
116which corresponds to the space decomposition:
117Notice that in this case f i = P V i ( f i+1 ), where P V i is a projector on V i in the W i direction, and usually it is the orthogonal projector.
118Returning to the general framework we describe, we also have linear approximating operators P i :V i+1 → V i . Nevertheless the approximating spaces are not nested so it is necessary to capture the details in a different way.
119Let W i be the kernel of P i and V i a complementary space of W i in V i+1 , so that:
120In [11], Chapter 2, Lemma II.1, it is proven that the restriction of P i to V i is a bijective operator having the same range as P i , so the operator P i restricted to V i has inverse which we note Inv P i | V i . In this way, if f i = P i ( f i+1 ) and g i = Q i ( f i+1 ), where Q i is the projector on W i parallel to V i , the reconstruction formula given by:
121allows to reconstruct f i+1 using its approximation f i in V i and the detail coefficient g i in W i . To reconstruct the function it is necessary to repeat this decomposition on each level. Let us introduce the following notation.
Notation.
122For each k ∈ N, it is defined:
123ii) the subespaces V k for which:
124iii) the operators Q k : V k+1 → W k which are the projectors on W k parallel to V k ; iv) the operators R k : V k+1 → V k , which are the projectors on V k parallel to W k . The items ii), iii) and iv) allow to write:
125Definition: A multiresolution analysis is said to be semiorthogonal if for each k, the spaces W k are orthogonal to the spaces V k , that is to say:
Bases, Analysis and Synthesis Matrices
126We give now the bases and the notation for the different spaces we defined above.
127Notation. For all k ∈ N, it be noted:
128iii) r k the dimension of W k and ψ k = {ψ k i , i = 1, . . . , r k }, a basis for W k ; iv) (a k . ), ( a k . ) and (b k . ) the coefficients of the functions f k ∈ V k , f k ∈ V k and g k ∈ V k respectively in the bases indicated in the previous items. The coefficients (b k . ) are also called wavelet coefficients of the function f k .
129As in the classical wavelet theory, in order to describe a step in the analysis and a step in the synthesis it is necessary to obtain the analysis and synthesis matrices respectively.
Analysis or decomposition
130In this case, the n k+1 coefficients (a k+1 .
131) of a function f k+1 ∈ V k+1 relatives to the basis φ k+1
132. are known and we look for the n k coefficients of P k ( f k+1 ) relative to the basis φ k . and the m k coefficients of Q k ( f k+1 ) relative to the basis ψ k . The matrix that allows to determine those coefficients is called anlysis matrix and we note it A k . Then we can write:
133], (6) where:
134is the Q k opertor's matrix in the bases φ k+1
135. and φ k . .
Synthesis or reconstruction
136The inverse operation ( f k , g k ) → S k ( f k ) + g k is made by means of the synthesis matrix B k given by the equation:
137where Ψ k is the matrix whose columns are the coefficients of the functions of the basis ψ k written in the basis φ k+1
138. and Φ k is the matrix that represents a surjective transformation from V k in V k . The link between the analysis and synthesis matrices is given by:
139being Id n k+1 the identity matrix of dimension n k+1 . For calculating these matrices it is necessary to know if the operator P k is surjective or not. When the operator P k is surjective, dim(Im P k ) = dim(V k ) = n k ; on the other hand, dim(Ker P k ) + dim(Im P k ) = dim(V k+1 ) so that r k + n k = n k+1 , that is to say, the analysis and synthesis matrices are square and they are the inverse of each other.
Approximation operators and spaces
140After giving the general framework for working with non nested spaces, we present two examples of approximation operators and their respective approximation spaces. This will be done in subsections 3.2 and 3.3. But in order to define these approximation spaces, we need to have techniques for simplifying irregular tetrahedral meshes [19,20]. In the subsection 3.1 we describe two of these techniques: full edge collapse and half edge collapse and present the approximation spaces we will work with. In subsection 3.2 and 3.3 we present the orthogonal operator and the average operator respectively. Both operators are used to simplify irregular meshes and constitute an essential stage to define wavelets over non nested tetrahedral grids.
Edge collapsing
141A half edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e whose vertices are v and w into one of its extremes, for example w. The reverse modification of a half-edge collapse is a vertex split, which expands a vertex w into an edge e by inserting the other extreme vertex v of e, Figure 1. A full edge collapse is a simplifying technique for tetrahedral irregular meshes that consists of shrinking a tetrahedron's edge e, whose vertices are v and w into a new vertex, (often the midpoint of e), Figure 2. We choose the half-edge collapse technique because it produces fewer updates in comparison with those generated by a full-edge collapse. Now we will describe the approximation spaces we want to work with and afterwards the operators. Let τ N be an arbitrary tetrahedralization of a domain Ω ⊂ R 3 . Let τ i , i = 0, ..., N − 1 be the tetrahedralizations obtained by successively applying the half-edge collapse method to the tetrahedralization τ N . We will use the following notation.
142iii) C i the approximation space of constant functions over each tetrahedron of the τ i tetrahedralization.
143The functions χ T i j , j = 1, .., J constitute an orthogonal basis for C i .
Orthogonal Operator
144In this subsection we present the orthogonal operator.
145Definition: For all k = 0, ..., N − 1, we define the approximation operators:
146where P k ⊥ C k is the orthogonal projector over C k . Observations.
1471) the matrix of the orthogonal operator is given by:
148where:
149] is the matrix whose entries are the scalar products relatives to the bases
150}; that is:
151] is the matrix whose entries are the scalar products relative to the orthogonal basis {χ k . }; that is:
1522) The above defined operator P k guarantees that f k is the best approximation of f k+1 in the mean squares sense.
153Journal of Computer Science & Technology, Volume 19, Number 1, April 2019
1543) The ( j i , j l ) entry of the matrix (8) is:
155.
156From now on and just to simplify the notation, we will write:
157ii) Φ instead of Φ k and Ψ instead of Φ k , so that the analysis and synthesis matrices will be:
158respectively.
Average Operator
159In this section we present the average operator that we note P i r . In first place we detail how this linear operator is defined and then we obtain its associated matrix. Applying half edge collapse to a set of n tetrahedra covering a domain, another set of m tetrahedra, m < n, covering the same domain is obtained. If there exist data defined on the finest mesh, we describe next how to compute the data on the new simplified mesh. For each tetrahedron T i k , k = 1, .., K belonging to the τ i tetrahedralization, we look for all the tetrahedra T i+1 j , j = 1, .., J belonging to the τ i+1 tetrahedralization such that T i k ∩ T i+1 j = / 0. The value we assign to the function on the T i k tetrahedron is an average of the functions' values over all the tetrahedra T i+1 j which intersect T i k . Now let's see which is the matrix associated to the average operator. Let u j (k) be:
160that is to say u j (k) is zero if and only if the tetrahedron T i+1 j belonging to the (i+1)-tetrahedralization and the tetrahedron T i k belonging to the itetrahedralization, have no intersection. Besides, for each k = 1, ..., K we will note l k :
161Taking into account the above definitions , the average operator P i r :
162, has the following matricial representation:
Analysis and synthesis matrices for arbitrary frames and operators P
163Depending on the tetrahedralizations, the orthogonal operator and the average operator may be surjective or not. In the this section we present two theorems. Both of them allow to obtain the analysis matrix when the synthesis matrix is known and viceversa. The first one, in subsection 4.1, is for surjectives operators P and arbitrary multiresolution analysis and it generalizes the result obtained by Gerussi in [11], chapter V, Lemma VI, for semi-orthogonal multiresolution analyisis. The second one, in subsection 4.2, is for non surjective operators and arbitrary multiresolution analysis.
Surjective operator P
164Let us suppose the operator P is surjective and the multiresolution analysis in not necessarily semiorthogonal. The following theorem provides a method for calculating the matrices P and Q when Φ and Ψ are known and viceversa. The matrix
165] , already defined in (9), will be note by H. In what follows, we will note P the approximation operator as well as the matrix which represents that operator. Theorem: Let P : V k+1 → V k be a surjective operator and let P * be the transpose matrix of P. Then:
166Moreover:
167being:
168Furthermore:
169Proof. By hypothesis,
170Journal of Computer Science & Technology, Volume 19, Number 1, April 2019 then:
171that is to say:
172Let:
173be the matrix that:
174Besides, from equation (12) results:
175and, as a consequence of equation (9):
176Replacing A, B, C, D the lemma's items 4) and 5) are proved. Also from equations (9) and (12) results:
177This last identity proves items 1), 2) and 3) of the theorem. In order to prove items 6) and 7) we have to notice that from equation (10), we can write:
178be the matrix such:
179(17) Then the following equations have to verify:
180from which it can be deduced:
181Besides, from equation (17) it results:
182and as a consequence of equation (9):
183Replacing R, S, U, V it can be deduced theorem's items 6) and 7). Also from equations (15) and (17) it results:
184This last equality proves 8).
185Corollary. If the multiresolution analysis is semiorthogonal, then P, Q, Φ y Ψ are given by:
Proof.
186If the multiresolution analysis is semiorthogonal, then Then replacing these conditions in 6) and 7) of Theorem 4.1, result:
187which are items iii) and iv) of corollary. In what follows we propose two different methods for determining the Q-operator's matrix when the surjective operator P is known and the multiresolution analysis is non semi-orthogonal. The first one is a constructive method and the second one is a matrix method.
Constructive method
188This method describes how to obtain the Qoperator's matrix when the surjective operator P is known. It consists of building a space V k with the same dimension of V k , not orthogonal to W k and such that V k+1 = V k ⊕ W k . This construction is made as follows. Let T i+1 j , j = 1, .., J, be the tetrahedra of the tetrahedralization τ i+1 y T i k , k = 1, .., K, the tetrahedra of the tetrahedralization τ i . For each one of these tetrahedralization, we define the following spaces:
189From these definitions it follows that:
190where span{h i , i = 1, ..., R} means subspace spanned by the h i functions.
191For a surjective approximation operator P i : V i+1 → V i , let W i be its kernel and {ψ i l }, l = 1, ..., L a basis for W i written in the basis of V i+1 . It's clear that L + K = J. We now choose a subspace V i ⊂ V i+1 such that:
192For constructing this space V i it suffices to look for a basis φ i k for V i , k = 1, .., K not orthogonal to the W i 's basis. Let M be the matrix whose L first rows are the vectors corresponding to the basis {ψ i l }, l = 1, .., L of W i and the K following rows are the vectors of the basis φ i k , k = 1, .., K of V i , all of them written in the basis of V i+1 . It's clear that L + K = J. Then, M is the square matrix:
193As Q i : V i+1 → W i is the projector on W i along a V i , the entries of the Q i -operator's matrix are the first L rows of (M * ) −1 .
Matrix method
194This is an alternative method to obtain the Qoperator's matrix when the surjective operator P is known. From Theorem 4.1,
195Supposing that ψ * Hψ = Id, that is, choosing an orthonormal basis for W k , from item 7) of the Theorem 4.1 results:
196This is a linear system whose unknowns are the entries of Q. If the determinant of this system is zero, we need another condition for determining Q. Let Q be the matrix of the operator Q in the basis of V k+1 , i.e
197; Q is square and it must verify Q Q = Q in order to be a matrix corresponding to a projector. If some degrees of freedom are still left, Q can be chosen so that it has minimum norm.
Analysis and synthesis matrices for an arbitrary frame
198In this section, we state a theorem that allows to find P y Q when Φ and Ψ are known and viceversa for non surjective operators and non semiorthogonal multiresolution analysis. We previously introduce the following notation. 3) Φ = (P * P + Q * Q) −1 P * , 4) Ψ = (P * P + Q * Q) −1 Q * .
Proof
199Given the synthesis matrix B we want to solve the system : = B −1 R a k+1 of the system (21). Really, BB −1 R a k+1 = a k+1 , ∀a k+1 . For the implementation, we can choose A as the following B' s right inverse:
200From the last equation, results:
201Reciprocally, given the analysis matrix we want to solve the system:
202where a k+1 is the unknown and
203are the data.
204We notice that the matrix A is (n k + r k ) × n k+1 and its rank is n k+1 then it has left inverse; in fact it has infinite left inverses. All of them are given by (A * KA) −1 A * K, where K is an arbitrary matrix such that r(A * KA) = r(A). In this case, all the left inverses of A give the same solution because:
205.
206(23) This a k+1 is a solution of the system (22) because: As all the left inverses give the same solution, we choose the following left inverse:
207that is to say:
Example
208In this section we present an example where the theoretical results above described are used. We consider a tetrahedral initial grid consisting of sixteen tetrahedra (fine resolution). We applied twice the colapsed half edge and we obtain two meshes at two different resolutions, that is, the first one consisting of fourteen tetrahedra (intermediate resolution) and the second one consisting of ten tetrahedra (coarse resolution).
209In order to have a good visualization of the three grids, in Figure3 it can be seen in different colours and from top to bottom, a grid with fewer tetrahedra and its three resolutions, fine, intermediate and coarse. For these tetrahedralizations we followed the following steps . All matrices and operators mentioned below are detailed in the Appendix.
2101) We determined the following matrices:
211i) H 16 : matrix whose entries are the volumes of the tetrahedra belonging to the initial tetrahedralization,
212ii) H 14 : matrix whose entries are the volumes of the tetrahedra of the intermediate tetrahedralization,
213iii) H 1416 : matrix whose entries are the volumes of the intersections between the tetrahedra of the initial tetrahedralization and the tetrahedra of the intermediate tetrahedralization,
Conclusions
214Hierarchical decomposition of datasets based on wavelet theory has been growing up in several disciplines (Cartography, Computer Graphics, Finite Elements, Approximation Theory and Computational Geometry). When the data points are regularly distributed over a surface, regular triangular mesh subdivision schemes and classic wavelet theory together have been proved to be powerful tools for giving a hierarchical decomposition of those data points. In this way, spherical wavelets were constructed in [10] and wavelets for surfaces of arbitrary topological type were presented in [8]. When the data points are irregularly distributed over a surface, irregular triangular mesh subdivision schemes and the framework for non nested wavelets were the key for giving a multiresolution decomposition of functions defined over the surface, [11]. Once the problem for data on a surface was solved, the new challenge for researchers was how to define wavelets over a volume (surface and interior). Typically, this volume is modeled by a 3D grid of tetrahedra and the issue is to represent, at different level of details, a function (color, density, brightness) defined over it. In [14] we have constructed a wavelet basis over a tetrahedron which enables the multiresolution representation of functions defined over a tetrahedron and, consequently, the multiresolution representation of functions defined over a tetrahedralized volume. Afterwards, in [15] we give a simpler expression for our wavelets that allows an easier numerical implementation of our methodology. In those cases we suppose that data are regularly distributed on the grid and therefore we have used nested tetrahedral grids generated by a recursive method (Bey's method) that are suitable to deal with that kind of data. In [17] we extend that result to semi-regular tetrahedral meshes. In this work we present an innovative solution to the problem of the multiresolution analysis for functions defined over a tetrahedralized volume (surface and interior) considering that data are irregularly distributed on the grid. For giving a multiresolution analysis of those data, we select the half edge collapsed for refining the mesh and we work in the non nested framework for wavelets. In this context we find the analysis matrix that allows to go from a fine resolution to a coarser one and the synthesis matrix which allows to go from a coarser resolution to a finer one. Moreover, in each stage of the multiresolution analysis the approximation operator may result surjective or non surjective, that is why we give a method for calculating the analysis and synthesis matrices for each one of these cases.
215Matrix whose entries are the tetrahedra's volumes of the initial tetrahedralization. a = 166.667, b = 83.3333.
216Matrix whose entries are the tetrahedra's volumes of the coarsest tetrahedralization. a = 166.667, b = 83.3333, c = 333.3333.