@Namespace(value="cv::plot") public static class opencv_plot.Plot2d extends opencv_core.Algorithm
| Constructor and Description |
|---|
Plot2d(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_plot.Plot2d |
create(opencv_core.GpuMat data) |
static opencv_plot.Plot2d |
create(opencv_core.GpuMat dataX,
opencv_core.GpuMat dataY) |
static opencv_plot.Plot2d |
create(opencv_core.Mat data)
\brief Creates Plot2d object
|
static opencv_plot.Plot2d |
create(opencv_core.Mat dataX,
opencv_core.Mat dataY)
\brief Creates Plot2d object
|
static opencv_plot.Plot2d |
create(opencv_core.UMat data) |
static opencv_plot.Plot2d |
create(opencv_core.UMat dataX,
opencv_core.UMat dataY) |
void |
render(opencv_core.GpuMat _plotResult) |
void |
render(opencv_core.Mat _plotResult) |
void |
render(opencv_core.UMat _plotResult) |
void |
setGridLinesNumber(int gridLinesNumber) |
void |
setInvertOrientation(boolean _invertOrientation) |
void |
setMaxX(double _plotMaxX) |
void |
setMaxY(double _plotMaxY) |
void |
setMinX(double _plotMinX) |
void |
setMinY(double _plotMinY) |
void |
setNeedPlotLine(boolean _needPlotLine)
\brief Switches data visualization mode
|
void |
setPlotAxisColor(opencv_core.Scalar _plotAxisColor) |
void |
setPlotBackgroundColor(opencv_core.Scalar _plotBackgroundColor) |
void |
setPlotGridColor(opencv_core.Scalar _plotGridColor) |
void |
setPlotLineColor(opencv_core.Scalar _plotLineColor) |
void |
setPlotLineWidth(int _plotLineWidth) |
void |
setPlotSize(int _plotSizeWidth,
int _plotSizeHeight) |
void |
setPlotTextColor(opencv_core.Scalar _plotTextColor) |
void |
setPointIdxToPrint(int pointIdx)
\brief Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
|
void |
setShowGrid(boolean needShowGrid) |
void |
setShowText(boolean needShowText) |
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Plot2d(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void setMinX(double _plotMinX)
public void setMinY(double _plotMinY)
public void setMaxX(double _plotMaxX)
public void setMaxY(double _plotMaxY)
public void setPlotLineWidth(int _plotLineWidth)
public void setNeedPlotLine(@Cast(value="bool")
boolean _needPlotLine)
_needPlotLine - if true then neighbour plot points will be connected by lines.
In other case data will be plotted as a set of standalone points.public void setPlotLineColor(@ByVal
opencv_core.Scalar _plotLineColor)
public void setPlotBackgroundColor(@ByVal
opencv_core.Scalar _plotBackgroundColor)
public void setPlotAxisColor(@ByVal
opencv_core.Scalar _plotAxisColor)
public void setPlotGridColor(@ByVal
opencv_core.Scalar _plotGridColor)
public void setPlotTextColor(@ByVal
opencv_core.Scalar _plotTextColor)
public void setPlotSize(int _plotSizeWidth,
int _plotSizeHeight)
public void setShowGrid(@Cast(value="bool")
boolean needShowGrid)
public void setShowText(@Cast(value="bool")
boolean needShowText)
public void setGridLinesNumber(int gridLinesNumber)
public void setInvertOrientation(@Cast(value="bool")
boolean _invertOrientation)
public void setPointIdxToPrint(int pointIdx)
pointIdx - index of the required point in data array.public void render(@ByVal
opencv_core.Mat _plotResult)
public void render(@ByVal
opencv_core.UMat _plotResult)
public void render(@ByVal
opencv_core.GpuMat _plotResult)
@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.Mat data)
data - \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot. \f$X\f$ values
will be equal to indexes of correspondind elements in data matrix.@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.UMat data)
@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.GpuMat data)
@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.Mat dataX, @ByVal opencv_core.Mat dataY)
dataX - \f$1xN\f$ or \f$Nx1\f$ matrix \f$X\f$ values of points to plot.dataY - \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot.@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.UMat dataX, @ByVal opencv_core.UMat dataY)
@opencv_core.Ptr public static opencv_plot.Plot2d create(@ByVal opencv_core.GpuMat dataX, @ByVal opencv_core.GpuMat dataY)
Copyright © 2018. All rights reserved.