The differential invariants pertaining to several basic planar transformation groups of geometric significance – Euclidean, similarity, equi-affine, affine, Möbius and projective – have played important roles in image processing over many years, see for instance [Reference Mundy and Zisserman11] for a survey for developments through the early 1990s. Except for the Möbius group [Reference Marsland and McLachlan10, Reference Zhang, Mo, Hao, Li and Li22], all the groups noted above are subgroups of the projective group, which governs the transformations of camera projections of three-dimensional objects and forms the focus of this note. Research has tended to concentrate on the induced action on planar curves, representing the outlines of (the projections of) objects [Reference Faugeras3, Reference Hann5, Reference Hann and Hickman6]. One can, alternatively, study the action on the entire image. For us, this means a greyscale image, represented (in the continuum limit) by a smooth function $u=f(x,y)$ defined on some planar region $ \Omega \subset \mathbb{R}^2$ , often, but not necessarily, a rectangle. The group acts trivially on the dependent variable u, whose value (usually between $0 =$ black and $1=$ white) corresponds to the grey level of the pixel at position $(x,y) \in \Omega $ . Extensions of this analysis to colour images, where the dependent variable u is vector valued, will not be treated here, although our moving frame methods can be readily extended to this more general context.
Let $\mathbb{RP}^2$ be the real projective plane consisting of all lines passing through the origin in $\mathbb{R}^3$ . On the dense open subset containing those lines that do not lie in the x y plane, we can employ the inhomogeneous coordinates (x, y) to represent the line in the direction (x, y, 1). The standard action of the general linear group $\textrm{GL}(3,\mathbb{R})$ on $\mathbb{R}^3$ induces an action of the 8 dimensional projective linear group $\textrm{PSL}(3,\mathbb{R}) = \textrm{GL}(3,\mathbb{R})/\{\lambda \textrm{I} | 0 \ne \lambda \in \mathbb{R}\}$ on the lines in $\mathbb{RP}^2$ . We are thus interested in the induced intransitive action
of $\textrm{PSL}(3,\mathbb{R})$ on the trivial bundle $M = \mathbb{RP}^2 \times \mathbb{R}$ . To avoid the overall scaling ambiguity, we impose the unimodularity condition
on the group parameters appearing in the coefficient matrix. This action coincides with the special case $n=0$ for the one-parameter family of actions of the general linear group $\textrm{GL}(3)$ that was studied in [Reference Olver and Polat20]. However, this particular case was not relevant to the main focus of that work – ternary forms in classical invariant theory – and so was not analysed.
The goal is to conduct a similar moving frame-based analysis, cf. [Reference Fels and Olver4, Reference Mansfield9, Reference Olver18, Reference Olver19], of the differential invariants of the induced action of (1) on two-dimensional surfaces $S \subset M$ representing the graphs of functions $u=f(x,y)$ ; in other words, we have two independent variables and one dependent variable. We prolong the group action to the surface jet bundles $\displaystyle{\textrm{J}^{n} = \textrm{J}^{n}(M,2), n=0,1,2,\ldots}$ , [Reference Olver12], which are coordinatised by the independent variables x, y, along with the dependent variable $u = u_{00}$ and its derivatives:
in which $\textrm{D}_{x},\textrm{D}_{y}$ denote the total derivative operators with respect to x, y, respectively. A smooth function of the jet coordinates, defined an open subset of $\textrm{J}^{n}$ , is known as a differential function. A projective differential invariant is a differential function that is unchanged by the prolonged projective group action. Note: When writing ‘differential invariant’ without qualification, we always mean an absolute differential invariant. Often these are ratios of two relative differential invariants having the same weight, see [Reference Olver13]. We begin by noting the obvious differential invariant of order 0
resulting from the intransitivity of the group action.
In local coordinates, the prolonged action is explicitly given by
where
are the operators of implicit differentiation. They are dual to the transformed one-forms
which are obtained by differentiating the expressions for X, Y in (1). Duality means that the horizontal differential [Reference Olver13] of a differential function $F(x,u^{(u)})$ is given by
Let us construct the moving frame based on the cross-section
We will not write out the explicit formulas for the transformed jet coordinates (5) during our implementation of the normalisation procedure but just display the results of the Mathematica calculation. At each stage, the successive partial normalisations of the group parameters are substituted into the remaining formulas before effecting the next round of normalisations. However, it is important that the prolonged transformation formulae be computed in advance, before any normalisation is implemented; an alternative strategy would be to employ the recursive normalisation algorithm developed in [Reference Olver16], which has the advantage of determining the formulas for the projective differential invariants in terms of differential invariants of its subgroups; this remains to be written down in detail.
First, setting $X=Y=0$ produces
Next, setting $\displaystyle{U_X=1,\ U_Y=0}$ , implies
The second-order normalisations are done in two steps. First, setting $\displaystyle{U_{XX}=U_{XY}=0}$ yields
where
We then substitute these values and solve $\displaystyle{U_{YY}=1}$ for
where
Substituting (13) into (11) produces the slightly simpler formulas
where
We note that the second-order differential polynomial J given in (14) is a relative differential invariant, transforming under the projective action (1) according to
The multiplier function $W^2$ is also known as the weight of J. We refer the reader to [Reference Li, Mo, Xu and Li8] and [Reference Tuznik, Olver and Tannenbaum21] for applications of J in image analysis. We are assuming $J > 0$ . If $J< 0$ , we can replace J by $- J$ in any square roots that appear or, alternatively, use its absolute value throughout. Also, as in most moving frame calculations in the literature, we ignore any discrete ambiguities caused by the change of sign in a square root, which are due to the local freeness of the prolonged group action, cf. [Reference Fels and Olver4]. (See [Reference Olver15] for a complete discussion of sign ambiguities in the case of Euclidean curves.)
The points where J vanishes define the singular subvariety $\mathcal{V} = \{ J = 0\}$ , where the orbits of the prolonged the action of $\textrm{PSL}(2)$ have less than maximal dimension, and are not covered by the moving frame constructed here. Isolated points where J vanishes can be handled by using a higher order moving frame. On the other hand, the functions for which $J \equiv 0$ are totally singular [Reference Olver14] and therefore do not admit a moving frame of any order. They can be explicitly characterised as follows.
Theorem 1. Let u(x, y) be a $\textrm{C}^{2}$ function with domain $D \subset \mathbb{R}^2$ that has non-zero gradient everywhere in its domain: $\nabla u = (u_x,u_y) \ne 0$ . Then u is a solution to the quasilinear partial differential equation
if and only if all its level curves $u(x,y) = c$ , for $c \in \mathbb{R}$ , are straight line segments or disjoint unions thereof.
Note that if $\nabla u \equiv 0$ on a connected open set, then u is constant and has no level curves there. Otherwise, isolated points and curves on which $\nabla u = 0$ will correspond to intersections, limit points and envelopes [Reference Courant2] of its level curves.
Remark: The second-order parabolic quasilinear partial differential equation (18) was analysed in [Reference Anderson and Kamran1], where it was shown to have vanishing Goursat invariant and hence infinitely many non-trivial (generalised) conservation laws and, in particular, infinitely many inequivalent Lagrangians.
Proof Let $(x_0,y_0) \in D$ . We assume, without loss of generality, that $u_y(x_0,y_0) \ne 0$ , and hence, by continuity, also in a neighbourhood of $(x_0,y_0)$ . Otherwise, we must have $u_x(x_0,y_0) \ne 0$ , and we can apply the following arguments with the roles of x and y reversed. The implicit function theorem implies that the level curve passing through $(x_0,y_0)$ can be locally parametrised by $y = y(x)$ . Then, differentiating the level curve equation
twice with respect to x yields
Combining the second and third equations produces
Thus, if u satisfies (18), then its level curve satisfies $y_{xx} = 0$ , and hence must be a straight line.
An alternative proof proceeds by noting that one can write J as multiple of a Jacobian determinant:
Thus, if (18) holds, then the functions u and $u_y/u_x$ are functionally dependent, so, locally, ${u_y}/{u_x} = h(u)$ for some scalar function h(u), or, equivalently,
Using the method of characteristics [Reference Olver17], one deduces that any solution to such a quasilinear first-order partial differential equation is constant on its characteristic curves, which, in this case, are straight lines.
In particular, if the solution to (18) is defined and has non-vanishing gradient for all $(x,y) \in \mathbb{R}^2$ , then its level curves corresponding to different values of c cannot cross,Footnote 1 and hence must all be parallel straight lines. This implies:
Corollary 2. The only globally defined solutions to (18) are functions of the form $u = g(a x + b y )$ for $a,b\in \mathbb{R}$ and g(t) an arbitrary scalar function.
Of course, there are many locally defined solutions that are not of this special form.
Returning to our moving frame calculation, we now recall the unimodularity constraint (2) Under the normalisations accumulated so far (9, 10, 13, 15), this becomes
which serves to constrain the values of $\lambda, \mu $ when we perform the final normalisation $\displaystyle{U_{YYY}=0}$ , which yields
where
We remark that, despite its elegance and similarity to (14), the differential polynomial K in (22) is not a relative invariant, meaning that, under the group action (1), it does not transform to a multiple of itself. Third-order relative invariants will appear in the expressions for the (absolute) differential invariants below.
This completes our derivation of the moving frame based on the cross-section (8). The right equivariant moving frame map $\rho \colon \textrm{J}^3 \setminus \mathcal{V} \to \textrm{PSL}(3)$ is obtained by combining the preceding normalisation formulas (9, 10, 13, 15, 21), producing fairly long formulas for all the group parameters in terms of the third-order jet coordinates, which we will not write out in detail.
There are three functionally independent third-order (absolute) differential invariants, corresponding to the invariantisations of the remaining third-order jet coordinates:
To obtain their explicit formulas, we merely substitute the moving frame normalisations (9, 10, 13, 15, 21) into the formulas for the unnormalised transformed third-order jet coordinates $U_{XXX},U_{XXY},U_{XYY}$ , respectively, to eliminate all the group parameters. The resulting expressions are the third-order differential invariants. First,
The fact that $\widehat{I}_1,I_2,I_3$ are absolute differential invariants implies that their numerators $L_1,L_2,L_3$ are relative differential invariants of weights $W^4, W^9, W^6$ , respectively, where $W^2$ denotes the weight of J, cf. (17). The explicit formulas are as follows:
where
is the Hessian of the function u, while
where
Again, it is worth noting that, while J and $L_1,L_2,L_3$ are relative differential invariants, their individual summands are not, and neither are $H,K, M_1,M_2,M_3$ . The third-order relative differential invariant $L_3$ was found in [Reference Li, Mo, Xu and Li8]; the other two third-order relative differential invariants $L_1,L_2$ appear to be new.
There are five independent fourth-order differential invariants, given by invariantising the corresponding jet coordinates:
As we will see, these can all be generated by invariantly differentiating the third-order differential invariants, which implies that the latter along with the order 0 differential invariant $I_0 = u$ form a generating set for the differential invariant algebra. To prove this, we use the symbolic moving frame calculus [Reference Fels and Olver4, Reference Olver18] to construct the recurrence formulae that relate the invariantly differentiated and normalised differential invariants.
First, normalising the implicit differentiation operators (6) using the moving frame formulas yields the explicit formulas for the two invariant differential operators:
By definition, applying $\mathcal{D}_1, \mathcal{D}_2$ to any (absolute) differential invariant produces another differential invariant. (However, applying $\mathcal{D}_1$ or $\mathcal{D}_2$ to a relative differential invariant does not necessarily produce a relative differential invariant, see below.) According to the Lie–Tresse theorem, [Reference Fels and Olver4, Reference Kruglikov and Lychagin7], we can generate all the higher order differential invariants by applying these operators to a finite generating set of differential invariants. We note that the invariant differential operators do not commute; indeed, their commutator is given by
is the sole commutator invariant. The commutator (30) can also be straightforwardly deduced using the general symbolic moving frame calculus.
We begin by invariantly differentiating the order 0 invariant $I_0 = u$ :
which are easy to check directly from the formula (29). The right-hand sides of (31) are trivially invariant since they are constant, and consequently not of any help. We also note
which are found by direct calculation. However, these are not relative differential invariants, and we will not make use of these formulas here.
We compute the higher order recurrence formulas by implementing the standard symbolic algorithm, [Reference Fels and Olver4, Reference Olver and Polat20], in Mathematica. The starting point is the following basis for the infinitesimal generators of the projective action (1):
These are prolonged to the jet spaces and then used to write out the associated recurrence formulae. Leaving out the intermediate details, after solving for the Maurer–Cartan invariants, the third-order recurrence formulas take a relatively simple form:
Thus, we can generate all the fourth-order differential invariants (28) except $I_8$ by differentiating the third-order differential invariants. Since $I_8$ can be deduced from the commutator invariant Y, we can use the commutator trick, as in [Reference Olver and Polat20], to also generate it. Moreover, since the moving frame has order 3, a general theorem [Reference Fels and Olver4] implies that we can generate all differential invariants by invariantly differentiating the normalised differential invariants of order $\leq 4$ . The only differential invariant we cannot generate in this fashion is the trivial order 0 invariant $I_0 = u$ . We have thus proved that the four differential invariants $I_0,I_1,I_2,I_3$ of order $\leq 3$ generate the projective differential invariant algebra.
Further detailed analysis of the recurrence formulae can be used to reduce the number of generators to two.
Theorem 3. The differential invariant algebra for the projective action (1) on surfaces $S \subset \mathbb{RP}^2 \times \mathbb{R}$ is generated by the order 0 invariant $I_0 = u$ along with the third-order differential invariant $I_3$ , as given in (23, 26, 27).
Remark: This almost proves that $I_0,I_3$ form a minimal generating set. Indeed, by (31), we clearly cannot generate $I_3$ from $I_0$ . On the other hand, invariantly differentiating $I_3$ does not produce a differential invariant that explicitly depends on u, and hence we also clearly cannot generate $I_0$ from $I_3$ . However, there is the (remote) possibility that starting with some cleverly chosen differential invariant that depends on both u and the higher order invariants, one might be able to generate both $I_0$ and $I_3$ by combining its invariant derivatives. This seems extremely unlikely, but I am as yet unable to completely rule this out. On the other hand, if this were the case, one could start with the commutator trick to generate Y, as given in (30), in terms of the purported generator, and then proceed from there. But I find it hard to believe this strategy would be successful. Unfortunately, when dealing with more than one independent variable, there is no known criterion for proving that a generating set of differential invariants is minimal – unless it happens to consist of just one differential invariant!
Proof Starting with $I_3$ , we first apply the commutator trick referenced above to $I_3$ in order to generate the commutator invariant $Y= - \textstyle \frac{1}{6} I_8 + I_3$ , and hence $I_8$ , as a rational function of $I_3$ and its invariant derivatives. On the other hand, using the last two recurrence formulas (34) for the derivatives of $I_3$ , we can also generate the third-order differential invariants $I_6 - I_1$ and $I_7 - 3 I_2$ .
We now need the fourth-order recurrence formulas:
where
are the functionally independent fifth-order differential invariants. This allows us to compute
We have already shown how to generate the terms on the left-hand side and the terms in the parentheses by suitably combining invariant derivatives of $I_3$ , and hence the same holds for $I_1 - 2 I_6$ . But we also know how to generate $I_1 - I_6$ , and hence we can generate both $I_1$ and $I_6$ individually. Finally, we use the recurrence formulae (34, 35) to compute
The right-hand side depends linearly on $I_2$ . Moreover, we already know how to express the left-hand side and all terms other than $I_2$ on the right-hand side in terms of $I_3$ and its invariant derivatives. Thus, assuming
then we can solve (37) to express $I_2$ as a rational function of $I_3$ and its invariant derivatives. Since $I_8$ has order 4, while $I_3$ has order 3, and the invariant differential operator $\mathcal{D}_2$ is explicitly given in (29), it is easily checked that condition (38) holds for generic surfaces $u = f(x,y)$ . It would be of interest to classify those surfaces for which the non-degeneracy condition (38) fails.
We have thus generated both $I_1$ and $I_2$ from $I_3$ , thereby completing the proof of Theorem 1. The explicit formulas expressing them as rational combinations of the invariant derivatives of $I_3$ can be constructed by implementing the above manipulations. However, they are quite complicated and not especially enlightening, and thus will not be displayed.
Remark: The commutator trick used at the outset also requires that the surface be suitably generic. Applying the argument in [Reference Olver19], genericity fails when the surface is degenerate in the sense that there exist scalar functions $F_1(t), F_2(t)$ , such that, when evaluated on the surface, the differential invariant $I_3$ satisfies the equations
It would also be of interest to classify such projectively degenerate surfaces.
Acknowledgements
It is a pleasure to thank Hua Li for inspiring me to undertake these calculations, Niky Kamran for comments on an earlier version, and Marc Härkönen for further remarks.
Conflict of interests
None.