Skip to main content

Advertisement

Log in

Triangular inequality-based rotation-invariant boundary image matching for smart devices

  • Regular Paper
  • Published:
Multimedia Systems Aims and scope Submit manuscript

Abstract

Nowadays there are many efforts to develop image matching applications exploiting a large number of images stored in smart devices such as smartphones, smart pads, and smart cameras. Boundary image matching converts boundary images to time-series and identifies similar boundary images using time-series matching on those time-series. In boundary image matching, computing the rotation-invariant distance between image time-series is a very time-consuming process since it requires a lot of Euclidean distance computations for all possible rotations. To support the boundary image matching in smart devices, we need to devise a simple but fast computation mechanism for rotation-invariant distances. For this purpose, in this paper we propose a novel rotation-invariant matching solution that significantly reduces the number of distance computations using the triangular inequality. To this end, we first present the notion of self-rotation distance and formally show that the self-rotation distance with the triangular inequality produces a tight lower bound and prunes many unnecessary distance computations. Using the self-rotation distance, we then propose a triangular inequality-based solution to rotation-invariant image matching. We next present the concept of k-self rotation distance as a generalized version of the self-rotation distance and formally show that this \(k\)-self rotation distance produces a tighter lower bound and prunes more unnecessary distance computations. Using the \(k\)-self rotation distance we also propose an advanced triangular inequality-based solution to rotation-invariant image matching. Experimental results show that our self-rotation distance-based algorithms significantly outperform the existing algorithms by up to one or two orders of magnitude, and we believe that this performance improvement makes our algorithms very suitable for smart devices.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Notes

  1. Besides the range query of Definition 2, the \(k\)-nearest neighbor (\(k\)-NN) query is also widely used. However, we can process \(k\)-NN queries using range queries because we can regard the distances for current \(k\) candidates as the tolerances of range queries. Thus, in this paper we focus on the range query whose inputs are a query sequence and the tolerance.

  2. Previous solutions [19, 40] for rotation-invariant image matching focus on reducing the number of candidate data sequences through the filtering process. However, computing the rotation-invariant distances for these filtered candidates is still and essentially required. Thus, our solution is orthogonal to the previous solutions because our solution can be applied to their post-processing part of computing the rotation-invariant distances for candidate data sequences.

