0

How can a region be stretched?

If I have a region, of any shape, and want to stretch it horizontally, but not vertically, how can this be done?

sharkyenergy
  • 3,842
  • 10
  • 46
  • 97

1 Answers1

1

Using the operator zoom_region(Region : RegionZoom : ScaleWidth, ScaleHeight : ). In your case ScaleHeight=1

Andrea Mannari
  • 982
  • 1
  • 6
  • 9
  • could you PLEASE have a look at this problem? It's driving me crazy and I think you have the needed knowledge.. https://stackoverflow.com/questions/64371266/halcon-3d-equivalent-of-affine-trans-contour-xld – sharkyenergy Oct 15 '20 at 13:33
  • 1
    I reply to your post https://stackoverflow.com/questions/64355720/halcon-extend-region-where-it-intersects-with-another-region/64373034#64373034. – Andrea Mannari Oct 15 '20 at 13:54
  • 1
    There you can find another manner to do a region stretch – Andrea Mannari Oct 15 '20 at 13:54