搜索资源列表
Hough
- Hough变换 BOOL Hough(HWND hWnd){ //定义一个自己的直线结构 typedef struct{ int topx //最高点的x坐标 int topy //最高点的y坐标 int botx //最低点的x坐标 int boty //最低点的y坐标 }MYLINE DWORD BufSize LPBITMAPINFOHEADER lpImgData LPSTR lpPtr HDC hDc
scanning_beam
- 图形学试验的第四个试验,扫描线算法。 光栅图形的扫描转换与区域填充。 稍描显算法的数据结构和实现步骤:为了实现多变性P的扫描转换,首先取d=y i n,数学符号,不好写,容易求得扫描线y=d上面的焦点序列x(一串),这一序列有位于扫描线y=d上的多变形P的顶点组成。
2003010296_大作业1
- a CRect rc(x - 12, y - 12, x + 12, y + 12) pDC->Ellipse(&rc) str1.Format( \"%d\",j ) pDC->SetTextColor(RGB(255,0,0)) pDC->DrawText(str1,&rc,DT_CENTER DT_VCENTER DT_SINGLELINE) PaintArrow(pDC,RGB(255,0,0),G.vexs[prev[j]].x,G.vexs[p
静态图像显著性分析程序
- 静态图像显著性分析程序,利用matlab开发。加州理工三位教授所写。-Software] Saliency Map Algorithm : MATLAB Source Code Below is MATLAB code which computes a salience/saliency map for an image or image sequence/video (either Graph-Based Visual Saliency (GBVS) or the standard It
Homography.rar
- 已知图象4点坐标和转换后图像相对应4点坐标, 利用openCV求出homograghy 3x3 矩阵, 然后输出变换后图像,There is an input image called "warpin". The goal is to warp this image so that the tiles are approximately square, that is the camera is rotated to look down, which produces an image call
CircleFitByPratt
- Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2) Output: Par = [a b R] is the fitting circle: center (a,b) and radius R Note: this fit does not use built-in matrix functions (except "mean"), so it can be
GraphRotator1.0
- 将画出的任意二维图形绕中点旋转。编写一个任意二维图形绕二维平面上任意点P(x,y)进行旋转变换的通用子程序。我根据<计算机图形学>上的公式进行了坐标变换后完成了这个功能-Will draw an arbitrary two-dimensional graphics around the mid-point of rotation. The preparation of an arbitrary two-dimensional graphics around the two-dimen
Vector_Diagram
- scr ipt originally intended for use in oceanography/fluid dynamics. Use: >> ipdv(X,Y) (0,0) default initial position or >> ipdv(X,Y,Xo,Yo) (Xo,Yo) initial position 2D vector components (X,Y) are used to plot the vectors one after
Cube-rotating
- 计算机图形学,立方体旋转,围绕x,y,z轴旋转,没有注释。相信直接看代码就能看懂-Computer graphics, cube rotation, around the x, y, z axis, with no commentary. I believe looking at the code can be read directly
Clock-Wipe
- 1. 首先把兩張圖讀進來,求出高與寬和設定time的最大值 2. 利用atan()這個數學函式算出角度,以圖的中心為基準width/2和height/2 把x,y帶入atan(-(y-height/2)/(x-width/2))*180/PI - 當求出的角度<隨著時間比例變的角度,則將新的圖覆蓋到舊的圖 - 反之,用舊的圖覆蓋舊的圖 3. 但是,這會產生一個問題,因為斜率一樣,且atan()求出的角度範圍只有-90~90度,所以一三象限或者二四象限會發生同時wi
MYaxis
- 在mtalab的画图中,给出子图的位置,便于设计图形的大小。- a function to define the coodination of your own subplot axes you d better estimate the input to assure not exceed the figure this function is similar to the subplot(row,col,i) i is the ith su
displayDictionaryElementsAsImage
- 经常用到的分块显示的程序。用于将字典中的原子分块显示出来-function I = displayDictionaryElementsAsImage(D, numRows, numCols, X,Y) displays the dictionary atoms as blocks. For activation, the dictionary D should be given, as also the number of rows (numRows) and columns
regiongrowing
- 区域生长算法 种子点 (x,y) J = regiongrowing(I,x,y,t) I为输入图像 J输出图像 t : 最大密度距离 (缺省为0.2)-Region growing algorithm Seed point (x, y) J = regiongrowing (I, x, y, t) I is the input image J output image t: maximum density distance (default
imag_encode
- 本程序实现阵列图像的子图像编号,其中中心子图编号为1, 与其距离为1的图像编号为2,依次类推,距离为横纵坐标和与中心子图横纵坐标和的差值的绝对值 中心子图坐标为(x,y),当前子图坐标为(x1,y1),编号为abs((x1+y1)-(x+y)) I是图像编号后的编号矩阵,center_x为横向中心子图坐标,center_y为纵向中心子图坐标 h_num为横向子图数,p_num为纵向子图数-image encoder
main1
- 编程实现彩色BMP图像的三个分量R、G、B的显示,Y、I、Q,H、S、I分量和X、Y、Z的显示 -Programming BMP color image three components R, G, B of the display, Y, I, Q, H, S, I component and X, Y, Z of the display
guangxianmoni
- 我基于OpenGL创建了大写字母P和小写字母p的三维图形。在美式键盘大写未锁定条件下,运行程序时,可以实现图形的自转、手控绕X,Y,Z轴旋转、放大、缩小和左、右平移。程序还添加了材质,光源和光照的设置-I created a three-dimensional graphics based on OpenGL uppercase P and the lowercase p s. In the American capital keyboard unlocked condition, when y
enviread
- 利用multibandread函数,此函数用于读取多波段二进制影像文件。至于何为二进制影像文件,简单地说ENVI主菜单file—save file as—envi standard得到的就是二进制影像文件,有时甚至会看到后缀名为bsq、bil、bip等影像,也是二进制影像文件。 对于一幅tif格式的高光谱影像,这里有两种方法将影像读入matlab: (1)直接利用imread函数读取,不知为何tif格式的高光谱影像居然可以读取,但是速度挺慢 (2)利用multibandread函数读
confplot
- 置信区间阴影图CONFPLOT is a linear plot utility, extending ERRORBAR to represent continuous confidence/error boundaries as a shaded gray area around the plotted line (i.e. taking advantage of the command area ).-CONFPLOT is a linear plot utility, extending
Signal-acquisition-system
- 1.首先打开软件,点击读取图片,寻找到要打开的图片,并且打开; 2.点击确定坐标系,在原始图片中找到原点,并点击鼠标的滑轮(中键),确定坐标轴; 3.分别点击确定X,Y单位长度,同样点击鼠标中键,分别在XY轴上找到相应位置,并且输入相应位置所对应的长度; 4.然后便可以采集信号,在原图上左键点击原始波形,下面便会画出图形,注意:右键是删除最新画出的点(即左键是画图,右键是删除);-1 first open the software, click to read the picture
dataset
- .熟悉BMP图像的结构,编程实现BMP图像的阅读和显示。 编程实现彩色BMP图像的三个分量R、G、B的显示,Y、I、Q,H、S、I分量和X、Y、Z的显示。 获取图像任意一点的像素值(Familiar with the structure of BMP image, programming to realize the reading and display of BMP image. The programming realizes the display of three compone