References

  1. Abbasi, S., Mokhtarian, F., Kittler, J.: Search for similar shapes in the SQUID system: shape queries using image databases. http://www.ee.surrey.ac.uk/CVSSP/demos/css/demo.html (2005)

  2. Agrawal, R., Faloutsos, C., Swami, A.: Efficient similarity search in sequence databases. In: Proceedings of the 4th International Conference on Foundations of Data Organization and Algorithms, Chicago, pp. 69–84, Oct 1993

  3. Aizawa, K., Maeda, K., Ogawa, M., Sato, Y., Kasamatsu, M., Waki, K., Takimoto, H.: Comparative study of the routine daily usability of FoodLog: a smartphone-based food recording tool assisted by image retrieval. J. Diabet. Sci. Technol. (2014). (published online)

  4. Boulos, M., Wheeler, S., Tavares, C., Jones, R.: How smartphones are changing the face of mobile and participatory healthcare: an overview with examples from eGAALYX. BioMed. Eng. Online 10(1), 24–38 (2011)

    Article  Google Scholar 

  5. Bu, Y., Chen, L., Fu, A.W.-C., Liu, D.: Efficient anomaly monitoring over moving object trajectory streams. In Proceedings of the 15th international Conference on Knowledge Discovery and Data Mining, ACM SIGKDD, Paris, pp. 159–168, June 2009

  6. Chan, K.-P., Fu, A.W.-C., Yu, C.T.: Haar wavelets for efficient similarity search of time-series: with and without time warping. IEEE Trans. Knowl. Data Eng. 15(3), 686–705 (2003)

    Article  Google Scholar 

  7. Chen, D., Tsai, S., Chandrasekhar, V., Takacs, G., Vedantham, R., Grzeszczuk, R., Girod, B.: Residual enhanced visual vector as a compact signature for mobile visual search. Signal Process. 93(8), 2316–2327 (2013)

    Article  Google Scholar 

  8. Cho, H.: Distributed multidimensional clustering based on spatial correlation in wireless sensor networks. Int. J. Comput. Syst. Sci. Eng. 26(4), 275–283 (2011)

    Google Scholar 

  9. Do, M.N.: Wavelet-based texture retrieval using generalized Gaussian density and Kullback–Leibler distance. IEEE Trans. Image Process. 11(2), 146–158 (2002)

    Article  MathSciNet  Google Scholar 

  10. Esling, P., Agon, C.: Time-series data mining. ACM Comput. Surv. 45(1), 1–34 (2013)

    Article  Google Scholar 

  11. Faloutsos, C., Ranganathan, M., Manolopoulos, Y.: Fast subsequence matching in time-series databases. In: Proceedings of International Conference on Management of Data, ACM SIGMOD, Minneapolis, pp. 419–429, May 1994

  12. Gao, X., Qiu, B., Shen, J.J., Ng, T.-T., Shi, Y.Q.: A smart phone image database for single image recapture detection. In: Proceedings of the 9th International Workshop on Digital Watermarking, Seoul, pp. 90–104, Oct 2011

  13. Gonzalez, R.C., Woods, R.E.: Digital Image Processing, 2nd edn. Prentice Hall, New Jersey (2002)

    Google Scholar 

  14. Han, W.-S., Lee, J., Moon, Y.-S., Jiang, H.: Ranked subsequence matching in time-series databases. In: Proceedings of the 33rd International Conference on Very Large Data Bases, Vienna, pp. 423–434, Sept 2007

  15. Han, W.-S., Lee, J., Moon, Y.-S., Hwang, S., Yu, H.: A new approach for processing ranked subsequence matching based on ranked union. In: Proceedings of International Conference on Management of Data, ACM SIGMOD, Athens, pp. 457–468, June 2011

  16. Kashyap, S., Lee, M.L., Hsu, W.: Similar subsequence search in time series databases. In: Proceeding of the 22nd International Conference on Database and Expert Systems Applicaitons, Toulouse, pp. 232–246, Aug 2011

  17. Kekre, H.B., Thepade, S.D., Chaturvedi, R.N.: Block based information hiding using Cosine, Hartley, Walsh and Haar wavelets. Int. J. Adv. Comput. Res. 3(1), 1–6 (2013)

    Article  Google Scholar 

  18. Keogh, E.J.: Exact indexing of dynamic time warping. In: Proceeding of the 28th International Conference on Very Large Data Bases, Hong Kong, pp. 406–417, Aug 2002

  19. Keogh, E.J., Wei, L., Xi, X., Vlachos, M., Lee, S.-H., Protopapas, P.: Supporting exact indexing of arbitrarily rotated shapes and periodic time series under euclidean and warping distance measures. VLDB J. 18(3), 611–630 (2009)

    Article  Google Scholar 

  20. Kim, B.-S., Moon, Y.-S., Kim, J.: Noise control boundary image matching using time-series moving average transform. In: Proceeding of the 19th International Conference on Database and Expert Systems Applications, Turin, pp. 362–375, Sept 2008

  21. Kim, M., Whang, K.-Y., and Moon, Y.-S.: Horizontal reduction: instance-level dimensionality reduction for similarity search in large document databases. In Proceeding of the 28th IEEE InternationalConference on Data Engineering, Washington DC, pp. 1061–1072, April 2012

  22. Kong, F., Tan, J.: DietCam: automatic dietary assessment with mobile camera phones. Pervasive Mob. Comput. 8(1), 147–163 (2012)

    Article  Google Scholar 

  23. Lee, A.J.T., Lin, C.-W., Lo, W.-H., Chen, C.-C., Chen, J.-X.: A novel filtration method in biological sequence databases. Pattern Recognit. Lett. 28(4), 447–458 (2007)

    Article  Google Scholar 

  24. Lee, A.J.T., Wu, H.W., Lee, T.Y., Liu, Y.H., Chen, K.T.: Mining closed patterns in multi-sequence time-series databases. Data Knowl. Eng. 68(10), 1071–1090 (2009)

    Article  Google Scholar 

  25. Lim, H.-S., Whang, K.-Y., Moon, Y.-S.: Similar sequence matching supporting variable-length and variable-tolerance continuous queries on time-series data stream. Inf. Sci. 178(6), 1461–1478 (2008)

    Article  MATH  MathSciNet  Google Scholar 

  26. Lin, C.-H., Lin, W.-C.: Image retrieval system based on adaptive color histogram and texture features. Comput. J. 54(7), 1136–1147 (2011)

    Article  Google Scholar 

  27. Loh, W.-K., Park, Y.-H., Yoon, Y.-I.: Fast recognition of Asian characters based on database methodologies. In: Proceeding of the 24th British National Conference on Databases, Glasgow, pp. 37–48, July 2007

  28. Loh, W.-K., Moon, Y.-S., Srivastava, J.: Distortion-free predictive streaming time-series matching. Inf. Sci. 180(8), 1458–1476 (2010)

    Article  Google Scholar 

  29. Moon, Y.-S., Whang, K.-Y., Han, W.-S.: General match: a subsequence matching method in time-series databases based on generalized windows. In: Proceeding of International Conference on Management of Data, ACM SIGMOD, Madison, pp. 382–393, June 2002

  30. Moon, Y.-S., Kim, J.: Efficient moving average transform-based subsequence matching algorithms in time-series databases. Inf. Sci. 177(23), 5415–5431 (2007)

    Article  MATH  Google Scholar 

  31. Moon, Y.-S., Kim, J.: MBR-safe piecewise aggregate approximation for time-series subsequence matching. Int. J. Comput. Syst. Sci. Eng. 26(1), 1–11 (2010)

    MathSciNet  Google Scholar 

  32. Moon, Y.-S., Kim, B.-S., Kim, M.S., Whang, K.-Y.: Scaling-invariant boundary image matching using time-series matching techniques. Data Knowl. Eng. 69(10), 1022–1042 (2010)

    Article  Google Scholar 

  33. Park, S., Kim, S.-W.: Prefix-querying with an \(L_1\) distance metric for time-series subsequence matching under time warping. J. Inf. Sci. 32(5), 387–399 (2006)

    Article  Google Scholar 

  34. Peng, P., Shou, L., Chen, K., Chen, G., Wu, S.: The knowing camera, recognizing places-of-interest in smartphone photos. In: Proceeding of the 36th International Conference on Research and Development in Information Retrieval, Dublin, pp. 969–972, July 2013

  35. Pratt, W.K.: Digital Image Processing, 4th edn. Eastman Kodak Company, Rochester (2007)

    Book  MATH  Google Scholar 

  36. Qin, C., Bao, X., Choudhury, R.R., Nelakuditi, S.: TagSense: a smartphone-based approach to automatic image tagging. In Proceeding of the 9th International Conference on Mobile Systems, Applications, and Services, Washington, DC, pp. 1–14, June 2011

  37. Rasheed, F., Alshalalfa, M., and Alhajj, R.: Efficient periodicity mining in time series databases using suffix trees. IEEE Trans. Knowl. Data. Eng. 23(1), 79–94 (2011)

    Article  Google Scholar 

  38. Scully, C.G., et al.: Physiological parameter monitoring from optical recordings with a mobile phone. IEEE Trans. Biomed. Eng. 59(2), 303–306 (2012)

    Article  Google Scholar 

  39. Theoharatos, C.: A generic scheme for color image retrieval based on the multivariate Wald–Wolfowitz test. IEEE Trans. Knowl. Data Eng. 17(6), 808–819 (2005)

    Article  Google Scholar 

  40. Vlachos, M., Vagena, Z., Yu, P.S., Athitsos, V.: Rotation invariant indexing of shapes and line drawings. In: Proceedings of ACM Conference on Information and Knowledge Management, Bremen, pp. 131–138, Oct 2005

  41. Wang, Z., Chi, Z., Feng, D., Wang, Q.: Leaf image retrieval with shape features. In: Proceedings of the 4th International Conference on Advances in Visual Information Systems, Lyon, pp. 477–487, Nov 2000

  42. Yang, X., Bai, X., Koknar-Tezel S., Latecki, L.J.: Densifying distance spaces for shape and image retrieval. J. Math. Imaging Vis. 46(1), 12–28 (2013)

    Article  MathSciNet  Google Scholar 

  43. You, J., Park, S., Kim, I.: An efficient frequent melody indexing method to improve the performance of query-by-humming systems. J. Inf. Sci. 34(6), 777–798 (2008)

    Article  Google Scholar 

  44. Zhang, D.Z., Lu, G.: Review of shape representation and description techniques. Pattern Recognit. 37(1), 1–19 (2003)

    Article  Google Scholar 

  45. Zhang, Y., Li, S., Luo, Y.: Segment matching gesture recognition algorithm and its application in smartphone. Appl. Mech. Mater. 511, 936–940 (2014)

    Google Scholar 

  46. Zhou, H., Wang, R., Wang, C.: A novel extended local-binary-pattern operator for texture analysis. Inf. Sci. 178(22), 4314–4325 (2008)

    Article  MATH  Google Scholar 

