Location:
Search - Pixel Check
Search list
Description: A real working program needs to check whether a pixel in the candidate matching block falls outside the image boundary and such pixel should not count in MAD. This program is meant to illustrate the main operations involved. Not the
actual working matlab script.
Platform: |
Size: 498 |
Author: mamamiaya |
Hits:
Description: 检测液晶屏幕好坏的最好的程序,本人一直在用-Detection of the best LCD screen of the program good or bad, I have been in use
Platform: |
Size: 414720 |
Author: lhqqtxy |
Hits:
Description: 1、编制程序显示印章图像(24位真彩色位图);
2、读出位图中每一像素点的(R,G,B)样本值;
3、以RGB其中某两个(或三个)为坐标,取一定数量的图像点为分析样本,分析其坐标系中的分布;
4、采用本章学习的方法找到分类判别函数,对这些样本进行分类;(要求首先将印章与底纹区分,如有可能将印章、底纹、签字区分)
5、将分类后的结果标记到原始图像上,检查其效果。
-1, the preparation procedures showed that the seal image (24-bit true color bitmap) 2, read out each bitmap pixel (R, G, B) sample value 3 to RGB which a two (or three ) for the coordinates, take a certain number of image points for the analysis of samples, analysis of its coordinate system of distribution 4, the method used in this chapter to learn to find discriminant function classification of these samples for classification (required first to distinguish between the seal and Shading, if possible, will seal, Shading, signatures to distinguish between) 5, will be the result of classification markings to the original image to check its effectiveness.
Platform: |
Size: 372736 |
Author: 苏朗 |
Hits:
Description: 可以讀取任意資料夾內的圖型檔案,並利用滑鼠確認任一點的ARGB值,以及該點的座標。-Can read any folder within the graphic file, and use the mouse to confirm the ARGB value of any point, as well as the coordinates of the points.
Platform: |
Size: 3308544 |
Author: MARS |
Hits:
Description: 本程序功能与Windows下附件中的画图软件功能相近。本程序是在VC6.0平台上用MFC所编,支持多文档和多视图结构,视图为滚动视图,允许分割窗口。绘制方面的功能主要包括绘制各种图元,包括直线、Bezier曲线、矩形、圆角矩形、椭圆(圆)、多边形,用笔或画刷自由绘图,橡皮擦擦除,颜料桶填充,取色和区域选取移动。绘图时可以选择各种画笔颜色和画刷颜色,各种线型和线宽,以及画封闭图元时是否填充,当然,还能设置背景色、清除图像及画布大小调整等,并且在绘图区单击右键会弹出快捷菜单。程序支持保存和读取位图格式。
程序界面主要由标题栏、菜单栏、工具栏、状态栏、绘图工作区及属性页对话框组成,其中有四个实现不同功能的工具栏,包括MFC自动生成的工具条、自定义的工具箱(ToolBox)、颜色盒(ColorBox)和工具属性栏(ToolStyleBox)。其中MFC自动生成的工具条用于保存文件之类的操作工具箱可以选择绘图或操作方式,颜色盒选取颜色,工具属性栏设置工具属性,状态栏中显示鼠标在绘图区的逻辑坐标,属性页对话框可以改变画布大小及设置背景色和前景色。工具栏和状态栏有停靠和浮动功能。-The program features with Windows under the annex is similar to the drawing software. This procedure is in VC6.0 platforms for use by MFC to support multi-document and multi-view structure, the view for scrolling view, to allow division of the window. Mapping functions including the preparation of a variety of major elements, including a straight line, Bezier curves, rectangle, round rectangle, ellipse (circle), polygon, use a pen or paint brush free drawing, erase eraser, paint bucket to fill, check color and regional select mobile. Can choose a variety of drawing and painting brush brushes color colors, a variety of linear and linewidth, as well as the painting when it closed pixel fill, of course, but also set the background color, clear images and adjustments, such as the size of canvas, and drawing area Right-click shortcut menu will pop up. Procedures to support the preservation and read the bitmap format.
Platform: |
Size: 2262016 |
Author: NiP |
Hits:
Description: 思路: 场景中的每个mesh关联到一个唯一的COLOR值。 Pick检测时, 将当前场景渲染到纹理, (在PS中各mesh仅用自己的关键COLOR),即刻取回当前鼠标的位置的COLOR, 查找COLOR就可以知道当前被Pick的Mesh。
使用Render To Texture 的快速Picking, 无需锁住Vertex Buffer进行三角面和射线的相交测试, 仅在读取数据的时候锁住纹理的一个相素, 但是显卡要支持Render To Texture,纹理尺寸必须支持非2的n次方,D3DFMT_A8R8G8B8 或 D3DFMT_X8R8G8B8
可以改进的地方:
1。用类封装
2。Pick可以返回指向mesh的指针
需要:
DX SDK Aug, 2006以上,VC2005 -Ever mesh in the scene has a unique color value(DWORD). Picking, render the scene to target(texture), just use the unique color( see .fx file ), retrieve the mouse position(screen space ) color at once, check the color and you will get the mesh. Picking with Render to texture, Not need lock vertex buffer to check intersection ray and triangle, within retrieving just lock one pixel. Device must support render to target、D3DFMT_A8R8G8B8 or D3DFMT_X8R8G8B8、not 2^n texture size、support shader of course.
Compile Environment:
DX SDK above Aug. , 2006 vc 2005
Thinking:
1. Use a class to encapsulate
2. Picking check return the pointer of the mesh( or reference )
Platform: |
Size: 5325824 |
Author: Jun Qian |
Hits:
Description: region growing:
The fundamental drawback of histogram-based region detection is that histograms
provide no spatial information (only the distribution of gray levels).
- Region-growing approaches exploit the important fact that pixels which are close
together have similar gray values.
• Region growing
- Start with a single pixel (seed) and add new pixels slowly
(1) Choose the seed pixel
(2) Check the neighboring pixels and add them to the region if they are similar to-region growing:
The fundamental drawback of histogram-based region detection is that histograms
provide no spatial information (only the distribution of gray levels).
- Region-growing approaches exploit the important fact that pixels which are close
together have similar gray values.
• Region growing
- Start with a single pixel (seed) and add new pixels slowly
(1) Choose the seed pixel
(2) Check the neighboring pixels and add them to the region if they are similar to
Platform: |
Size: 368640 |
Author: alo |
Hits:
Description: 3DMark2001 SE 是3DMark系列的最新工业标准,透过由一个超过400万个系统的效能数据库做比较为依据的结果,提供精细的标竿测试结果。可以让你以自己拥有的系统效能,跟世界上其它使用者的系统作比照。 结合支持DirectX 8.1的最新3D绘图,3DMark2001 SE 客观的测量你的计算机如何有效地适当执行3D绘图。SE版本里面包含有全新的像素投影1.4版测试程序。新版的System Info(系统信息)现在也会侦测安装好的硬盘级AGP,这些都对3D效能有重大的影响。新版会检查所有最新的处理器如AMD的Athlon XP、英特尔的Pentium 4 以及用于笔记型计算机的Pentium III -M处理器。 3DMark2001 SE 与主要的3D加速器及处理器制造商合作,提供你毫不逊色的可能性以及一套高稳定度诊断工具,同时包含一组全新的示范操作,包含四套新游戏测试并展示一些实时3D图形最新的改进与创新。这个试用版本不包含可玩的游戏展示以及专业的批次执行和结果浏览工具。 -3DMark2001 SE 3DMark series is the latest industry standards through a more than four million by the system to compare the performance of the database based on the results, providing detailed benchmark test results. Allows you to own the system performance, with the rest of the world for the user s system, cf. Combined with support for DirectX 8.1 3D graphics of the latest, 3DMark2001 SE and objective measurement of how effectively your computer the proper implementation of 3D graphics. SE version which contains a new test program version 1.4 pixel projection. New version of the System Info (System Information) is now also detects installed hard-drive level AGP, these have a significant impact on 3D performance. The new version will check all the latest processors such as AMD s Athlon XP, Intel s Pentium 4 and notebook computers for Pentium III-M processor. 3DMark2001 SE with the major 3D accelerator and processor manufacturers to provide you with the possibility of no less and a set o
Platform: |
Size: 41777152 |
Author: 阿诺 |
Hits:
Description: 使用k-means算法对一副RGB色彩空间的图像作简单的聚类。根据命令行提示输入聚类的大小K,程序自动计算每一个像素点的归属并着色该点为该类的色彩均值。工程运行于VS2008环境,需要OpenCV支持。Debug目下exe文件可以直接双击运行查看结果。-Using k-means algorithm on an RGB color space images to make a simple clustering. According to the command prompt enter the size of clusters K, the program automatically calculates the ownership of each pixel and color of the color point average for the class. This project runs under VS2008 with OpenCV. Double click the exe file under Debug folder to check the final result.
Platform: |
Size: 3136512 |
Author: |
Hits:
Description: 在游戏开始前,按下clear键开始点阵像素的扫描,每次显示一个点,在1.6s的时间内将用到的点阵的16个点扫描一遍以检查好坏;
Re(复位键)重新开始,按下时数码管显示分数清0,重新产生第一个方块;
le键实现左移,ri键实现右移;
由于资源限制,采用一个数码管显示分数,每消一行时,数码管分数加一,加到10时重新自动变为0;
用一个拨码开关控制下落的速度,置1时快速0.6s,置0时慢速1s
-Lattice pixel scanned each time a point before the start of the game, press the clear key 16 points of the lattice to be used in the 1.6s time scan again to check for good or bad Re (reset button) start again, press the digital display scores of clear re-produce the first box le key to achieve the left, ri, key to achieve shifted to the right due to resource constraints, the use of a digital display scores, each eliminate a line, the digital control plus a fraction, automatically re-added to 10 to 0 quickly set using a DIP switch to control the falling speed, 0.6 s 0:00 set slow 1s
Platform: |
Size: 2048 |
Author: wang mingming |
Hits:
Description: 读取bmp文件的各种信息
//1. 检查路径是否合法:文件能打开;以bmp为后缀名
//2. 读入位图的文件头:
//3. 打印位图的文件头
//4. 读入位图的信息头
//5. 打印位图的信息头
//6. 创建8位位图的调色板
//7. 读入位图的像素数据
//8. 计算每行像素所占的字节数
...
//11. 另存为位图
//12. 显示位图
-Read bmp file various information// check the path is legitimate: the file can be opened bmp extension// 2 the read into bitmap file header:// 3. The print bitmap file header// 4 reads the information of the bitmap header// 5// 6 Print bitmap information header to create 8-bit palette// 7// 8 reads the pixel data of the bitmap. calculated per row the the pixels share of the number of bytes ...// 11. saved as a bitmap// 12. bitmap ...
Platform: |
Size: 28672 |
Author: lee |
Hits:
Description: textarea自适应高度插件:
使用方法:
0. 检查CSS文件中所有textarea的line-height值, 若是纯数字, 给它加上单位em, 如: 1.5em. 否则IE(6|7|8)下插件失效.
1. 加载jQuery库(1.4+)
2. 加载textareaAutoHeight.js
3. 使用以下接口调用插件:
$( textarea ).tah({
moreSpace:15, //输入框底部预留的空白, 默认15, 单位像素
maxHeight:600, //指定Textarea的最大高度, 默认600, 单位像素
animateDur:200 //调整高度时的动画过渡时间, 默认200, 单位毫秒
}) -textarea height adaptive plug: use: check the CSS file for all the textarea line-height value, pure digital, plus it em, such as: 1.5em. otherwise IE (6 | 7 | 8) under plug failure. 1. loaded jQuery library (1.4+) 2 loaded textareaAutoHeight.js 3. use the following interface call plugin: $ (' textarea' ). tah ({moreSpace: 15,// input box at the bottom of reserved blank, the default 15 units of pixels maxHeight: 600,// Textarea maximum height specified, the default 600, the unit pixel animateDur: 200// adjust the height of the animation transition time, default 200 milliseconds})
Platform: |
Size: 2048 |
Author: gpudn22 |
Hits:
Description: these are function, you can find adjacent pixels of any pixel in a given image. three function are here in this attachment: "D adjacent", "4 adjacent" and "*8 adjacent".
format:"find_adjescent(matric,set,x,y)".
matric = image
set = set which you wanna check for adjacency
x,y = coordinates of pixel who s neighbors you wanna find out.
all other functions take the same input
Platform: |
Size: 1024 |
Author: raza_aflak |
Hits:
Description: VC++浏览大像素的BMP图画工具源码下载,图画阅读功用的一个小程序,首要用来检查高像素的BMP图画,不失真翻开BMP位图文件,VC++编程学习源码,很好的参考资料。-VC++ browse large pixel BMP picture tool to download source, a small program picture reading function, mainly used to check the BMP picture high pixel, without distortion, open the BMP file, learning VC++ programming source code, a good reference.
Platform: |
Size: 25600 |
Author: 糟熘鱼片 |
Hits:
Description: VC++浏览大像素的BMP图画工具源码下载,图画阅读功用的一个小程序,首要用来检查高像素的BMP图画,不失真翻开BMP位图文件,VC++编程学习源码,很好的参考资料。-VC++ large pixel BMP picture browsing tools download source code, drawings, read the function of a small program, mainly used to check the high pixel BMP picture distortion open BMP bitmap file, VC++ programming learning source, a good reference.
Platform: |
Size: 495616 |
Author: 王东全 |
Hits:
Description: VC++浏览大像素的BMP图画工具源码,首要用来检查高像素的BMP图画,不失真翻开BMP位图文件,VC++编程学习源码,很好的参考资料。-VC++ View large pixel BMP picture source tools, mainly used to check the high pixel BMP picture distortion open BMP bitmap file, VC++ programming learning source, a good reference.
Platform: |
Size: 17408 |
Author: 金超 |
Hits:
Description:
判断任意一年是否为闰年,输入年份,执行程序后输出是否为闰年
打印以下图案:
*
***
*****
*******
*********
计算M=11+ 22+ 33+…+ NN,直到N等于30为止
输入8个整数,将其逆序存放后再输出。
2、从
键盘
上输入两个字符串,不用库函数strcat()连接两个字符串,连接后的字符串放到另一个字符数组中,然后输出连接后的字符串。
1、写一个判定素数的函数,在主函数输入一个整数,输出是否素数的信息。
本程序应当准备以下测试数据:17、34、2、1、0。分别输入数据,运行程序并检查结果是否正确-Determining whether any given year is a leap year, enter the year, after the execution of the program output is a leap year
Print the following pattern:
*
***
*****
*******
*********
Computing M = 11+ 22+ 33+ ...+ NN, until N equals 30 until
Enter the 8 integers, then store it in reverse output.
2, from
Keyboard
Two input strings, no library function strcat () to concatenate two strings, concatenated string of characters into another array, and then output the string after the connection.
1. Write a function primes judgment, in the main function of the input an integer, the output is the number of pixel information.
This program should prepare the following test data: 17,34,2,1,0. Each input data, run the program and check the results are correct
Platform: |
Size: 3072 |
Author: 杰伦 |
Hits:
Description: Check the bad pixel rate (BPR) for images.
c++ and open cv2 code
Platform: |
Size: 26832896 |
Author: suminhong |
Hits:
Description: 我们用千万像素级相机拍摄的照片,通常达到好几兆,时间长了,相片多了,就很占空间,但是又舍不得删除。怎么办?减少图片的精度,也就减小了所占空间。事实上,用Windows XP自带的画图程序(Win7自带的画图程序没试过),打开图片,然后另存,即可发现图片体积大大减小,但是精度的损失用人眼是判断不出来的。可是如果每个图片都用画图程序打开再另存,势必很费时间。于是,小弟就开发了一个批量减少图片体积的小程序,可以递归执行。需要注意的是,要先选中递归复选框,然后再选择文件夹,否则不会递归。这也算是一个小bug吧。-We do pixel-level camera photographs, usually reaches several trillion, a long time, photos and more, it is the space, but they could not bear to delete. How to do? Reduce image precision, it reduces the footprint. In fact, with the Paint program that comes with Windows XP (Win7 Paint program that comes with not tried), open the image, then save it, you can find pictures volume greatly reduced, but the loss of accuracy of the human eye is not out of judgment. But if each picture are turned on and then save it with a drawing program, it is bound to be time-consuming. Thus, the younger brother developed a small batch volume reduction picture program can recursively. Note, first check the Recursive checkbox, and then the folder, otherwise not recursively. It would be a little bug it.
Platform: |
Size: 64512 |
Author: lmjlmj |
Hits:
Description: Calculate the width and height to do the md5 check. For the chroma plane, we never want to round down and thus skip a pixel so if we are shifting by 1 (chroma_shift) we add 1 before doing the shift.
-Calculate the width and height to do the md5 check. For the chroma plane, we never want to round down and thus skip a pixel so if we are shifting by 1 (chroma_shift) we add 1 before doing the shift.
Platform: |
Size: 2048 |
Author: gwsaiqui |
Hits: