issue #1286 fix bug in convex_hull_transform for completely masked image