Next Article in Journal
Role of Asymmetric Autocatalysis in the Elucidation of Origins of Homochirality of Organic Compounds
Previous Article in Journal
Characterization of Symmetry of Complex Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Weighted Fourier and Wavelet-Like Shape Descriptor Based on IDSC for Object Recognition

Institute of Intelligent Control and Image Engineering, Xidian University, Xi’an 710071, China
*
Author to whom correspondence should be addressed.
Symmetry 2019, 11(5), 693; https://doi.org/10.3390/sym11050693
Submission received: 18 April 2019 / Revised: 16 May 2019 / Accepted: 16 May 2019 / Published: 20 May 2019

Abstract

:
This article presents an effective shape descriptor with a property of fast matching. This descriptor, called IDSC-wFW (a weighted Fourier and wavelet-like descriptor based on inner distance shape context), first rewrites shape histograms of IDSC descriptors, changing the histogram belonging to a point to the histogram belonging to a field, and sets the histogram of a field as a one-dimensional signal, then transforms this one-dimensional signal by using a Fourier transform and a transform similar to Haar wavelet. Finally, the two transform results are linearly combined to form a new descriptor. This new descriptor requires only a distance-based measure method during the matching stage. Experimental results on three well-known databases show that this new descriptor not only obtains accurate retrieval results but also runs fast.

1. Introduction

Shape is a very important feature of an object in computer vision. Human beings can judge the categories of objects even with this feature alone. For example, human eyes can easily distinguish between cats and dogs very quickly. The human eyes have two advantages, which are strong discriminability and high speed, respectively. Many scholars are interested in these two advantages. In the last ten years, contour-based descriptors have attracted a lot of attention. Contour-based descriptors usually sample the contour points uniformly, and then describe these sampling points.
The research about shape description developed slowly before 2000 [1]. From 2002, the study of shape descriptors entered a climax, and a large number of outstanding descriptors [2,3,4,5,6,7,8,9] emerged. The Shape Context (SC) method [5] creates a shape histogram for each contour sampling point and calculates the spatial distribution information of the remaining points to the relative point. The original version of the Shape Context uses TPS (Thin Plate Spline) to estimate the deformation cost, which is taken as a dissimilarity between two shapes during the matching process.
Many later algorithms are variations of the Shape Context—for example, IDSC. IDSC (Inner-Distance Shape Context) [3] replaces the Euclidean distance between two points with the inner distance, which gives this descriptor an ability to resist articulation. IDSC is a classic case of descriptors using DP (dynamic programming) in the matching process. DP is a good tool in shape matching. Bai et al. [10] use DP in the matching process of Shape Contexts to greatly improve its retrieval rate (bulls-eye test) on MPEG-7 CE-1 Part B Shape Database. DP can always make the retrieval rate of a descriptor higher than 80%. However, the DP matching method has a huge online calculation consumption.
Some description methods are known for speed. Fourier descriptors (FD) are very commonly used fast descriptors. In general, a shape needs to extract a one-dimensional signal [11], such as the distance between contour points and the center point [12]. Then, a one-dimensional signal is transformed by Fourier transform to obtain Fourier Descriptors. The Fourier descriptor is a global descriptor [13] and does not require dynamic programming. The dissimilarity between two shapes in the FD method can measured by distance metrics. Other descriptors using the spectral method behave similarly on MPEG-7 CE-1 Part B Shape Database [11,12,14,15], whose retrieval rates have a hard time exceeding 70%.
Hu et al. [13] proposed an MDM (multiscale distance matrix) descriptor; however, this descriptor is not effective enough on discriminability. Kaothanthong et al. [16] put forward the DIR (distance interior ratio) descriptor and its corresponding matching method. This method got more than a 77% retrieval rate on MPEG-7 CE-1 Part B with distance-based measurement only. Therefore, scholars see the hope of fast shape retrieval. With the influence of fast shape retrieval, this paper proposed a new fast shape descriptor IDSC-wFW, weighted Fourier and wavelet-like descriptor based IDSC, and this descriptor also has insensitivity to articulation.
In Section 2, the IDSC-wFW will be introduced in detail. The time complexity of the IDSC-wFW will be analyzed in Section 3. This article provides a lot of experimental results and discussion in Section 4 and Section 5. Finally, the conclusions are drawn.

2. The Weighted Fourier and Wavelet-Like Descriptor Based on IDSC

