Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - c B
Search - c B - List
文实验环境为 .NET 1.1,MAPX4.5。 为了让鹰眼图脱离主View单独浮动,决定使用CJLibrary控件来放置鹰眼图,该控件可由网址[2]下载。 鹰眼图上面有一个红色矩形框,表示主图的当前可视范围。要求点击鼠标左键来移动此框时能够引起主图的联动。 主图上有放大、缩小、移动三个工具按钮,要求主图变化的时候,能够引起鹰眼图矩形框的联动。 实现的易错点在CMapXEagleBar::OnMouseUpInMap函数, 鹰眼图中矩形框的移动要经过如下几步: a) 得到矩形框四个顶点移动前的屏幕坐标, b) 计算出中心点坐标, c) 通过消息传入的参数得到移动后的中心点屏幕坐标 d) 计算前后中心点的偏移(以屏幕坐标作为参考) e) 计算移动后的矩形框的四个顶点的屏幕坐标 f) 将四个顶点的屏幕坐标转换成地理坐标 g) 显示新的矩形框
Date : 2009-06-18 Size : 64.42kb User : xin1888@163.com

* Zooming and Shrinking Images -(a) Write a computer program capable of zooming and shrinking an image by nearest neighbour and bilinear interpolation. The input to your program is the desired size of the resulting image in the horizontal and vertical direction. Then your program should create and display the resulting image in the desired size. Note: You cannot use the existing functions in the CImg library for zooming and shrinking. (b) Download the image (Fig2.19(a)) of size 512 x 512 and use your program to shrink this image to sizes 256 x 256 pixels, 100 x 100 pixels, and 30 x 30 pixels, using both nearest neighbour and bilinear interpolation. (c) Use your program to zoom each of the resulting images in (b) back to 500 x 500 with their respective interpolation methods. Explain the reasons for their differences from the original attached image.
Date : 2025-12-21 Size : 4.18mb User : k

Image Enhancement -1. Histogram Equalization (a) Write a C++ function for computing the histogram of an image. (b) Write a C++ function to implement the histogram equalization with local enhancement ability for any neighbourhood size. (c) Write a C++ program to perform histogram equalization and reproduce the results on Figure 3.17 (use images Fig3.15 1-4). 2. Spatial Filtering (a) Write a C++ function to perform spatial filtering of an image for any spatial mask of any size. (b) Write a C++ program to reproduce the results on Figure 3.36.
Date : 2025-12-21 Size : 105kb User : k

* Frequency domain filtering -1. Discrete Fourier Transform Write a C++ function for each of following: (a) Multiply the input image by (-1)x+y to center the transform for filtering. (b) Compute the two-dimensional discrete Fourier transform. (c) Compute the inverse two-dimensional discrete Fourier transform. (d) Multiply the result by (-1)x+y and take the real part. (e) Compute the Fourier spectrum. 2. Highass Filtering (a) Write a C++ function for the transfer function of the Gaussian highpass filter in Eq. (4.4-4). (b) Write a C++ program to reproduce the results on Figure 4.26 (page 184) using the attached image.
Date : 2025-12-21 Size : 1.25mb User : k

解方程a*x*x+b*x+c=0,输入a,b,c解出方程的根-Solution of equations a* x* x+ b* x+ c = 0, input a, b, c solved the root of equation
Date : 2025-12-21 Size : 1kb User : xie062840
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.