User:AboutFace 22/sandbox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

3.1. Spherical Harmonics

In order to be able to represent a function on a sphere in a rotation invariant manner, we utilize the mathematical notion of spherical harmonics to describe the way that rotations act on a spherical function. The theory of spherical harmonics says that any spherical function (?,f) can be decomposed as the sum of its harmonics:

 

 

 

 

(1)

where degree and order and

 

 

 

 

(2)

Normalization factor is defined below and

 

 

 

 

(3)

and

 

 

 

 

(4)

Fourier transform component:

 

 

 

 

(5)

Legendre transform:

 

 

 

 

(6)

and discrete form of Gauss-Legendre transform:

 

 

 

 

(7)

ALTERNATIVE EXPRESSION OF COEFFICIENTS:

 

 

 

 

(8)

Assuming

 

 

 

 

(9)

we can rewrite the expression (8) as

 

 

 

 

(10)

DISCRETE FOURIER TRANSFORM

Forward Transform:

 

 

 

 

(11)

Inverse Transform:

 

 

 

 

(12)

INTERVAL CHANGE

An integral over [a, b] must be changed into an integral over [-1, 1] before applying the Gaussian quadrature rule. This change of interval can be done in the following way:

 

 

 

 

(13)

Applying the Gaussian quadrature rule then results in the following approximation:

 

 

 

 

(14)

SUBSPACES AND ROTATIONS

The key property of this decomposition is that if we restrict to some frequency , and define the subspace of functions:

 

 

 

 

(15)

then:

  • is a Representation For the Rotation Group: For any function and any rotation R, we have R()

This can also be expressed in the following manner: if is the projection onto the subspace then commutes with rotations:

 

 

 

 

(16)

  • is Irreducible cannot be further decomposed as a direct sum = ? where and are also (nontrivial) representation of rotation group.

The first property presents a way for decomposing spherical functions into rotation in variant components, while the second property guarantees that, in a linear sense, this decomposition is optimal

3. Spherical Rotation Invariance

In this paper, we present a tool for transforming rotation dependent spherical and voxel shape descriptors into rotation invariant ones. The key idea of our approach is to describe a spherical function in terms of the amount of energy it contains at different frequencies. Since these values do not change when the function is rotated, the resulting descriptor is rotation invariant. This approach can be viewed as a generalization of the Fourier Descriptor method 11 to the case of spherical functions.

3.2 Rotation Invariant Descriptors

Using the properties of spherical harmonics and the observation that rotation of the spherical harmonics does not change its -norm we represents the energies of the spherical function f(?,f) as:

 

 

 

 

(17)

where are frequency components of :

 

 

 

 

(18)

This representation has the property that it is independent of the orientation of the spherical function. To see this we let R be any rotation and we have:

 

 

 

 

(19)

=
=
=

The following is from the Wikipedia article on Spherical Harmonics (with my comments as well):

While computing invariants it may be necessary take into account the contribution of expansion coefficients with negative m index). This contribution is not linear and cannot simply be discounted. On the other hand you may consider dropping some subset of indices m across the whole range of , for instance you can drop even or odd m's or to drop two or three in a row and then use the next one. The only rule must apply: it has to be uniform for negative and positive m's.

 

 

 

 

(20)

You can use Stirling approximation to compute large factorials or you can reduce the fraction by noticing that the fraction with factorials will be equal to

 

 

 

 

(21)

  • Power spectrum in signal processing

The total power of a function is defined in the signal processing literature as the integral of the function squared, divided by the area of its domain. Using the orthonormality properties of the real unit-power spherical harmonic functions, it is straightforward to verify that the total power of a function defined on the unit sphere is related to its spectral coefficients by a generalization of Parseval's theorem:

 

 

 

 

(22)

where

 

 

 

 

(23)

is defined as the angular power spectrum. In a similar manner, one can define the cross-power of two functions as

 

 

 

 

(24)

where

 

 

 

 

(25)

As one can see the previous paragraph is directly related to our two perspectives. Those "total powers of a function" split in ribbons in the vector space with the same degree are in fact the invariants we must use.

CONVENIENT FORMULAS:

 

 

 

 

(26)

 

 

 

 

(27)

 

 

 

 

(28)

 

 

 

 

(29)

 

 

 

 

(30)

 

 

 

 

(31)

where

or

 

 

 

 

(32)

depending on n being even or odd

RECURRENCES:

 

 

 

 

(33)


 

 

 

 

(34)


Moving along indices M to the right (in the direction of increasing index M):

 

 

 

 

(35)

Moving along indices M to the left (in the direction of decreasing index M):

 

 

 

 

(36)


NORMALIZATION (LEGENDRE POLYNOMIALS FIRST):

 

 

 

 

(37)

NORMALIZATION (ASSOCIATED LEGENDRE POLYNOMIALS):

I have a few questions concerning orthonormality of Associated Legendre Polynomials (ALP). I want to stress the word orthonormality as opposed to simply orthogonality. The reason for that is computational. It is a well known fact that when ALP with large indices & are computed the functional values grow in magnitude to the point that the exponents overflow. Double precision is required and in some cases even quadruple precision is needed. The normalization diminishes the absolute values of the functions considerably but not universally. I want to make sure that I understand normalization correctly. Wikipedia article on ALP gives two formulas.

 

 

 

 

(38)

Thus the normalization factor here will be:

 

 

 

 

(39)

I call it normalization in respect to

For my task it is more important to normalize in respect to . It is given by this formula:

 

 

 

 

(40)

The normalization factor for each subspace with a given but differing should be this:

 

 

 

 

(41)

I call it normalization in respect to index . I am uncertain about what to do with the factor under the integral, however. Does it have to be included in the normalization formula, perhaps as  ?

NORMALIZATION IN QUANTUM MECHANICS:

 

 

 

 

(42)

which are orthonormal:

 

 

 

 

(43)


NORMALIZATION PER keisan.casio CALCULATOR [1]

 

 

 

 

(44)


 

 

 

 

(45)


INEQUALITY:

 

 

 

 

(46)

Contribution by Quondum in response to my post in Math Section under the heading "DETERMINANT:"

If you want to describe an arc from and can't you just say that:

and

 

 

 

 

(47)

where s is an arbitrary new parameter that runs from 0 to 1 and R is the radius of the sphere. Then in a cartesian representation describes a secant In through the sphere, and the rescaling projects that path to the surface, hence defining an arc. It will break down if the starting points are exact antipodes, but that case if pretty ill-defined anyway.

This can be extended to the case of a rectangle defined by by introducing a second parameter t:

and

 

 

 

 

(48)

Assuming that the natural edges of the rectangle are to , to , to , and to .

It is worth noting that a uniform sampling of s and t, will not uniformly sample the surface of the sphere (especially if the points are far apart), but it is a good starting point. Dragons flight (talk) 19:29, 3 December 2014 (UTC)

Camera matrix:

Comment: x,y & z in fact mean