获取FFT变换后的显示图形,需要指定图形的相关参数
命名空间:
HslCommunication.Algorithms.Fourier
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
语法public static Bitmap GetFFTImage(
double[] xreal,
int width,
int heigh,
Color lineColor,
bool isSqrtDouble = false
)
Public Shared Function GetFFTImage (
xreal As Double(),
width As Integer,
heigh As Integer,
lineColor As Color,
Optional isSqrtDouble As Boolean = false
) As Bitmap
public:
static Bitmap^ GetFFTImage(
array<double>^ xreal,
int width,
int heigh,
Color lineColor,
bool isSqrtDouble = false
)
static member GetFFTImage :
xreal : float[] *
width : int *
heigh : int *
lineColor : Color *
?isSqrtDouble : bool
(* Defaults:
let _isSqrtDouble = defaultArg isSqrtDouble false
*)
-> Bitmap
参数
- xreal
- 类型:SystemDouble
实数部分的值 - width
- 类型:SystemInt32
图形的宽度 - heigh
- 类型:SystemInt32
图形的高度 - lineColor
- 类型:System.DrawingColor
线条颜色 - isSqrtDouble (Optional)
- 类型:SystemBoolean
是否开两次根,显示的噪点信息会更新明显
返回值
类型:
Bitmap等待呈现的图形
备注 警告: |
---|
.net standrard2.0 下不支持。 |
参见