Class DrawGridStep
- java.lang.Object
-
- ai.konduit.serving.data.image.step.grid.draw.DrawGridStep
-
- All Implemented Interfaces:
ai.konduit.serving.pipeline.api.step.PipelineStep,ai.konduit.serving.pipeline.api.TextConfig,java.io.Serializable
public class DrawGridStep extends java.lang.Object implements ai.konduit.serving.pipeline.api.step.PipelineStepDraw a grid on the specified image, based on the x/y coordinates of the corners, and the number of segments within the grid in both directions.
The 4 corner coordinates are defined as points, and come fromData.getListPoint(name), in the following order: topLeft, topRight, bottomLeft, bottomRight
gridX is the number of grid segments between (topLeft and topRight) and (bottomLeft and bottomRight).
gridY is the number of grid segments between (topLeft and bottomLeft) and (topRight and bottomRight)
The colors and line thicknesses can be configured.See also
DrawFixedGridStep- Author:
- Alex Black
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_COLOR
-
Constructor Summary
Constructors Constructor Description DrawGridStep()
-
-
-
Field Detail
-
DEFAULT_COLOR
public static final java.lang.String DEFAULT_COLOR
- See Also:
- Constant Field Values
-
-