Abstract
Tight frame grouplet transform is a kind of weighted multiscale Haar transform with a causality imposed on the association field. Defined with a causality property, multiscale association fields become more flexible to construct grouplets which can adapt the different geometry structure in different scales. Grouplet transform uses the block matching algorithm to compute association field coefficients, which needs more operations than the computation of grouplet coefficients. An algorithm named LD-PO based on line detection and partial ordering is proposed to make grouplet transform become more efficient. It takes the place of block matching algorithm to compute association field coefficients. The LD-PO algorithm uses line detection masks and the feature of partial ordering to compute geometric flow in an image. Experimental results show that tight frame grouplet using LD-PO algorithm can also reconstruct an image with no loss. Compared with the block matching algorithm, it’s complexity to compute association field coefficients is fewer and the loss of grouplet coefficients’ sparsity can be ignored.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Images often contain regions composed of locally oriented structures. These geometric structures provide fundamental features for many problems in computer vision and image processing [1]. It is required to improve state of image processing algorithms to efficiently represent these complex structures.
Wavelet bases are the optimal bases that represent point singularity. They can adapt the processing resolution to the local image regularity [2]. However, the discontinuity of natural images is usually represented by smooth curves because natural objects’ edges and borders are smooth. Wavelet bases are suboptimal to represent images that contain complex geometrical structures because their square support is not adapted to represent linear singularity. To take advantage of geometrical image regularities in space or time, Mallat proposed grouplet orthogonal bases and tight frames [3]. In spirit of the “Gestalt” psychophysics school [4,5,6], the geometry is constructed with grouping processes which define multiscale association fields [7]. Many researchers have applied grouplet model to practice. A reduced reference perceptual image quality measure based on the grouplet transform is proposed in [8]. In order to get better fusion effect, grouplet transform is applied and coefficients are fused by PCNN [9]. An advanced grouplet transform is proposed that make use of the advantage of Greedy algorithm and Dynamic Programming algorithm in association fields pruning [10]. A grouplet framework is presented to be applied to inpainting and synthesis [11].
This paper introduces algorithm based on line detection and partial ordering to compute association fields which is along the orientation of geometric flow [12,13,14]. Section 2 describes the coefficient layer computation of tight frame grouplet. Section 3 introduces algorithm based on line detection and partial ordering in the association field layer computation. Experimental results are described in Sect. 4 to show advantages of the presented algorithm LD-PO.
2 Tight Frame Grouplet Coefficients Layer Computation
2.1 Forward Decomposition
Different from orthogonal grouplet, tight frame grouplet is redundant and can be constructed without an embedded subgrid structure. It ascribes to the use of partial ordering. To an image \( F \) including \( N \) samples, a grouplet frame transforms it into multiscale difference coefficients and coarse scale average coefficients. We can get these coefficients from successive grouping and computation according to multiscale association fields.
Initialize \( a = F \). A new array \( s[n] \) which ensures energy conservation is created to store the support size of the averaging coefficients of \( F \). At the initialization, for \( j = 0 \), since \( a = F \), it results that \( s[m] = 1 \) for any integer \( 1 \le m \le N \). For \( j \) going from 1 to \( J \), the averaging size is update by
difference coefficient is computed by
average coefficient is computed by
These values are stored “in place”: \( a[m] = \hat{a} \) and \( s[m] = \hat{s} \). At the coarsest scale \( 2^{J} \), for all m, the average coefficients are normalized:
A forward decomposition transforms an image \( F \) of size \( N \) into a family of \( J + 1 \) grouplet coefficient arrays \( \left\{ {d_{j} [m],a_{J} [m]} \right\}_{1 \le j \le J} \). For a signal of \( N \), Eqs. (1), (2) and (3) compute the \( (J + 1)N \) grouplet coefficients with \( O(JN) \) operations.
2.2 Backward Decomposition
A backward decomposition can restore an image \( F \) from its grouplet coefficients \( \left\{ {d_{j} [m],a_{J} [m]} \right\}_{1 \le j \le J} \). Tight frame grouplet has an infinite number of left inverses because of the redundant representation. The best inverse for noise removal by thresholding is the pseudo-inverse [3].
The average coefficient normalization (4) is then inverted
Each grouping operator is then inverted in the reverse order it was calculated. For \( j \) decreasing from \( J \) to 1, the scale support is updates by
By inverting the grouplet transform (2) and (3), the finer scale average coefficients are computed:
and
[3] also proves that the pseudo-inverse is implemented with equal averaging weights on causal and anti-causal reconstructions:
The averaging size is then updated \( s[m] = \tilde{s}. \)
At the end of the loop over all \( j \) and \( n \), this left inverse reconstructs the image \( F = a \). If \( F \) has \( N \) samples, this reconstruction is performed with \( O(JN) \) operations.
3 Tight Frame Grouplet Association Field Layer Computation
3.1 The Complexity of Block Matching Algorithm
For a giving image \( F \in {\mathbb{R}}^{2} \) that has \( N = n \times n \) pixels, we need to estimate the local texture orientation and the association fields \( \left\{ {A_{j} [m]} \right\} \) store the difference of positions among different points. Block matching algorithm [15] is used to compute association fields in [3], it finds the \( p = m \) which minimizes this distance:
In Eq. (10), the size of the neighborhoods \( N(\hat{m}) \) is \( K \cdot B(p) \) is a block of \( P \) points. The block matching computes the \( JN \) values of the \( J \) association fields \( A_{j} \) with \( O(JNKP) \) operations. If we compute all association fields from the finest scale association field \( A_{1} \), the computational complexity becomes \( O(NKP + JN) \). It’s important to point out that the value of \( J \) is usually far less than the value of \( KP \) when it comes to the practical application. It means that the complexity of a whole tight frame grouplet is up to the complexity of association field layer computation. Proposed algorithm in this paper is aimed to reduce the complexity and it just need \( O(JN) \) operations, which will be proved in Sect. 3.2.
3.2 Proposed Algorithm Based on Line Detection and Partial Ordering
It is well known that discrete wavelet transform has an orientation selectivity. For example, for a scale \( 2^{j} \) that increases from \( 2^{1} \) to \( 2^{J} \), and for all \( 0 \le n < 2^{ - j} N \), the Haar transform groups consecutive average coefficients \( a[2n] \) and \( a[2n + 1] \), and it computes a next scale average
together with a normalized difference:
In scale \( 2^{j} \), we first compute coefficients along the horizontal direction and then along the vertical direction according to Eqs. (11) and (12). The image is then divided into four parts: average coefficients \( LL \), difference coefficients along the horizontal direction \( HL \), difference coefficients along the vertical direction \( LH \) and difference coefficients along the diagonal direction \( HH. \)
It is obviously not enough to express images with complex shapes and textures in three orientations. In contrast to determining the direction from the coarse scale in discrete wavelet transform, a new geometric flow computation algorithm named LD-PO based on line detection and partial ordering is proposed. For spatial geometric grouping, a grouplet partial ordering can be defined with respect to a preferential direction of angle \( \theta \). A point \( x = (x_{1} ,x_{2} ) \in {\mathbb{R}}^{2} \) is said to be before \( \tilde{x} = (\tilde{x}_{1} ,\tilde{x}_{2} ) \in {\mathbb{R}}^{2} \) with respect to a partial ordering of angle \( \theta \) if
Proposed algorithm LD-PO aims to compute geometric flow from pixel level. It is normally hard to complete the computation, but the use of partial ordering dramatically simplifies the computation. Figure 1(a) shows a binary image. The red line is discretized and represented by black pixels. If partial ordering of angle \( \theta = 0 \) in Eq. (13) is used, which means that coefficients are ordered by columns by columns, the red line then can be regard as a geometric flow of this binary image and the flow’s orientation is from right to left. A point \( \tilde{m} \) is grouped with \( m \) which is before \( \tilde{m} \), if point \( \tilde{m} \) and \( m \) are along the same geometric flow. The angle range from \( m \) to \( \tilde{m} \) is \( ( - 90^\circ , + 90^\circ ) \). The difference of positions is stored in an association field array: \( A_{j} [\tilde{m}] = m - \tilde{m} \).
In this paper, geometric flow is regarded as the composition of numerous polygonal lines in pixel-level. Proposed algorithm LD-PO looks for polygonal lines by running a \( 3 \times 3 \) mask through the image. The response of the mask at any point is acquired by computing the sum of products of the coefficients with the gray levels contained in the region encompassed by the mask:
In Eq. (14), \( z_{i} \) is the gray level of the pixel associated with mask coefficient \( w_{i} \) Particularly, \( z_{i} \) takes value in set \( \{ 0,1\} \) in binary image. As usual, the response of the mask is defined with respect to its center location. Figure 2 (b), (c) and (d) are line detection masks which will respond strongly to lines oriented at \( 0^\circ \), lines oriented at \( + 45^\circ \) and lines oriented at \( - 45^\circ \) respectively.
When association field array \( A_{j} [\tilde{m}] \) is computed by \( 3 \times 3 \) mask, the angle from \( m \) to \( \tilde{m} \) takes value in set \( \{ - 45^\circ ,0^\circ , + 45^\circ \} \). Proposed algorithm LD-PO uses line detection masks \( LD_{i} \) in Fig. 2 to find the \( m \) which maximizes:
\( BP_{{\tilde{m}}} \) is a \( 3 \times 3 \) image matrix, in which center location point \( \tilde{m} \) is. It’s then transformed into a binary matrix by:
Thresholding criteria \( Av \) is the average gray value of image matrix \( BP_{{\tilde{m}}} \) in Eq. (16). Notation \( i \) in Eq. (15) represents the direction that mask \( LD \) detects. The LD-PO algorithm computes absolute value of the sum of products to void discussing opposite situation in Fig. 1(b), in which situation the best response is a negative value.
After finding the best point \( m \), we associate point \( \tilde{m} \) to m and update association field array: \( A_{j} [\tilde{m}] = m - \tilde{m} \) in scale \( 2^{j} \). The size of binary matrix \( BP \) and line detection mask \( LD \) is a fixed value 9 and it needs to compute just 3 times to find the best orientation. To an image \( F \) with \( N \) samples, proposed algorithm LD-PO computes the \( JN \) values of the \( J \) association fields \( A_{j} \) with \( O(27JN) = O(JN) \) operations, which has the same complexity as forward decomposition.
4 Experimental Results and Conclusions
We perform experiments to validate the efficiency of the proposed LD-PO algorithm and compare it with block matching algorithm used by Mallat in [3]. Standard test images in Fig. 3 are selected whose gray level is 256, including Lena of size \( 512 \times 512 \) and Babar of size \( 128 \times 128 \). Each image is transformed by tight frame grouplet respectively using LD-PO algorithm and block matching to compute association fields.
Figure 4 shows experimental results on image Lena by tight frame grouplet using block matching and results of proposed LD-PO algorithm are showed in Fig. 5. According to the comparison of (a) and (b) in Figs. 4 and 5, LD-PO algorithm can also describe detail information. Figure 5(d) is the result of inverse grouplet transform, which shows LD-PO algorithm’s same ability to reconstruct image perfectly like block matching algorithm.
Figure 6 describes image Babar’s geometric flow in scale \( 2^{1} \), in which scale the flow is the finest. Geometric flow computed by block matching is showed in Fig. 6(a) and (c). Flow computed by LD-PO algorithm is showed in Fig. 6(b) and (d). According to the comparison of (a) and (b), although some of the arrows are a bit messy, geometric flow represents the texture orientation successfully in Fig. 6(b). The reason resulting messy arrows is that line detection masks respond strongly to lines on one pixel thick. These messy arrows well represent the edge of geometric flow.
From Tables 1 and 2, we can see that the proposed LO-PO algorithm need less time than block matching to compute association field coefficients with little loss of sparsity. Errors of reconstruction can also be ignored.
Conclusion.
In this paper, the computation of association field is improved by LD-PO algorithm. Compared with block matching, the experimental results show that the new method reflects a high efficiency in tight frame grouplet to compute association field coefficients. The tight frame grouplet using proposed algorithm will be applied widely in the future, such as image zooming based on geometric flow, SAR image road detecting, image compression based on texture and so on. How to use it to image processing application widely will be the emphasis of our research in the future.
References
Landy, M., Movshon, J.A.: Computational Modeling of Visual Texture Segregatio, pp. 253–271. MIT Press, Cambridge (1991)
Le Pennec, E., Mallat, S.: Bandelet image approximation and compression. Multiscale Model. Simul. 4(3), 992–1039 (2005)
Mallat, S.: Geometrical grouplets. Appl. Comput. Harmon. Anal. 26(2), 161–180 (2009)
Bressloff, P.C., Cowan, J.D.: The functional geometry of local and horizontal connections in a model of v1. J. Physiol.-Paris 97(2), 221–236 (2003)
Heeger, D.J., Simoncelli, E.P., Movshon, J.A.: Computational models of cortical visual processing. Proc. Natl. Acad. Sci. 93(2), 623–627 (1996)
Hess, R.F., Hayes, A., Field, D.J.: Contour integration and cortical processing. J. Physiol.-Paris 97(2), 105–119 (2003)
Field, D.J., Hayes, A., Hess, R.F.: Contour integration by the human visual system: evidence for a local “association field”. Vis. Res. 33(2), 173–193 (1993)
Maalouf, A., Larabi, M.C., Fernandez-Maloigne, C.: A grouplet-based reduced reference image quality assessment. In: Quality of Multimedia Experience, QoMEx 2009, San Diego, pp. 59–63. IEEE (2009)
Lin, Z., Yan, J., Yuan, Y.: Algorithm for image fusion based on orthogonal grouplet transform and pulse-coupled neural network. J. Electron. Imaging 22(3), 033028 (2013)
Yan, J., Wang, Z., Dai, L., et al.: Image denoising with Grouplet transform. In: 2010 2nd International Conference on Advanced Computer Control (ICACC), vol. 3, pp. 65–69. IEEE, Shen Yan (2010)
Peyré, G.: Texture synthesis with grouplets. IEEE Trans. Pattern Anal. Mach. Intell. 32(4), 733–746 (2010)
Almeida, M.P.: Anisotropic textures with arbitrary orientation. J. Math. Imaging Vis. 7(3), 241–251 (1997)
Ben-Shahar, O., Zucker, S.W.: The perceptual organization of texture flow: a contextual inference approach. IEEE Trans. Pattern Anal. Mach. Intell. 25(4), 401–417 (2003)
Jain, A., Hong, L., Bolle, R.: Online fingerprint verification. IEEE Trans. Pattern Anal. Mach. Intell. 19(4), 302–314 (1997)
Barjatya, A.: Block matching algorithms for motion estimation. IEEE Trans. Evol. Comput. 8(3), 225–239 (2004)
Acknowledgments
This article was sponsored by the National Natural Science Foundation of China (No. 61672335) and the National Natural Science Foundation of China (No. 61772144).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Yan, J., Yuan, Z., Xie, T., Zhao, H. (2017). An Algorithm for Tight Frame Grouplet to Compute Association Fields. In: Zhao, Y., Kong, X., Taubman, D. (eds) Image and Graphics. ICIG 2017. Lecture Notes in Computer Science(), vol 10667. Springer, Cham. https://doi.org/10.1007/978-3-319-71589-6_17
Download citation
DOI: https://doi.org/10.1007/978-3-319-71589-6_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-71588-9
Online ISBN: 978-3-319-71589-6
eBook Packages: Computer ScienceComputer Science (R0)