title: Halcon - Select subregion with highest Y value
body: <p>I have a region that contains multiple smaller regions. After using <code>connection</code> and <code>select_shape</code> to clean it up i am left with one single region. It happens sometimes tough that 2 or 3 regions meet the criteria and are displayed.</p>
  <p>I need a way to select the region that is positioned lowest in the picture. So with the highest Y value. The only way that comes to my mind is use the 'area_center' comand and then iterate through all found regions, but maybe there is a more elegant way?</p>