IDSC-wFW is a global descriptor that is transformed from IDSC through Fourier transform and wavelet-like transform. Only a simple matching method based on distance measurement is needed in IDSC-wFW. In this section, three descriptors (IDSC-wF, IDSC-wW and IDSC-wFW) are introduced.

2.1. Inner-Distance Shape Context

In the method of IDSC [3], the contour is represented by N histograms (there are N sampling points x 1 , x 2 , , x N on the contour), which describe the relationships between the relative point and the remaining points. The histogram h i ( k ) of the point x i [17], is calculated by
h i ( k ) = # { x j : j i , x j x i b i n ( k ) } , i = 1 , 2 , , N , j = 1 , 2 , , N , k = 1 , 2 , , K ,
where the bins divide the log-polar plane uniformly. If the Fourier transform is directly performed on each shape histogram, the matching algorithm based on the dynamic programming (DP) has to still be used, and the matching speed will not change. However, speeding up is an important goal of our study. Therefore, we have to rewrite the shape histogram of IDSC with Equations (2) to (3):
H = { h 1 , h 2 , h K } ,
h k ( i ) = # { x j : j i , x j x i b i n ( k ) } , i = 1 , 2 , , N , j = 1 , 2 , , N , k = 1 , 2 , , K ,
where N is the number of the sampling points, and K is the number of bins. It is clear that i and k are the index numbers of the sampling points and bins, respectively. Thus, h k is the kth field of H. H consists of K fields and each field of H is a sequence.
The rewritten histogram still form an IDSC feature. Such a new histogram uniquely corresponds to the one with the same bin value in another IDSC feature, due to the unique correspondence of the bins in original shape histograms. Therefore, in the matching process of rewritten IDSC features, finding the optimal correspondence of shape histograms with DP is no longer needed.
The rewritten histogram is one period of a periodic signal with an indeterminate starting point. After performing the Fourier transform on the rewritten histogram, the matching process of the two transformed results only requires a distance metric. Distance metrics can greatly improve the matching efficiency of the descriptors.

2.2. Weighted Fourier and Wavelet-Like Descriptor IDSC-wFW

2.2.1. Weighted Fourier Descriptor IDSC-wF

The Fourier transform could be applied to each field of H. Equation (4) shows a kind of Fourier transform:
f k ( m ) = 1 N i = 0 N 1 h k ( i + 1 ) e x p ( j 2 π i m N ) , m = 0 , 1 , , N 1 ,
where the phase information is discarded [12]. For a periodic signal, although the difference of the start location only leads to the difference of the phase of its Fourier transform, amplitudes will not be changed by different start locations. Therefore, the Fourier transform that abandons the phase information is used to get invariance to a different start location. To get the robustness to noise, the coefficients lower than M order of f k are used in descriptors, where M is much smaller than N. These M coefficients have different importance. For example, the lowest order coefficient is the most stable and important. Therefore, the weights are necessary to these Fourier coefficients. Equations (5) and (6) show the weighted Fourier descriptor:
F k = { f k ( 0 ) · θ f 0 , f k ( 1 ) · θ f 1 , , f k ( M 1 ) · θ f M 1 } , k = 1 , 2 , , K ,
F = { F 1 , F 2 , , F K } ,
where θ f m is the weight of f k ( m ) , and F k is the k th field of this weighted Fourier descriptor F.

2.2.2. Weight Wavelet-Like Descriptor IDSC-wW

