public class ContourRenderer extends org.openimaj.image.renderer.MBFImageRenderer
MBFImageRenderer for drawing Contours.| Constructor and Description |
|---|
ContourRenderer(org.openimaj.image.MBFImage targetImage)
Construct with the given target image.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawContours(Contour root)
Draw the given contour.
|
static org.openimaj.image.MBFImage |
drawContours(org.openimaj.image.MBFImage imgC,
Contour root)
Utility function to quickly draw the contour to the image.
|
defaultBackgroundColour, defaultForegroundColour, drawHorizLine, drawImage, drawImage3, sanitisedrawImage, drawImage, drawLine, drawLine, drawLine, drawPoint, drawPolygondrawConnectedPoints, drawCubicBezier, drawImage, drawLine, drawLine, drawLine, drawLine, drawLine, drawLines, drawPath, drawPaths, drawPoints, drawPolygon, drawPolygonFilled, drawQuadBezier, drawShape, drawShape, drawShapeFilled, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, getImage, getRenderHints, setImage, setRenderHintspublic ContourRenderer(org.openimaj.image.MBFImage targetImage)
targetImage - the target imagepublic static org.openimaj.image.MBFImage drawContours(org.openimaj.image.MBFImage imgC, Contour root)
imgC - the target imageroot - the contourpublic void drawContours(Contour root)
root - the contour.