I see matlab does it this way too.  I'm not sure how I feel about that.  However, since we don't currently have a better way of representing connected components (this is something we can also consider implementing), I guess the union of the hulls of the images (as you have it here) will do.