Wavelet transform is another applicable tool to get the feature of a signal. Inspired by the application of Haar wavelet transform [18], a novel wavelet-like descriptor is proposed in this article. The following Equations (7) to (10) are proposed by analysis on Haar wavelet:
d r + 1 ( i ) = [ d r ( 2 i ) + d r ( 2 i 1 ) ] · 0.5 , i = 1 , 2 , , N / 2 , r = 0 , 1 , , log 2 N 1 ,
d r + 1 ( i ) = d r ( 2 i N 1 ) d r + 1 ( i N / 2 ) , i = N / 2 + 1 , N / 2 + 2 , , N , r = 0 , 1 , , log 2 N 1 ,
o r + 1 ( i ) = o r ( 2 i ) , i = 1 , 2 , , N / 2 , r = 0 , 1 , , log 2 N 1 ,
o r + 1 ( i ) = o r ( 2 i N 1 ) + 1 , i = N / 2 + 1 , N / 2 + 2 , , N , r = 0 , 1 , , log 2 N 1 ,
where d r is a sequence containing N (in order to facilitate the calculation, N is necessary to be in the power of 2, N = 512 in this article) elements and d r + 1 is the transforming result of d r by Equations (7) and (8) above. The o r ( i ) is the order number of the i th element in d r ( i ) . d log 2 N can be obtained from d 0 through iterations with Equations (7) to (10) for log 2 N times.
It is important to note that these wavelet-like coefficients are not invariant to the start location of a circle sequence. Therefore, some preprocessing to the input sequence must be done. In this article, each field of IDSC shape context is sorted in ascending order, and the sorting result is expressed as h k s . Then, d k 0 is set as h k s , always o k 0 = 0 . The w k is obtained by Equation (11) below. It can be seen that w k consists of log 2 N elements. w k ( j ) describes the sum of amplitudes of d k log 2 N in the j th order:
w k ( j ) = i = 1 N ( s i g n ( i ) d k log 2 N ( i ) ) , j = 0 , 1 , 2 , , log 2 N , k = 1 , 2 , , K , s i g n ( i ) = 1 , o log 2 N ( i ) = j , 0 , o t h e r w i s e .
To get the robustness of the wavelet-like descriptor to noise, the first J elements of w k are used in the descriptor, where J is smaller than log 2 N . The weights are necessary for elements of w k as the same reason as the IDSC-wF:
W k = { w k ( 0 ) · θ w 0 , w k ( 1 ) · θ w 1 , , w k ( J 1 ) · θ w J 1 } ,
W = { W 1 , W 2 , , W K } ,
where θ w j is the weight of w k ( j ) , and W is the weighted wavelet-like descriptor. Just like the weighted Fourier descriptor, W k derived from h k is the k th field of this weighted wavelet-like descriptor.

2.2.3. Weighted Fourier and Wavelet-Like Descriptor

Generally, neither IDSC-wF nor IDSC-wW is enough for shape retrieval, therefore a more effective descriptor is necessary. When IDSC-wF is combined with IDSC-wW, the new descriptor is obtained. This new descriptor is named IDSC-wFW (the weighted Fourier and wavelet-like descriptor), and is shown as Equation (14). The experiments in Section 4.1 show that IDSC-wFW is more effective than either IDSC-wF or IDSC-wW:
I D S C w F W = { F , W } ,
where the I D S C w F W is the descriptor containing IDSC-wF and IDSC-wW.
No two descriptors are suitable for combination. However, IDSC-wW is suitable to be combined with IDSC-wF because they extract complementary information of one contour. IDSC-wW extracts the features of each field of the IDSC after sorting the field instead of the original field. That is to say, the IDSC-wW extracts the structural information of the contour in a different coding mode with IDSC-wF. This structural information is a supplement to the discriminability of IDSC-wF, so IDSC-wF and IDSC-wW are suitable for combining. In addition, the calculation of IDSC-wW is extremely inexpensive. When IDSC-wF and IDSC-wW are used together, the efficiency is not affected too much.

2.3. Invariance of IDSC-wFW

Both SC and IDSC have invariance on translation and scale. In addition, IDSC obtains the invariance on rotation with inner-angle. The IDSC-wFW descriptor consists of two parts, which are all transformed from IDSC. Both Fourier transform and wavelet-like transform cannot change the invariance of IDSC on rotation, transformation and scaling. Thus, the IDSC-wFW descriptor has the same invariance as IDSC on rotation, translation and scaling.

2.4. Shape Dissimilarity Measure

Given two IDSC-wFW descriptors, I D S C w F W ( A ) = { F ( A ) , W ( A ) } and I D S C w F W ( B ) = { F ( B ) , W ( B ) } , extracted from shapes A and B, respectively. The dissimilarity between shapes A and B is
D ( A , B ) = θ F D F ( A , B ) + θ W D W ( A , B ) ,
where the dissimilarity consists of two parts, which belong to IDSC-wF descriptor and IDSC-wW descriptor, respectively. θ F is the weight of the distance measured by IDSC-wF, and θ W is the weight of the distance measured by IDSC-wW. Equations (16) and (17) show how to compute D F ( A , B ) and D W ( A , B ) . In fact, when t = 1.5 , the precision is higher, but t is set to 1 to achieve higher efficiency. In other words, the city block distance is used in this approach:
D F ( A , B ) = k = 1 K m = 0 M 1 θ f m ( f ( A ) k ( m ) f ( B ) k ( m ) ) t ,
D W ( A , B ) = k = 1 K j = 0 J 1 θ w j ( w ( A ) k ( j ) w ( B ) k ( j ) ) t .

