🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.plot
クラス Plot2d
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.plot.Plot2d
public class Plot2d extends Algorithm
plot MatデータをプロットするためのPlot関数
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedPlot2d​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static Plot2d__fromPtr__​(long addr)static Plot2dcreate​(Mat data)Creates Plot2d objectstatic Plot2dcreate​(Mat dataX, Mat dataY)Creates Plot2d objectvoidrender​(Mat _plotResult)voidsetGridLinesNumber​(int gridLinesNumber)voidsetInvertOrientation​(boolean _invertOrientation)voidsetMaxX​(double _plotMaxX)voidsetMaxY​(double _plotMaxY)voidsetMinX​(double _plotMinX)voidsetMinY​(double _plotMinY)voidsetNeedPlotLine​(boolean _needPlotLine)Switches data visualization modevoidsetPlotAxisColor​(Scalar _plotAxisColor)voidsetPlotBackgroundColor​(Scalar _plotBackgroundColor)voidsetPlotGridColor​(Scalar _plotGridColor)voidsetPlotLineColor​(Scalar _plotLineColor)voidsetPlotLineWidth​(int _plotLineWidth)voidsetPlotSize​(int _plotSizeWidth, int _plotSizeHeight)voidsetPlotTextColor​(Scalar _plotTextColor)voidsetPointIdxToPrint​(int pointIdx)Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).voidsetShowGrid​(boolean needShowGrid)voidsetShowText​(boolean needShowText)-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static Plot2d __fromPtr__​(long addr)
-
setMinX
public void setMinX​(double _plotMinX)
-
setMinY
public void setMinY​(double _plotMinY)
-
setMaxX
public void setMaxX​(double _plotMaxX)
-
setMaxY
public void setMaxY​(double _plotMaxY)
-
setPlotLineWidth
public void setPlotLineWidth​(int _plotLineWidth)
-
setNeedPlotLine
public void setNeedPlotLine​(boolean _needPlotLine)
Switches data visualization mode- 引数:
_needPlotLine- trueの場合、隣接するプロット点が線で結ばれる。それ以外の場合、データは独立した点の集合としてプロットされる。
-
setPlotLineColor
public void setPlotLineColor​(Scalar _plotLineColor)
-
setPlotBackgroundColor
public void setPlotBackgroundColor​(Scalar _plotBackgroundColor)
-
setPlotAxisColor
public void setPlotAxisColor​(Scalar _plotAxisColor)
-
setPlotGridColor
public void setPlotGridColor​(Scalar _plotGridColor)
-
setPlotTextColor
public void setPlotTextColor​(Scalar _plotTextColor)
-
setPlotSize
public void setPlotSize​(int _plotSizeWidth, int _plotSizeHeight)
-
setShowGrid
public void setShowGrid​(boolean needShowGrid)
-
setShowText
public void setShowText​(boolean needShowText)
-
setGridLinesNumber
public void setGridLinesNumber​(int gridLinesNumber)
-
setInvertOrientation
public void setInvertOrientation​(boolean _invertOrientation)
-
setPointIdxToPrint
public void setPointIdxToPrint​(int pointIdx)
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).- 引数:
pointIdx- データ配列内の対象点のインデックス。
-
render
public void render​(Mat _plotResult)
-
create
public static Plot2d create​(Mat data)
Creates Plot2d object- 引数:
data- プロットする点の \(Y\) 値を含む \(1xN\) または \(Nx1\) の行列。\(X\) 値はdata行列内の対応する要素のインデックスと等しくなる。- 戻り値:
- 自動生成
-
-