Skip to main content
Log in

Vector-space solution for a morphological shape-decomposition problem

  • Published:
Journal of Mathematical Imaging and Vision Aims and scope Submit manuscript

Abstract

We define a restricted domain as the discrete set of points representing any convex, four-connected, filled polygon whose (i) vertices lie on the lattice points, (ii) interior angles are multiples of 45°, and (iii) number of sides are at most eight. We describe the boundary code and discrete half-plane representation and use them for representing restricted domains. Morphological operations of dilation and n-fold dilation on the restricted domains with structuring elements that are also restricted domains are expressed in terms of the above representations. We give algorithms for these operations and prove that they are of O(1) complexity and hence are independent of the size of the objects.

We prove that there is a set of 13 restricted domains {K 1, K 2, ..., K 13} such that any given restricted domain K is expressible as % MathType!MTEF!2!1!+-% feaafeart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaam4saiabg2% da9iaadUeadaWgaaWcbaGaaGimaaqabaGccqGHvksXdaqadeqaamaa% xababaGaeyyLIumaleaacaWGRbWaaSbaaWqaaiaaigdaaeqaaaWcbe% aakiaadUeadaWgaaWcbaGaaGymaaqabaaakiaawIcacaGLPaaacqGH% vksXdaqadeqaamaaxababaGaeyyLIumaleaacaWGRbWaaSbaaWqaai% aaikdaaeqaaaWcbeaakiaadUeadaWgaaWcbaGaaGymaaqabaaakiaa% wIcacaGLPaaacqGHvksXcaGGUaGaaiOlaiaac6cacqGHvksXdaqade% qaamaaxababaGaeyyLIumaleaacaWGRbWaaSbaaWqaaiaaigdacaaI% ZaaabeaaaSqabaGccaWGlbWaaSbaaSqaaiaaigdacaaIZaaabeaaaO% GaayjkaiaawMcaaaaa!5B9E!\[K = K_0 \oplus \left( {\mathop \oplus \limits_{k_1 } K_1 } \right) \oplus \left( {\mathop \oplus \limits_{k_2 } K_1 } \right) \oplus ... \oplus \left( {\mathop \oplus \limits_{k_{13} } K_{13} } \right)\] where % MathType!MTEF!2!1!+-% feaafeart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaWaaeWabeaada% WfqaqaaiabgwPifdWcbaGaam4AamaaBaaameaacaWGPbaabeaaaSqa% baGccaWGlbWaaSbaaSqaaiaadMgaaeqaaaGccaGLOaGaayzkaaaaaa!3DCB!\[\left( {\mathop \oplus \limits_{k_i } K_i } \right)\] represents the k i -fold dilation of K i and K 0 is a translation. We show that this entails a linear transformation from a 13-dimensional space in which restricted domains are represented in terms of n-fold dilations of the 13 basis structuring elements, to an eight-dimensional space in which restricted domains are represented in terms of their eight side lengths. Furthermore, we show that any particular decomposition forms a particular solution of this transformation and that finding all possible dilation decompositions of a restricted domain is equivalent to finding the general solution of this transformation. Finally, we derive a finite-step algorithm for finding a particular decomposition and then give an algorithm for finding all possible decompositions.

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.

Similar content being viewed by others

References

  1. L. Guibas, L. Ramshaw, and J. Stolfi, “A Kinetic Framework for Computational Geometry,” in Proc. IEEE 24th Annual Symposium on Foundations of Computer Science, 1983, pp. 100–111.

  2. L. Guibas, “Computational Geometry,” unpublished notes.

  3. P.K. Ghosh, “A Mathematical Model for Shape Description using Minkowski Operations,” Comput. Vis., Graph., Image Process., vol. 44, 1988, pp. 239–269.

    Google Scholar 

  4. I. Pitas and A.N. Venetsanopoulos, “Morphological Shape Decomposition,” IEEE Trans. Patt. Anal. Mach. Intell., vol. PAMI-12, 1990, pp. 38–45.

    Google Scholar 

  5. J. Xu, “The Optimal Implementation of Morphological Operations on Neighborhood Connected Array Processors,” in Proc. IEEE Conference on Computer Vision and Pattern Recognition, San Diego, CA, 1989, pp. 166–171.

  6. J. Xu, “The Decomposition of Convex Polygonal Morphological Structuring Elements into Neighborhood Subsets,” IEEE Trans. Patt. Anal. Mach. Intell., vol. PAMI13, 1991, pp. 153–162.

    Google Scholar 

  7. D. Sinha and C.R. Giardina, “Discrete Black and White Object Recognition via Morphological Functions,” IEEE Trans. Patt. Anal. Mach. Intell., vol. PAMI-12 1990, pp. 275–293.

    Google Scholar 

  8. T. Lozano-Perez, “Spatial Planning: A Configuration Space Approach,” IEEE Trans. Comput., vol. C-32 1983, pp. 108–120.

    Google Scholar 

  9. B. Grunbaum, Convex Polytopes, New York: Wiley-Interscience, 1967.

    Google Scholar 

  10. H. Freeman, “Computer Processing of Line-Drawing Images,” Comput. Surveys, vol. 6, 1974, pp. 57–97.

    Google Scholar 

  11. T. Kanungo, R.M. Haralick, and Z. Zhuang, “B-Code Dilation and Decomposition of Restricted Convex Shapes,” Proc. Soc. Photo-Opt. Instrum. Engrg., vol. 1350 1990.

  12. T. Kanungo and R.M. Haralick, “Discrete Half-Plane Morphology for Restricted Domains,” in Mathematical Theory in Image Processing E. Dougherty, ed., New York: Marcel Dekker, 1991.

    Google Scholar 

  13. T. Kanungo, “Discrete Half-Plane Morphology and Decomposition of restricted domains,” master's thesis, University of Washington, Seattle, WA, 1990.

    Google Scholar 

  14. T. Kanungo and R.M. Haralick, “Morphological Decomposition of Restricted Domains: A Vector Space Solution,” in Proc. IEEE Conference on Computer Vision and Pattern Recognition, Urbana, IL, 1992.

  15. R.M. Haralick, S.R. Sternberg, and X. Zhuang, “Image Analysis using Mathematical Morphology,” IEEE Trans. Patt. Anal. Mach. Intell. vol. PAMI-9 1987, pp. 532–550.

    Google Scholar 

  16. R.M. Haralick and L.G. Shapiro, Machine Vision, Reading, MA: Addison-Wesley, 1992.

    Google Scholar 

  17. C.R. Giardina and E.R. Dougherty, Morphological Methods in Image and Signal Processing, Englewood Cliffs, NJ: Prentice-Hall, 1988.

    Google Scholar 

  18. J. Serra, Image Analysis and Mathematical Morphology, New York: Academic Press, 1982.

    Google Scholar 

  19. D.H. Ballard and C.M. Brown, Computer Vision, Englewood Cliffs, NJ: Prentice-Hall, 1982.

    Google Scholar 

  20. E. Kreyzig, Advanced Engineering Mathematics, New York: John Wiley, 1962.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Kanungo, T., Haralick, R.M. Vector-space solution for a morphological shape-decomposition problem. J Math Imaging Vis 2, 51–82 (1992). https://doi.org/10.1007/BF00123881

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00123881

Key Words

Navigation