3. Computational Complexity

The computational complexity of IDSC-wFW consists of four parts: O ( N 3 ) of computing the inner distance with the shortest path algorithm [3], O ( N 2 ) of constructing the histograms, O ( ( M + J ) K N ) of the Fourier transform and the wavelet-like transform, and O ( ( M + J ) K ) of the matching cost, respectively. Usually, M 2 log 2 N and J log 2 N , so O ( ( M + J ) K ) = O ( K log N ) . The fourth part cost, O ( K log N ) , is the most important for online retrieval in a large database. The work of extracting shape features can be done offline; however, matching work must be done online, thus the matching complexity is more important. Table 1 shows the computational complexity of the matching cost of different methods.

4. Experiments

In the experiments of this article, the comparative methods are programed with Matlab software. Then, these methods are run on a personal computer with Intel(R) Core(TM) i5-4570 3.20 GHz CPU and 8 GB DDR2 RAM under Windows 10. As the dynamic programing program in IDSC [3] and SC [5] is time consuming heavily, it is written in C language in order to be comparative to other methods with an comparable time.

4.1. Experimental Results on the MPEG-7 CE-1 Part B Shape Database

To show the effectiveness of IDSC-wF, IDSC-wW and IDSC-wFW, a series of experiments are conducted. MPEG-7 CE-1 Part B shape database, which contains 1400 shape images consisting of 70 classes of various shapes with 20 images in each class, is a widely used database for evaluating performances of similarity-based shape retrieval methods and is used in this article with the same evaluating method (bulls-eye test) as in [3,5,19]. Some example shapes are shown in Figure 1.
The retrieval rates (bulls-eye test) of these three descriptors on MPEG-7 CE-1 Part B shape database are shown in Table 2, Table 3 and Table 4. In this experiment, the results show that when M (the number of the Fourier coefficients) is 12, the IDSC-wF obtained its highest retrieval rate of 81.64%, and when J (the number of the wavelet-like coefficients) is 2, the IDSC-wW obtained its highest retrieval rate of 71.87%. Table 4 shows that IDSC-wFW can obtain the higher retrieval rate than either IDSC-wF or IDSC-wW when M and J are 12 and 3, respectively. Therefore, it is determined that IDSC-wFW is more effective than IDSC-wF and IDSC-wW.
In these experiments, θ F = 1 and θ W = 7 , which are determined according to the empirical studies. Using Equations (18) to (19), we linearly reduce the weights of the higher frequency coefficients, as the contributions of the higher frequency components to the shape description are generally smaller than the low frequency components. The parameters d l f = 0.008 and d l w = 0.21 are also set according to the empirical studies:
θ f m = d l f ( ( M + 1 ) / 2 m ) + 1 , m = 1 , 2 , 3 , , M 1 ,
θ w j = d l w ( ( J + 1 ) / 2 j ) + 1 , j = 0 , 1 , , J 1 .
M = 12 and J = 12 are determined by the experimental results shown in Table 4. The six adjustable parameters above with the settings above are used in all experiments without tuning for any datasets. In Equations (4) and (11), with both f k ( 0 ) and w k ( 0 ) being the average of h k , θ f 0 is set as 0 because only one between them is needed for describing the shape.
The performance of the IDSC-wFW is also compared with the state-of-the-art approaches in terms of accuracy and speed. The parameters of other methods, with which all the methods can obtain their reported high retrieval rate on the MPEG-7 CE-1 Part B shape database, are also fixed without tuning.
The retrieval speed is measured by matching time, which is the time to compute the dissimilarities between the descriptor of query shape and the descriptors of all the shapes in the database. Table 5 shows the comparative results of the proposed IDSC-wFW and the-state-of-art benchmarks including DIR [16], MDM [13] and IDSC+DP [3]. It is clear that IDSC-wFW obtains a high retrieval rate (82.34%), which is a little lower than IDSC+DP (85.40%) but higher than DIR (77.69%) and MDM [13]. Fast descriptors do not use dynamic programming, and the IDSC-wFW outperforms all other methods on accuracy.
More importantly, this high retrieval rate of IDSC-wFW is achieved with a speed of more than 530 (6120.2/11.4 shown in Table 5) times faster than IDSC+DP, which uses DP for matching. This higher efficiency, relative to IDSC+DP, benefits from a matching approach based on distance metric with time complexity of O ( K log N ) . The time complexity of the matching method based on dynamic programming used in IDSC+DP has reached O ( K N 2 ) . The question is why IDSC-wFW can achieve the same level of retrieval rate with a matching approach with such a low degree of time complexity. The specific reasons are discussed in detail in Section 5.

