public class SegmentationUtilities extends Object
| Modifier and Type | Method and Description |
|---|---|
static MBFImage |
renderSegments(int width,
int height,
List<? extends PixelSet> components)
Render the components to an image with randomly assigned colours.
|
static MBFImage |
renderSegments(MBFImage image,
List<? extends PixelSet> components)
Render the components to the image with randomly assigned colours.
|
public static MBFImage renderSegments(MBFImage image, List<? extends PixelSet> components)
image - Image to draw tocomponents - the componentspublic static MBFImage renderSegments(int width, int height, List<? extends PixelSet> components)
width - Width of image.height - Height of image.components - the components.