• 大小: 2.22MB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2024-02-02
  • 语言: C#
  • 标签:

资源简介

介绍:本代码实现了,图片的搜索功能,可用于类似图片识别外挂中。 C#高速找图程序,比较图片的细节处有何异同,像素级的1图片比较器。2大图找小图。3模糊找图。4透明找图

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;

namespace FindPic
{
    partial class key
    {
        //********************************************************************************************
        //键盘和鼠标 等 枚举
        #region

        internal enum HookType //枚举,钩子的类型
        {

            //MsgFilter     = -1

            //JournalRecord    = 0

            //JournalPlayback  = 1

            Keyboard = 2

            GetMessage = 3

            CallWndProc = 4

            //CBT              = 5

            SysMsgFilter = 6

            Mouse            = 7

            Hardware = 8

            //Debug            = 9

            //Shell           = 10

            //ForegroundIdle  = 11

            CallWndProcRet = 12

            KeyboardLL = 13

            //MouseLL           = 14

        };


        public enum wMsG : int
        {
            WM_NULL = 0x0000
            WM_CREATE = 0x0001
            WM_DESTROY = 0x0002
            WM_MOVE = 0x0003
            WM_SIZE = 0x0005
            WM_ACTIVATE = 0x0006
            WA_INACTIVE = 0
            WA_ACTIVE = 1
            WA_CLICKACTIVE = 2

            WM_SETFOCUS = 0x0007
            WM_KILLFOCUS = 0x0008
            WM_ENABLE = 0x000A
            WM_SETREDRAW = 0x000B
            WM_SETTEXT = 0x000C
            WM_GETTEXT = 0x000D
            WM_GETTEXTLENGTH = 0x000E
            WM_PAINT = 0x000F
            WM_CLOSE = 0x0010

            WM_QUERYENDSESSION = 0x0011
            WM_QUERYOPEN = 0x0013
            WM_ENDSESSION = 0x0016
            WM_QUIT = 0x0012
            WM_ERASEBKGND = 0x0014
            WM_SYSCOLORCHANGE = 0x0015
            WM_SHOWWINDOW = 0x0018
            WM_WININICHANGE = 0x001A
            WM_DEVMODECHANGE = 0x001B
            WM_ACTIVATEAPP = 0x001C
            WM_FONTCHANGE = 0x001D
            WM_TIMECHANGE = 0x001E
            WM_CANCELMODE = 0x001F
            WM_SETCURSOR = 0x0020
            WM_MOUSEACTIVATE = 0x0021
            WM_CHILDACTIVATE = 0x0022
            WM_QUEUESYNC = 0x0023
            WM_GETMINMAXINFO = 0x0024
            WM_USER   =    0x0400
            WM_KEYFIRST = 0x0100
            WM_KEYDOWN = 0x0100
            WM_KEYUP = 0x0101
            WM_CHAR = 0x0102
            WM_DEADCHAR = 0x0103
            WM_SYSKEYDOWN = 0x0104
            WM_SYSKEYUP = 0x0105
            WM_SYSCHAR = 0x0106
            WM_SYSDEADCHAR = 0x0107

            WM_MOUSEFIRST = 0x0200
            WM_MOUSEMOVE = 0x0200
            // 移动鼠标
            WM_LBUTTONDOWN = 0x0201
            //按下鼠标左键
            WM_LBUTTONUP = 0x0202
            //释放鼠标左键
            WM_LBUTTONDBLCLK = 0x0203
            //双击鼠标左键
            WM_RBUTTONDOWN = 0x0204
            //按下鼠标右键
            WM_RBUTTONUP = 0x0205
            //释放鼠标右键
            WM_RBUTTO

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        117  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\app.config

     文件        294  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\1.bmp

     文件      46592  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.exe

     文件        117  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.exe.config

     文件      75264  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.pdb

     文件      22712  2014-07-31 18:47  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.vshost.exe

     文件        117  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.vshost.exe.config

     文件        490  2013-06-18 20:28  C#高速模糊找图2.0\FindPic\bin\Debug\FindPic.vshost.exe.manifest

     文件       2970  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\完全对比.bmp

     文件    3888054  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\无标题.bmp

     文件       2970  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\相似度.bmp

     文件      12374  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\蛋总.bmp

     文件       1374  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\蛋蛋.bmp

     文件       8254  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\bin\Debug\透明.bmp

     文件      11257  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\enumerate.cs

     文件       4351  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\FindPic.csproj

     文件        227  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\FindPic.csproj.user

     文件      19091  2014-06-23 16:11  C#高速模糊找图2.0\FindPic\Form1.cs

     文件      13275  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\Form1.Designer.cs

     文件       6184  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\Form1.resx

     文件      37800  2014-05-21 01:50  C#高速模糊找图2.0\FindPic\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6856  2014-02-09 20:39  C#高速模糊找图2.0\FindPic\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       4258  2014-07-31 18:47  C#高速模糊找图2.0\FindPic\obj\x86\Debug\FindPic.csproj.FileListAbsolute.txt

     文件      46592  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\FindPic.exe

     文件        180  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\FindPic.Form1.resources

     文件      75264  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\FindPic.pdb

     文件        180  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\FindPic.Properties.Resources.resources

     文件        314  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\GenerateResource.read.1.tlog

     文件       1010  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\GenerateResource.write.1.tlog

     文件      18035  2013-12-21 14:03  C#高速模糊找图2.0\FindPic\obj\x86\Debug\ResolveAssemblyReference.cache

............此处省略29个文件信息

评论

共有 条评论

相关资源