-
下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄...
下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄hImgData中,这个hImgData将在以后的图象处理程序中用到。同时填写一个类型为HBITMAP的全局变量hBitmap和一个类型为HPALETTE的全局变量hPalette。这两个变量将在处理WM_PAINT消息时用到,用来显示位图。该函数的两个参数分别是用来显示位图的窗口句柄,和.bmp文件名(全路径)。当函数成功时,返回TRUE,否则返回FALSE。-The following function LoadBmpFile, its function is from a. Bmp file to read data (including the BITMAPINFOHEADER, palette and the actual image data), its stored in a global memory handle hImgData, this hImgData will in the future plans used as treatment procedures. At the same time, fill out a type of global variable HBITMAP HBITMAP HPALETTE and a type of global variable hPalette. These two variables will be used for treatment WM_PAINT message, used to display bitmaps. The function of two parameters are used to display the bitmap handle of the window, and. Bmp file name (full path). When the function is successful, return TRUE, otherwise return FALSE.
- 2023-07-21 04:35:03下载
- 积分:1
-
这是一个matlab应用的论文和源代码,拿来和大家共享,希望有用得着的!...
这是一个matlab应用的论文和源代码,拿来和大家共享,希望有用得着的!-This is a Matlab Application papers and source code, and used to share the hope that a worthwhile!
- 2022-11-15 05:20:03下载
- 积分:1
-
脉冲编码调制实验过程(PCM)本文详细介绍了PCM编码的实验过程...
脉冲编码调制实验过程(PCM)本文详细介绍了PCM编码的实验过程-Pulse code modulation experiment (PCM) This paper introduces in detail the experimental process of PCM coding
- 2023-05-30 13:05:03下载
- 积分:1
-
* 高斯列主元素消去法求解矩阵方程AX=B,其中A是N*N的矩阵,B是N*M矩阵
* 输入: n...
* 高斯列主元素消去法求解矩阵方程AX=B,其中A是N*N的矩阵,B是N*M矩阵
* 输入: n----方阵A的行数
* a----矩阵A
* m----矩阵B的列数
* b----矩阵B
* 输出: det----矩阵A的行列式值
* a----A消元后的上三角矩阵
* b----矩阵方程的解X
-out the main elements of Gaussian elimination method for solving matrix equations AX = B, where A is N* N matrix, B is N* M matrix* Input : n---- A phalanx of a few-a matrix* A* m-matrix shown in a few B* b---- Matrix B* output : det-A matrix of a determinant value---- A* Elimination of upper triangular matrix* b---- Matrix The X-Solutions
- 2022-10-20 06:00:04下载
- 积分:1
-
运动员成绩统计系统
运动员成绩统计系统-athletes achievements statistical system
- 2022-02-04 02:21:19下载
- 积分:1
-
zh is a genetic algorithm with neural network examples
zh这是一个用遗传算法优化神经网络的例子-zh is a genetic algorithm with neural network examples
- 2022-07-07 01:26:18下载
- 积分:1
-
这个程序可以实现牛顿环(Newton s rings)的演示, 其中可调参数包括波长,
透镜曲率半径及最低点空气缝隙的厚度.参数的调节是通过欢快实现的,其中...
这个程序可以实现牛顿环(Newton s rings)的演示, 其中可调参数包括波长,
透镜曲率半径及最低点空气缝隙的厚度.参数的调节是通过欢快实现的,其中颜色
随波长近似的变化. 本程序可以增进读者对牛顿环的理解.-this procedure can be achieved Newton Central (Newton"s rings) demonstration. with adjustable parameters including wavelength, lens curvature radius and minimum thickness of the air gap. Parameter adjustment is achieved through the jubilant, With these color changes in the wavelength approximation. The procedure can improve readers to understand the Newton ring.
- 2022-02-16 09:03:12下载
- 积分:1
-
编写一个程序,在屏幕上出现一个圆心沿正弦曲线轨迹移动的实心圆,要求每隔4分之一周期,圆的填充色和圆的周边颜色都发生变化(颜色自己选取),同时圆的半径在四分之一周...
编写一个程序,在屏幕上出现一个圆心沿正弦曲线轨迹移动的实心圆,要求每隔4分之一周期,圆的填充色和圆的周边颜色都发生变化(颜色自己选取),同时圆的半径在四分之一周期内由正弦曲线幅值的0.2倍至0.6倍的线性增长。-The preparation of a procedure on the screen there is a center of a circle along the sinusoid trajectory mobile solid round, one request every 4 cycles, a circle filled with color and circle around the color change (color select their own), while the radius of a circle in the quarter-cycle sinusoid amplitude by 0.2 times to 0.6 times the linear growth.
- 2022-10-04 16:35:03下载
- 积分:1
-
* 本算法用最小二乘法依据指定的M个基函数及N个已知数据进行曲线拟和
* 输入: m...
* 本算法用最小二乘法依据指定的M个基函数及N个已知数据进行曲线拟和
* 输入: m--已知数据点的个数M
* f--M维基函数向量
* n--已知数据点的个数N-1
* x--已知数据点第一坐标的N维列向量
* y--已知数据点第二坐标的N维列向量
* a--无用
* 输出: 函数返回值为曲线拟和的均方误差
* a为用基函数进行曲线拟和的系数,
* 即a[0]f[0]+a[1]f[1]+...+a[M]f[M].
-* The algorithm using the least-squares method based on the designated function of M and N-known curve data to be imported and* : m-- the known number of data points M* f-- From M* n vector function-- known data points the number N-1* x-- known data points of the first N-dimensional coordinates listed Vector* y-- known data points of the second N-dimensional coordinates shown in a vector*-- useless* Output : function return value to the curve-fitting and the mean square error* for the use of a base function and the curve fitting coefficients,* is a f [0] [0] a [1] f [a] ... a [M] f [M].
- 2022-03-31 18:42:38下载
- 积分:1
-
* 用埃特金插值法依据N个已知数据点计算函数值
* 输入: n
* 用埃特金插值法依据N个已知数据点计算函数值
* 输入: n--已知数据点的个数N-1
* x--已知数据点第一坐标的N维列向量
* y--已知数据点第二坐标的N维列向量
* xx-插值点第一坐标
* eps--求解精度
* 输出: 函数返回值所求插值点的第二坐标
-* Use Aitken interpolation method based on N-known data points calculation function* Input : n-- known data points the number N-1* x-- known data points of the first N-dimensional coordinates listed Vector* y-- Known number stronghold of the second N-dimensional coordinates listed Vector* xx-point first interpolation coordinates* eps-- Accuracy* output : function return values for the second interpolation point coordinates
- 2022-02-27 04:09:19下载
- 积分:1