Shape elongation from optimal encasing rectangles

  • Authors:
  • Slobodan Draić;Nebojša Ralević;Joviša unić

  • Affiliations:
  • Faculty of Technical Sciences, University of Novi Sad, Trg D. Obradovića 4, 21000 Novi Sad, Serbia;Faculty of Technical Sciences, University of Novi Sad, Trg D. Obradovića 4, 21000 Novi Sad, Serbia;Department of Computer Science, University of Exeter, Harrison Building, Exeter EX4 4QF, UK

  • Venue:
  • Computers & Mathematics with Applications
  • Year:
  • 2010

Quantified Score

Hi-index 0.09

Visualization

Abstract

Let S be a shape with a polygonal boundary. We show that the boundary of the maximally elongated rectangle R(S) which encases the shape S contains at least one edge of the convex hull of S. Such a nice property enables a computationally efficient construction of R(S). In addition, we define the elongation of a given shape S as the ratio of the length of R(S) (determined by the longer edge of R(S)) and the width of R(S) (determined by the shorter edge of R(S)) and show that a so defined shape elongation measure has several desirable properties. Several examples are given in order to illustrate the behavior of the new elongation measure. As a by-product, of the method developed here, we obtain a new method for the computation of the shape orientation, where the orientation of a given shape S is defined by the direction of the longer edge of R(S).