static Rect pixelSetBounds(PixelSet set) { ret openImajRectangleToRect(set.calculateRegularBoundingBox()); }