@Namespace(value="cv::plot") @Properties(inherit=opencv_plot.class) public class Plot2d extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Plot2d(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static Plot2d |
create(GpuMat data) |
static Plot2d |
create(GpuMat dataX,
GpuMat dataY) |
static Plot2d |
create(Mat data)
\brief Creates Plot2d object
|
static Plot2d |
create(Mat dataX,
Mat dataY)
\brief Creates Plot2d object
|
static Plot2d |
create(UMat data) |
static Plot2d |
create(UMat dataX,
UMat dataY) |
void |
render(GpuMat _plotResult) |
void |
render(Mat _plotResult) |
void |
render(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(Scalar _plotAxisColor) |
void |
setPlotBackgroundColor(Scalar _plotBackgroundColor) |
void |
setPlotGridColor(Scalar _plotGridColor) |
void |
setPlotLineColor(Scalar _plotLineColor) |
void |
setPlotLineWidth(int _plotLineWidth) |
void |
setPlotSize(int _plotSizeWidth,
int _plotSizeHeight) |
void |
setPlotTextColor(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, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Plot2d(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 setPlotSize(int _plotSizeWidth, int _plotSizeHeight)
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.@opencv_core.Ptr public static Plot2d create(@ByVal Mat data)
data
- 1xN
or Nx1
matrix containing Y
values of points to plot. X
values
will be equal to indexes of correspondind elements in data matrix.@opencv_core.Ptr public static Plot2d create(@ByVal UMat data)
@opencv_core.Ptr public static Plot2d create(@ByVal GpuMat data)
@opencv_core.Ptr public static Plot2d create(@ByVal Mat dataX, @ByVal Mat dataY)
dataX
- 1xN
or Nx1
matrix X
values of points to plot.dataY
- 1xN
or Nx1
matrix containing Y
values of points to plot.Copyright © 2020. All rights reserved.