Download references

Acknowledgments

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MEST) (No. 2012-0005258).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Woong-Kee Loh.

Appendices

Appendix A: Proof of Theorem 3

Three sequences \(Q^j\), \(Q^{j+k}\), and \(S\) form a triangle in the \(n\)-dimensional space. By the triangular inequality, \(D(Q^{j+k},S) > |D(Q^j,S) - D(Q^j,Q^{j+k})|\) trivially holds. Thus, \(|D(Q^j,S)-D(Q^j,Q^{j+k})|\) is a lower bound of \(D(Q^{j+k},S).\) \(\square \)

Appendix B: Proof of Theorem 4

Two \(k\)-self rotation distances of \(Q^{j_1}\) and \(Q^{j_2}\) are \(D(Q^{j_1},Q^{j_1+k})\) and \(D(Q^{j_2},Q^{j_2+k})\), respectively. Here, \(D(Q^{j_1},Q^{j_1+k})\) can be converted into \(D(Q^{j_2},Q^{j_2+k})\) by the process of Eq. (3).

$$\begin{aligned}&D(Q^{j_1},Q^{j_1+k}) \nonumber \\&= \sqrt{\sum _{i=0}^{n-1} \left| q_{(i+j_1)\%n}-q_{(i+j_1+k)\%n} \right| ^2}\quad \text {(definition)} \nonumber \\&= \sqrt{\sum _{i=0}^{n-1} \left| q_{(i+(j_2-(j_2-j_1)))\%n}-q_{(i+(j_2-(j_2-j_1)+k))\%n} \right| ^2} \quad (j_1 = j_2-(j_2-j_1)) \nonumber \\&= \sqrt{\sum _{i=(j_2-j_1)}^{(j_2-j_1)+n-1} \left| q_{(i+(j_2-(j_2-j_1)))\%n}-q_{(i+(j_2-(j_2-j_1)+k))\%n} \right| ^2} \quad \text {(index \, shifting)} \nonumber \\&= \sqrt{\sum _{i=0}^{n-1}\left| q_{(i+j_2)\%n}-q_{(i+j_2+k)\%n} \right| ^2} \quad \text {(index \,shifting)}\nonumber \\&= D(Q^{j_2},Q^{j_2+k}). \end{aligned}$$
(3)

According to Eq. (3), \(D(Q^{j_1},Q^{j_1+k})\) and \(D(Q^{j_2},Q^{j_2+k})\) are the same, and this means that all possible \(k\)-self rotation distances are the same. \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Moon, YS., Loh, WK. Triangular inequality-based rotation-invariant boundary image matching for smart devices. Multimedia Systems 21, 15–28 (2015). https://doi.org/10.1007/s00530-014-0380-2

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00530-014-0380-2

Keywords

Navigation