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