4.2. Experimental Results on the Articulated Database

It is well known that some descriptors have strong insensitivity to articulation. IDSC-wFW derives this goodness from IDSC. To show this property of IDSC-wFW, the proposed descriptor is applied to the Articulated shape dataset [3], which contains 40 images from eight categories (see Figure 2).
To evaluate the retrieval accuracy of different methods, three most similar candidates to a query are chosen for statistics of retrieval results. In this statistical method, each image is set as a query and matched to other images of the database. The retrieval accuracy of the first, second and third most similar matches are the ratio of the correct matches to the retrieval times (40). The comparative experimental results are shown in Table 6. The results demonstrate that IDSC-wFW has the same insensitivity on articulation with IDSC [3]. In fact, at the average accuracy of the top three most similar matches, IDSC-wFW (85.00%) is a little better than IDSC (84.17%). As the parameters of IDSC are fixed to make it most suit MPEG-7 CE-1 Part B, the retrieval result is a little different from that made by [3].
In terms of efficiency, IDSC-wFW still has a speed of more than 530 (149774.1/279.3 shown in Table 6) times faster than IDSC+DP. The speed of other algorithms, relative to IDSC-wFW, is almost the same as in Section 4.1.

4.3. Experimental Results on the 270 Plant Leaf Database

To show the effectiveness of IDSC-wFW, a series of experiments are conducted on a plant leaf database. This plant leaf image database is collected by [21]. It contains many classes, but only 27 classes consist of more than 10 images. The first 10 images of each class, which consists of more than 10 images, are used to build a tidy database named “270 Plant Leaf” (see Figure 3. Leaf retrieval is widely used for evaluating the performance of the methods on shape retrieval. The large similarity between different classes and the variance between shapes in the same class are the main challenges in this experiment. The “Bulls-eye test” is used for measuring the performances of different methods in these experiments on the 270 Plant Leaf database.
Table 7 shows the retrieval rates of different methods. It is clear that IDSC-wFW achieves the highest score 80.7% among 76.37% of DIR [16], 79.07% of IDSC+DP [3], 79.93% of SC+DP [10] and 64.41% of MDM [13].
In order to show the performance of different methods better, their PR (Precision-Recall) curves are drawn in Figure 4. It seems hard to judge whether the IDSC-wFW performs the best in Figure 4. Therefore, a measure on the performance of the PR curves is used. This is the Area enclosed by the PR curve and the axis. IDSC-wFW achieves the largest Area of 0.471127, among ASD and CCD (0.407479), DIR (0.469016), FD (0.404098), FPD (0.354920), IDSC+DP (0.444379) and MDM (0.407438).
In terms of efficiency, IDSC-wFW is still much more efficient than IDSC+DP, as it has a speed of more than 590 (1065.3/1.8) times faster than IDSC+DP; it only spent 0.179% of the matching time used by DP-base methods. The speed of other algorithms relative to IDSC-wFW is almost the same as in Section 4.1 again.

4.4. Experimental Results on Sensitivity to Noise

In order to show the robustness of the proposed IDSC-wFW to noise, some experiments are conducted in this section. The same noise perturbation scheme, in which for each shape image in MPEG-7 CE-1 Part B dataset its coordinates (x,y) of the boundary points are added random Gaussian noise with different variance [11,19], is adopted. The noise corruption of a shape is measured by the signal-to-noise ratio (SNR) as
S N R = 10 log σ s 2 σ n 2 ,
where σ s 2 and σ n 2 are the variances of the signal and noise sequences, respectively.
In these experiments, the measure method is still the bulls-eye test. The Gaussian noise is added to the query. The bulls-eye test on MPEG-7 CE-1 Part B [3] is run 10 times with different levels of noise SNR = 10 db, 20 db, …, 100 db, respectively. Figure 5 summarizes the ability of the proposed IDSC-wFW to resist noise. It is clear that the performance of IDSC-wFW is not affected by the noise at 20 db to 100 db. When SNR = 10 db, the retrieval rate was still maintained over 80%.

5. Discussion

In the experimental results on MPEG-7 CE-1 Part B shape database, Figure 6 gives the retrieval results of four typical shapes obtained by IDSC+DP and the proposed IDSC-wFW. The results are listed and sorted in ascending order of dissimilarity (the top 10 ranked matches are shown). The odd columns are the results of IDSC-wFW, and the even columns are the results of IDSC+DP. Previously, IDSC+DP performs better than IDSC-wFW for simple shapes. However, for complex shapes, IDSC-wFW is much better than IDSC+DP—for example, flies and lizards.
The experimental results on the Articulated database shows that the proposed IDSC-wFW is insensitive to articulation, the same as IDSC, maybe a little better than IDSC. It can be seen in experimental results on the 270 Plant Leaf database that IDSC-wFW performs better than any other methods including IDSC+DP [3]. The experimental results on the 270 Plant Leaf database prove the superiority of the proposed IDSC-wFW in plant leaf retrieval. The experimental results on sensitivity to noise show that IDSC-wFW has strong anti-noise ability.
The high efficiency and effectiveness of the IDSC-wFW have been confirmed by experiments in Section 4. However, why does IDSC-wFW run both fast and accurately? The reason is introduced next. The shape context used by IDSC+DP is based on the primitive (contour sampling points) representation, which creates a shape histogram for a primitive. A histogram contains several fields. Since the relative order between the primitives is uncertain, IDSC+DP has to assume that the primitives are completely independent when matching. Then, DP finds the best correspondence between the two sets of primitives. However, in fact, the relative order exists between neighboring primitives at high probability. In other words, IDSC+DP wastes the value of the relative order at high probability between primitives.
In the proposed approach, shape context is reconstructed into a new feature based on the field representation. Each field representation is a vector, whose element is determined by its corresponding primitive (contour point). Then, the Fourier transform and the wavelet-like transform are applied to the vector (sequence) of each field. These two transforms can ignore some large deviation in a sequence. They extract the strong features in a sequence. Therefore, the discriminability of the IDSC-wFW is not worse than the original IDSC. In addition, the compatibility between the frequency domain descriptor and the distance metric method is so good in the matching process. The Fourier transform and the wavelet-like transform are performed offline. Thus, IDSC-wFW runs fast and accurately.
Overall, all the above advantages and disadvantages of IDSC-wFW are related to the special processing in the frequency domain. In terms of effectiveness, IDSC-wFW reduces high frequency noise, which always causes large dissimilarity between shapes in the same class. In terms of efficiency, the processing in the frequency domain makes the IDSC-wFW work well with an efficient distance metric method on the matching stage.

6. Conclusions

A new shape descriptor with its matching method is proposed in this article. It is evaluated on several common databases (Articulated Database, 270 Plant Leaf and MPEG-7 CE-1 Part B Shape Database) against IDSC+DP [3], SC [5], DIR [16], and MDM [13]. The experimental results show that the proposed IDSC-wFW is suitable for being used in large databases or online retrieval.

Author Contributions

Conceptualization, Y.Z.; methodology, Y.Z.; software, Y.Z.; validation, C.L.; formal analysis, C.L.; investigation, Y.Y.; resources, B.G.; data curation, B.G.; writing riginal draft preparation, Y.Z.; writing review and editing, Y.Y.; supervision, B.G.; funding acquisition, B.G.

Funding

This work was supported by the National Natural Science Foundation of China under Grants No. 61305040, 61601352 and 61571346.

Acknowledgments

The authors would like to thank the reviewers for their hard work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Loncaric, S. A survey of shape analysis techniques. Pattern Recognit. 1998, 31, 983–1001. [Google Scholar] [CrossRef] [Green Version]
  2. Alajlan, N.; El, R.I.; Kamel, M.S.; Freeman, G. Shape retrieval using triangle-area representation and dynamic space warping. Pattern Recognit. 2007, 40, 1911–1920. [Google Scholar] [CrossRef]
  3. Ling, H.; Jacobs, D.W. Shape classification using the inner-distance. IEEE Trans. Pattern Anal. Mach. Intell. 2007, 29, 286–299. [Google Scholar] [CrossRef] [PubMed]
  4. Xu, C.; Liu, J.; Tang, X. 2D shape matching by contour flexibility. IEEE Trans. Pattern Anal. Mach. Intell. 2009, 31, 180–186. [Google Scholar] [PubMed]
  5. Belongie, S.; Malik, J.; Puzicha, J. Shape matching and object recognition using shape contexts. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 24, 509–522. [Google Scholar] [CrossRef] [Green Version]
  6. Grigorescu, C.; Petkov, N. Distance sets for shape filters and shape recognition. IEEE Trans. Image Process. 2003, 12, 1274–1286. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Felzenszwalb, P.F.; Schwartz, J.D. Hierarchical Matching of Deformable Shapes. In Proceedings of the 2007 IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007. [Google Scholar]
  8. Junior, J.J.D.M.S.; Backes, A.R.; Bruno, O.M. Randomized neural network based descriptors for shape classification. Neurocomputing 2018, 312, 201–209. [Google Scholar] [CrossRef]
  9. Yang, C.; Hui, W.; Qian, Y.; Yang, C.; Hui, W.; Qian, Y. A Novel Method for 2D Nonrigid Partial Shape Matching. Neurocomputing 2018, 275, 1160–1176. [Google Scholar] [CrossRef]
  10. Bai, X.; Yang, X.; Latecki, L.J.; Liu, W.; Tu, Z. Learning context-sensitive shape similarity by graph transduction. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 861–874. [Google Scholar] [PubMed]
  11. El-ghazal, A.; Basir, O.; Belkasim, S. Farthest point distance: A new shape signature for Fourier descriptors. Signal Process. Image Commun. 2009, 24, 572–586. [Google Scholar] [CrossRef]
  12. Zhang, D.; Lu, G. Study and evaluation of different Fourier methods for image retrieval. Image Vis. Comput. 2005, 23, 33–49. [Google Scholar] [CrossRef]
  13. Hu, R.; Jia, W.; Ling, H.; Huang, D. Multiscale distance matrix for fast plant leaf recognition. IEEE Trans. Image Process. 2012, 21, 4667–4672. [Google Scholar] [PubMed]
  14. Yang, H.S.; Lee, S.U.; Lee, K.M. Recognition of 2D object contours using starting-point-independent wavelet coefficient matching. J. Visual Commun. Image Represent. 1998, 9, 171–181. [Google Scholar] [CrossRef]
  15. Wallace, T.P.; Wintz, P.A. An efficient three-dimensional aircraft recognition algorithm using normalized Fourier descriptors. Comput. Graph. Image Process. 1980, 13, 99–126. [Google Scholar] [CrossRef]
  16. Kaothanthong, N.; Chun, J.; Tokuyama, T. Distance interior ratio: A new shape signature for 2D shape retrieval. Pattern Recognit. Lett. 2016, 78, 14–21. [Google Scholar] [CrossRef] [Green Version]
  17. Ling, H.; Jacobs, D.W. Using the inner-distance for classification of articulated shapes. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; pp. 719–726. [Google Scholar]
  18. Porwik, P.; Lisowska, A. The Haar-wavelet transform in digital image processing: Its status and achievements. Mach. Graph. Vis. 2004, 13, 79–98. [Google Scholar]
  19. Wang, B.; Gao, Y. Hierarchical string cuts: A translation, rotation, scale, and mirror invariant descriptor for fast shape retrieval. IEEE Trans. Image Process. 2014, 23, 4101–4111. [Google Scholar] [CrossRef] [PubMed]
  20. Fotopoulou, F.; Economou, G. Multivariate angle scale descriptor of shape retrieval. In Proceedings of the SPAMEC 2011—Signal Processing and Applied Mathematics for Electronics and Communications Workshop, Cluj-Napoca, Romania, 26–28 August 2011; pp. 105–108. [Google Scholar]
  21. Silva, P.F.; Marcal, A.R.; da Silva, R.M. Evaluation of Features for Leaf Discrimination; Springer: Berlin/Heidelberg, Germany, 2013; pp. 197–204. [Google Scholar]
Figure 1. Seventy examples of all the categories in MPEG-7 CE1 Part B shape database, respectively, are on the left side of this figure. All of the various shapes of the class “Chicken” are on the right side of this figure.
Figure 1. Seventy examples of all the categories in MPEG-7 CE1 Part B shape database, respectively, are on the left side of this figure. All of the various shapes of the class “Chicken” are on the right side of this figure.
Symmetry 11 00693 g001
Figure 2. Shapes in the articulated shape database. Each category has five shapes in this database.
Figure 2. Shapes in the articulated shape database. Each category has five shapes in this database.
Symmetry 11 00693 g002
Figure 3. The 270 Plant Leaf Database, which contains 27 classes with 10 images in each class.
Figure 3. The 270 Plant Leaf Database, which contains 27 classes with 10 images in each class.
Symmetry 11 00693 g003
Figure 4. Precision–Recall curves of different methods on the 270 Plant Leaf Database.
Figure 4. Precision–Recall curves of different methods on the 270 Plant Leaf Database.
Symmetry 11 00693 g004
Figure 5. Retrieval rates of IDSC-wFW in MPEG-7 with the presence of noise.
Figure 5. Retrieval rates of IDSC-wFW in MPEG-7 with the presence of noise.
Symmetry 11 00693 g005
Figure 6. The retrieval results of IDSC and IDSC-wFW on four queries. The odd columns are of IDSC-wFW and the even columns are of IDSC. The first row are the queries and the second row to the eleventh row are the second to the eleventh most similar shapes to queries.
Figure 6. The retrieval results of IDSC and IDSC-wFW on four queries. The odd columns are of IDSC-wFW and the even columns are of IDSC. The first row are the queries and the second row to the eleventh row are the second to the eleventh most similar shapes to queries.
Symmetry 11 00693 g006
Table 1. Computational complexities of some well-known algorithms during feature matching.
Table 1. Computational complexities of some well-known algorithms during feature matching.
IDSC-wFW (ours)IDSC+DPSC+DPShape Tree
O ( K log N ) O ( K N 2 ) O ( K N 2 ) O ( N 4 )
Table 2. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wF with different M values.
Table 2. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wF with different M values.
M246810121416
Retrieval Rate (%)73.0278.2380.5581.4581.5381.6481.6181.60
Table 3. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wW with different J values.
Table 3. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wW with different J values.
J123456
Retrieval Rate (%)67.8171.8771.8370.9170.2768.44
Table 4. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wFW with different M and J values.
Table 4. Retrieval results on MPEG-7 CE-1 Part B shape database of IDSC-wFW with different M and J values.
M, J10, 212, 214, 216, 210, 312, 314, 316, 3
Retrieval Rate (%)81.5281.6581.6781.6482.1282.3482.3382.31
Table 5. Retrieval results of different algorithms on MPEG-7 CE-1 Part B shape database.
Table 5. Retrieval results of different algorithms on MPEG-7 CE-1 Part B shape database.
MethodRetrieval Rate (%)Matching Time (ms)
IDSC-wFW (ours)82.3411.4
IDSC+DP [3]85.406120.2
DIR [16]77.696.7
MDM [13]70.4644.2
ASD&CCD [20]76.8527,037.9
FD [12]68.144.1
FPD [11]65.523.3
Table 6. Retrieval results of different algorithms on the Articulated shape database.
Table 6. Retrieval results of different algorithms on the Articulated shape database.
Methods1st (%)2nd (%)3rd (%)Average Accuracy (%)Matching Time ( μ s )
IDSC-wFW (ours)95.085.075.085.00279.3
IDSC+DP [3]97.587.567.584.17149,774.1
DIR [16]82.557.545.061.67158.4
ASD&CCD [20]80.050.032.554.16735,390.9
FD [12]77.537.542.552.50105.6
FPD [11]70.050.032.550.8375.7
MDM [13]62.530.027.540.001187.0
SC+DP [10]50.025.027.534.17146,203.5
Table 7. Retrieval results on the 270 Plant Leaf database of different algorithms.
Table 7. Retrieval results on the 270 Plant Leaf database of different algorithms.
MethodRetrieval Rate (%)Matching Time (ms)
IDSC-wFW (ours)80.701.8
SC+DP [10]79.931065.3
IDSC+DP [3]79.071020.0
DIR [16]76.372.1
MDM [13]64.418.8
ASD&CCD [20]68.854940.6
FD [12]68.071.3
FPD [11]59.000.9

Share and Cite

MDPI and ACS Style

Zheng, Y.; Guo, B.; Li, C.; Yan, Y. A Weighted Fourier and Wavelet-Like Shape Descriptor Based on IDSC for Object Recognition. Symmetry 2019, 11, 693. https://doi.org/10.3390/sym11050693

AMA Style

Zheng Y, Guo B, Li C, Yan Y. A Weighted Fourier and Wavelet-Like Shape Descriptor Based on IDSC for Object Recognition. Symmetry. 2019; 11(5):693. https://doi.org/10.3390/sym11050693

Chicago/Turabian Style

Zheng, Yan, Baolong Guo, Cheng Li, and Yunyi Yan. 2019. "A Weighted Fourier and Wavelet-Like Shape Descriptor Based on IDSC for Object Recognition" Symmetry 11, no. 5: 693. https://doi.org/10.3390/sym11050693

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop