ImageProcessing.rc
上传用户:wzyhdz
上传日期:2010-04-06
资源大小:164k
文件大小:27k
源码类别:

2D图形编程

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // Chinese (P.R.C.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 4, 2rn"
  43.     "#pragma code_page(936)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\ImageProcessing.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""l.chs\afxres.rc""          // Standard componentsrn"
  47.     "#include ""l.chs\afxprint.rc""        // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDR_MAINFRAME           ICON    DISCARDABLE     "res\ImageProcessing.ico"
  59. IDR_IMAGEPTYPE          ICON    DISCARDABLE     "res\ImageProcessingDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  65. /////////////////////////////////////////////////////////////////////////////
  66. //
  67. // Toolbar
  68. //
  69. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  70. BEGIN
  71.     BUTTON      ID_FILE_NEW
  72.     BUTTON      ID_FILE_OPEN
  73.     BUTTON      ID_FILE_SAVE
  74.     SEPARATOR
  75.     BUTTON      ID_EDIT_CUT
  76.     BUTTON      ID_EDIT_COPY
  77.     BUTTON      ID_EDIT_PASTE
  78.     SEPARATOR
  79.     BUTTON      ID_FILE_PRINT
  80.     SEPARATOR
  81.     BUTTON      ID_APP_ABOUT
  82. END
  83. /////////////////////////////////////////////////////////////////////////////
  84. //
  85. // Menu
  86. //
  87. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  88. BEGIN
  89.     POPUP "文件(&F)"
  90.     BEGIN
  91.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  92.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  93.         MENUITEM SEPARATOR
  94.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  95.         MENUITEM SEPARATOR
  96.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  97.         MENUITEM SEPARATOR
  98.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  99.     END
  100.     POPUP "查看(&V)"
  101.     BEGIN
  102.         MENUITEM "工具栏(&T)",                  ID_VIEW_TOOLBAR
  103.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  104.     END
  105.     POPUP "帮助(&H)"
  106.     BEGIN
  107.         MENUITEM "关于 ImageProcessing(&A)...", ID_APP_ABOUT
  108.     END
  109. END
  110. IDR_IMAGEPTYPE MENU PRELOAD DISCARDABLE 
  111. BEGIN
  112.     POPUP "文件(&F)"
  113.     BEGIN
  114.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  115.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  116.         MENUITEM "关闭(&C)",                    ID_FILE_CLOSE
  117.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVE
  118.         MENUITEM "另存为(&A)...",               ID_FILE_SAVE_AS
  119.         MENUITEM "重载图象(&R)",                ID_FILE_RELOAD
  120.         MENUITEM SEPARATOR
  121.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT
  122.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  123.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  124.         MENUITEM SEPARATOR
  125.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  126.         MENUITEM SEPARATOR
  127.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  128.     END
  129.     MENUITEM "Canny算子(&C)",               ID_EDGE_CANNY
  130. END
  131. /////////////////////////////////////////////////////////////////////////////
  132. //
  133. // Accelerator
  134. //
  135. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  136. BEGIN
  137.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  138.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  139.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  140.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  141.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  142.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  143.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  144.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  145.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  146.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  147.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  148.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  149.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  150.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  151. END
  152. /////////////////////////////////////////////////////////////////////////////
  153. //
  154. // Dialog
  155. //
  156. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 235, 55
  157. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  158. CAPTION "关于 ImageProcessing"
  159. FONT 9, "宋体"
  160. BEGIN
  161.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  162.     LTEXT           "ImageProcessing 1.0 版",IDC_STATIC,40,10,119,8,
  163.                     SS_NOPREFIX
  164.     LTEXT           "版权所有 (C) 2002",IDC_STATIC,40,25,119,8
  165.     DEFPUSHBUTTON   "确定",IDOK,178,7,50,14,WS_GROUP
  166. END
  167. IDD_DLG_SHOW_HISTOGRAM DIALOG DISCARDABLE  0, 0, 200, 193
  168. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  169. CAPTION "直方图"
  170. FONT 10, "System"
  171. BEGIN
  172.     DEFPUSHBUTTON   "确认",IDOK,25,172,50,14
  173.     PUSHBUTTON      "取消",IDCANCEL,97,172,50,14
  174.     LTEXT           "",IDC_DLG_HIST_SHOW,7,7,186,139
  175. END
  176. IDD_DLG_ENHANCE_SMOOTH DIALOG DISCARDABLE  0, 0, 242, 196
  177. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  178. CAPTION "图象平滑"
  179. FONT 10, "System"
  180. BEGIN
  181.     DEFPUSHBUTTON   "确认",IDOK,33,175,50,14
  182.     PUSHBUTTON      "取消",IDCANCEL,118,175,50,14
  183.     CONTROL         "平均模板(3×3)",IDC_RADIO_AVERTEM,"Button",
  184.                     BS_AUTORADIOBUTTON,20,21,64,10
  185.     GROUPBOX        "图象平滑模板设置",IDC_STATIC,7,7,228,153
  186.     CONTROL         "高斯模板(3×3)",IDC_RADIO_GUASSTEM,"Button",
  187.                     BS_AUTORADIOBUTTON,20,34,64,10
  188.     CONTROL         "自定义模板(<3×3)",IDC_RADIO_SELFTEM,"Button",
  189.                     BS_AUTORADIOBUTTON,20,49,76,10
  190.     LTEXT           "模板系数",IDC_STATIC,28,67,33,8
  191.     LTEXT           "模板高度",IDC_STATIC,28,80,33,8
  192.     LTEXT           "模板宽度",IDC_STATIC,28,94,33,8
  193.     LTEXT           "模板中心X坐标",IDC_STATIC,28,108,54,8
  194.     LTEXT           "模板中心Y坐标",IDC_STATIC,27,121,54,8
  195.     EDITTEXT        IDC_EDIT_SELFTEM_COEF,89,65,35,12,ES_AUTOHSCROLL | 
  196.                     WS_DISABLED
  197.     EDITTEXT        IDC_EDIT_SELFTEM_HEIGHT,89,78,35,12,ES_AUTOHSCROLL | 
  198.                     WS_DISABLED
  199.     EDITTEXT        IDC_EDIT_SELFTEM_WIDTH,89,92,35,12,ES_AUTOHSCROLL | 
  200.                     WS_DISABLED
  201.     EDITTEXT        IDC_EDIT_SELFTEM_CEN_X,89,107,35,12,ES_AUTOHSCROLL | 
  202.                     WS_DISABLED
  203.     EDITTEXT        IDC_EDIT_SELFTEM_CEN_Y,89,121,35,12,ES_AUTOHSCROLL | 
  204.                     WS_DISABLED
  205.     GROUPBOX        "自定义模板元素",IDC_STATIC,131,62,89,89
  206.     EDITTEXT        IDC_EDIT_SELFTEM_EL0,136,73,13,13,ES_AUTOHSCROLL | 
  207.                     WS_DISABLED
  208.     EDITTEXT        IDC_EDIT_SELFTEM_EL1,152,73,13,13,ES_AUTOHSCROLL | 
  209.                     WS_DISABLED
  210.     EDITTEXT        IDC_EDIT_SELFTEM_EL2,168,73,13,13,ES_AUTOHSCROLL | 
  211.                     WS_DISABLED
  212.     EDITTEXT        IDC_EDIT_SELFTEM_EL3,184,73,13,13,ES_AUTOHSCROLL | 
  213.                     WS_DISABLED
  214.     EDITTEXT        IDC_EDIT_SELFTEM_EL4,200,73,13,13,ES_AUTOHSCROLL | 
  215.                     WS_DISABLED
  216.     EDITTEXT        IDC_EDIT_SELFTEM_EL5,136,88,13,13,ES_AUTOHSCROLL | 
  217.                     WS_DISABLED
  218.     EDITTEXT        IDC_EDIT_SELFTEM_EL6,152,88,13,13,ES_AUTOHSCROLL | 
  219.                     WS_DISABLED
  220.     EDITTEXT        IDC_EDIT_SELFTEM_EL7,168,88,13,13,ES_AUTOHSCROLL | 
  221.                     WS_DISABLED
  222.     EDITTEXT        IDC_EDIT_SELFTEM_EL8,184,88,13,13,ES_AUTOHSCROLL | 
  223.                     WS_DISABLED
  224.     EDITTEXT        IDC_EDIT_SELFTEM_EL9,200,88,13,13,ES_AUTOHSCROLL | 
  225.                     WS_DISABLED
  226.     EDITTEXT        IDC_EDIT_SELFTEM_EL10,136,103,13,13,ES_AUTOHSCROLL | 
  227.                     WS_DISABLED
  228.     EDITTEXT        IDC_EDIT_SELFTEM_EL11,152,103,13,13,ES_AUTOHSCROLL | 
  229.                     WS_DISABLED
  230.     EDITTEXT        IDC_EDIT_SELFTEM_EL12,168,103,13,13,ES_AUTOHSCROLL | 
  231.                     WS_DISABLED
  232.     EDITTEXT        IDC_EDIT_SELFTEM_EL13,184,103,13,13,ES_AUTOHSCROLL | 
  233.                     WS_DISABLED
  234.     EDITTEXT        IDC_EDIT_SELFTEM_EL14,200,103,13,13,ES_AUTOHSCROLL | 
  235.                     WS_DISABLED
  236.     EDITTEXT        IDC_EDIT_SELFTEM_EL15,136,119,13,13,ES_AUTOHSCROLL | 
  237.                     WS_DISABLED
  238.     EDITTEXT        IDC_EDIT_SELFTEM_EL16,152,119,13,13,ES_AUTOHSCROLL | 
  239.                     WS_DISABLED
  240.     EDITTEXT        IDC_EDIT_SELFTEM_EL17,168,119,13,13,ES_AUTOHSCROLL | 
  241.                     WS_DISABLED
  242.     EDITTEXT        IDC_EDIT_SELFTEM_EL18,184,119,13,13,ES_AUTOHSCROLL | 
  243.                     WS_DISABLED
  244.     EDITTEXT        IDC_EDIT_SELFTEM_EL19,200,119,13,13,ES_AUTOHSCROLL | 
  245.                     WS_DISABLED
  246.     EDITTEXT        IDC_EDIT_SELFTEM_EL20,136,134,13,13,ES_AUTOHSCROLL | 
  247.                     WS_DISABLED
  248.     EDITTEXT        IDC_EDIT_SELFTEM_EL21,152,134,13,13,ES_AUTOHSCROLL | 
  249.                     WS_DISABLED
  250.     EDITTEXT        IDC_EDIT_SELFTEM_EL22,168,134,13,13,ES_AUTOHSCROLL | 
  251.                     WS_DISABLED
  252.     EDITTEXT        IDC_EDIT_SELFTEM_EL23,184,134,13,13,ES_AUTOHSCROLL | 
  253.                     WS_DISABLED
  254.     EDITTEXT        IDC_EDIT_SELFTEM_EL24,200,134,13,13,ES_AUTOHSCROLL | 
  255.                     WS_DISABLED
  256. END
  257. IDD_DLG_ENHANCE_MEDIAN DIALOG DISCARDABLE  0, 0, 243, 127
  258. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  259. CAPTION "中值滤波"
  260. FONT 10, "System"
  261. BEGIN
  262.     DEFPUSHBUTTON   "确认",IDOK,50,106,50,14
  263.     PUSHBUTTON      "取消",IDCANCEL,134,106,50,14
  264.     GROUPBOX        "中值滤波参数设置",IDC_STATIC,7,7,216,88
  265.     CONTROL         "垂直方向滤波(3×1)",IDC_RADIO_MEDIAN_VERTICAL,"Button",
  266.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,17,23,80,10
  267.     CONTROL         "水平方向滤波(1×3)",IDC_RADIO_MEDIAN_HORIZON,"Button",
  268.                     BS_AUTORADIOBUTTON | WS_TABSTOP,17,38,80,10
  269.     CONTROL         "(3×3)中值滤波",IDC_RADIO_MEDIAN_2DIMEN,"Button",
  270.                     BS_AUTORADIOBUTTON | WS_TABSTOP,18,52,64,10
  271.     CONTROL         "自定义中值滤波模板",IDC_RADIO_MEDIAN_SELFDEF,"Button",
  272.                     BS_AUTORADIOBUTTON | WS_TABSTOP,107,21,88,10
  273.     LTEXT           "滤波器高度",IDC_STATIC,107,36,41,8
  274.     LTEXT           "滤波器宽度",IDC_STATIC,107,48,41,8
  275.     LTEXT           "滤波器中心X坐标",IDC_STATIC,107,61,62,8
  276.     LTEXT           "滤波器中心Y坐标",IDC_STATIC,107,74,62,8
  277.     EDITTEXT        IDC_EDIT_MEDIAN_FILH,181,36,26,12,ES_AUTOHSCROLL | 
  278.                     WS_DISABLED
  279.     EDITTEXT        IDC_EDIT_MEDIAN_FILW,181,48,26,12,ES_AUTOHSCROLL | 
  280.                     WS_DISABLED
  281.     EDITTEXT        IDC_EDIT_MEDIAN_FILCENX,181,61,26,12,ES_AUTOHSCROLL | 
  282.                     WS_DISABLED
  283.     EDITTEXT        IDC_EDIT_MEDIAN_FILCENY,181,74,26,12,ES_AUTOHSCROLL | 
  284.                     WS_DISABLED
  285. END
  286. IDD_DLG_ENHANCE_COLOR DIALOG DISCARDABLE  0, 0, 187, 195
  287. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  288. CAPTION "伪彩色编码选择"
  289. FONT 10, "System"
  290. BEGIN
  291.     DEFPUSHBUTTON   "确定",IDOK,23,174,50,14
  292.     PUSHBUTTON      "取消",IDCANCEL,105,174,50,14
  293.     LISTBOX         IDC_LIST_ENH_COLOR,7,7,173,138,LBS_SORT | 
  294.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  295. END
  296. IDD_DLG_ENHANCE_LINTRANS DIALOG DISCARDABLE  0, 0, 309, 208
  297. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  298. CAPTION "分段线性变换设置"
  299. FONT 10, "System"
  300. BEGIN
  301.     DEFPUSHBUTTON   "确认",IDOK,22,187,50,14
  302.     PUSHBUTTON      "取消",IDCANCEL,100,187,50,14
  303.     EDITTEXT        IDC_EDIT_LINTRANS_X1,68,49,32,12,ES_AUTOHSCROLL
  304.     LTEXT           "第一点X坐标",IDC_STATIC,15,49,45,8
  305.     LTEXT           "第一点Y坐标",IDC_STATIC,16,69,45,8
  306.     LTEXT           "第二点X坐标",IDC_STATIC,17,87,45,8
  307.     LTEXT           "第二点Y坐标",IDC_STATIC,18,104,45,8
  308.     EDITTEXT        IDC_EDIT_LINTRANS_Y1,68,67,32,12,ES_AUTOHSCROLL
  309.     EDITTEXT        IDC_EDIT_LINTRANS_X2,68,86,32,12,ES_AUTOHSCROLL
  310.     EDITTEXT        IDC_EDIT_LINTRANS_Y2,68,103,32,12,ES_AUTOHSCROLL
  311.     GROUPBOX        "分段线性变换参数",IDC_STATIC,7,33,102,96
  312.     LTEXT           "",IDC_LINTRANS_SHOWCOR,121,18,124,111
  313. END
  314. IDD_DLG_REG DIALOG DISCARDABLE  0, 0, 306, 211
  315. STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | 
  316.     WS_THICKFRAME
  317. CAPTION "图象配准"
  318. FONT 10, "System"
  319. BEGIN
  320.     DEFPUSHBUTTON   "确认",IDOK,7,190,50,14
  321.     PUSHBUTTON      "取消",IDCANCEL,59,190,50,14
  322.     CONTROL         "",IDC_REG_INIT_IMAGE,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  323.                     WS_BORDER,7,7,125,146
  324.     CONTROL         "",IDC_REG_RESLT_IMAGE,"Static",SS_BLACKFRAME | 
  325.                     SS_SUNKEN | WS_BORDER,164,7,125,146
  326.     PUSHBUTTON      "打开匹配图象(&O)",IDC_REG_OPEN,112,190,59,14
  327.     PUSHBUTTON      "选取特征点(&C)",IDC_REG_CHOSE_FEATURE,173,190,50,14
  328.     PUSHBUTTON      "匹配图象(&R)",IDC_REG_REG,230,190,50,14
  329. END
  330. IDD_DLG_AFTREG DIALOG DISCARDABLE  0, 0, 218, 169
  331. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  332. CAPTION "配准后图象"
  333. FONT 10, "System"
  334. BEGIN
  335.     DEFPUSHBUTTON   "确认",IDOK,27,148,50,14
  336.     PUSHBUTTON      "取消",IDCANCEL,126,148,50,14
  337.     CONTROL         "",IDC_AFTREG_IMAGE,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  338.                     WS_BORDER,7,7,204,126
  339. END
  340. IDD_DLG_RECOG_MATCH DIALOG DISCARDABLE  0, 0, 356, 169
  341. STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | 
  342.     WS_THICKFRAME
  343. CAPTION "模板匹配"
  344. FONT 10, "System"
  345. BEGIN
  346.     DEFPUSHBUTTON   "确认",IDOK,7,148,50,14
  347.     PUSHBUTTON      "取消",IDCANCEL,65,148,50,14
  348.     CONTROL         "",IDC_RECOG_INIIMAGE,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  349.                     WS_BORDER,7,7,112,115
  350.     CONTROL         "",IDC_RECOG_MODIMAGE,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  351.                     WS_BORDER,136,7,106,114
  352.     CONTROL         "",IDC_RECOG_RESLTIMAGE,"Static",SS_BLACKFRAME | 
  353.                     SS_SUNKEN | WS_BORDER,250,7,99,113
  354.     PUSHBUTTON      "打开模板图象",IDC_RECOG_OPEN_MODEL,130,148,50,14
  355.     PUSHBUTTON      "匹配图象",IDC_RECOG_MATCH,192,148,50,14
  356. END
  357. IDD_CODING_HUFFMAN DIALOG DISCARDABLE  0, 0, 194, 227
  358. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  359. CAPTION "霍夫曼码表"
  360. FONT 10, "System"
  361. BEGIN
  362.     CONTROL         "List1",IDC_LST_Table,"SysListView32",LVS_REPORT | 
  363.                     WS_BORDER | WS_TABSTOP,9,7,174,157
  364.     LTEXT           "图象信息熵",IDC_STATIC1,11,168,55,10
  365.     LTEXT           "平均码字长",IDC_STATIC2,10,182,57,10
  366.     LTEXT           "编码效率",IDC_STATIC3,11,197,55,10
  367.     EDITTEXT        IDC_EDIT1,84,167,103,12,ES_AUTOHSCROLL | WS_DISABLED
  368.     EDITTEXT        IDC_EDIT2,84,181,103,12,ES_AUTOHSCROLL | WS_DISABLED
  369.     EDITTEXT        IDC_EDIT3,84,196,103,12,ES_AUTOHSCROLL | WS_DISABLED
  370. END
  371. IDD_CODING_SHANFINO DIALOG DISCARDABLE  0, 0, 200, 228
  372. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  373. CAPTION "香农-费诺码表"
  374. FONT 10, "System"
  375. BEGIN
  376.     CONTROL         "List1",IDC_LST_Table,"SysListView32",LVS_REPORT | 
  377.                     WS_BORDER | WS_TABSTOP,13,13,174,157
  378.     LTEXT           "图象信息熵",IDC_STATIC1,17,177,55,10
  379.     LTEXT           "平均码长度",IDC_STATIC2,17,191,57,10
  380.     LTEXT           "编码效率:",IDC_STATIC3,17,204,55,10
  381.     EDITTEXT        IDC_EDIT1,85,174,103,12,ES_AUTOHSCROLL | WS_DISABLED
  382.     EDITTEXT        IDC_EDIT2,85,187,103,12,ES_AUTOHSCROLL | WS_DISABLED
  383.     EDITTEXT        IDC_EDIT3,85,202,103,12,ES_AUTOHSCROLL | WS_DISABLED
  384. END
  385. IDD_CODING_BITPLANE DIALOG DISCARDABLE  0, 0, 161, 62
  386. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  387. CAPTION "位平面编码"
  388. FONT 10, "System"
  389. BEGIN
  390.     DEFPUSHBUTTON   "OK",IDOK,19,36,43,11
  391.     PUSHBUTTON      "Cancel",IDCANCEL,97,36,34,11
  392.     LTEXT           "第",IDC_STATIC,56,17,12,9
  393.     LTEXT           "位平面",IDC_STATIC,93,16,44,12
  394.     EDITTEXT        IDC_BIT,70,17,17,12,ES_AUTOHSCROLL
  395. END
  396. IDD_CODING_ARITH DIALOG DISCARDABLE  0, 0, 196, 202
  397. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  398. CAPTION "算术编码"
  399. FONT 10, "System"
  400. BEGIN
  401.     DEFPUSHBUTTON   "编码",IDCODING,63,97,50,14
  402.     PUSHBUTTON      "Cancel",IDCANCEL,132,175,50,14
  403.     EDITTEXT        IDC_EDIT1,34,34,111,12,ES_AUTOHSCROLL
  404.     LTEXT           "请输入二值序列(长度小于15)",IDC_STATIC,35,15,125,9
  405.     EDITTEXT        IDC_EDIT2,32,77,115,13,ES_AUTOHSCROLL | WS_DISABLED
  406.     LTEXT           "算术编码结果",IDC_STATIC,35,59,107,11
  407.     EDITTEXT        IDC_EDIT4,34,135,115,13,ES_AUTOHSCROLL
  408.     LTEXT           "算术译码结果",IDC_STATIC,38,117,107,11
  409.     DEFPUSHBUTTON   "译码",IDDECODING,64,153,50,14
  410. END
  411. #ifndef _MAC
  412. /////////////////////////////////////////////////////////////////////////////
  413. //
  414. // Version
  415. //
  416. VS_VERSION_INFO VERSIONINFO
  417.  FILEVERSION 1,0,0,1
  418.  PRODUCTVERSION 1,0,0,1
  419.  FILEFLAGSMASK 0x3fL
  420. #ifdef _DEBUG
  421.  FILEFLAGS 0x1L
  422. #else
  423.  FILEFLAGS 0x0L
  424. #endif
  425.  FILEOS 0x4L
  426.  FILETYPE 0x1L
  427.  FILESUBTYPE 0x0L
  428. BEGIN
  429.     BLOCK "StringFileInfo"
  430.     BEGIN
  431.         BLOCK "080404B0"
  432.         BEGIN
  433.             VALUE "CompanyName", ""
  434.             VALUE "FileDescription", "ImageProcessing Microsoft 基础类应用程序"
  435.             VALUE "FileVersion", "1, 0, 0, 1"
  436.             VALUE "InternalName", "ImageProcessing"
  437.             VALUE "LegalCopyright", "版权所有 (C) 2002"
  438.             VALUE "LegalTrademarks", ""
  439.             VALUE "OriginalFilename", "ImageProcessing.EXE"
  440.             VALUE "ProductName", "ImageProcessing 应用程序"
  441.             VALUE "ProductVersion", "1, 0, 0, 1"
  442.         END
  443.     END
  444.     BLOCK "VarFileInfo"
  445.     BEGIN
  446.         VALUE "Translation", 0x804, 1200
  447.     END
  448. END
  449. #endif    // !_MAC
  450. /////////////////////////////////////////////////////////////////////////////
  451. //
  452. // DESIGNINFO
  453. //
  454. #ifdef APSTUDIO_INVOKED
  455. GUIDELINES DESIGNINFO DISCARDABLE 
  456. BEGIN
  457.     IDD_ABOUTBOX, DIALOG
  458.     BEGIN
  459.         LEFTMARGIN, 7
  460.         RIGHTMARGIN, 228
  461.         TOPMARGIN, 7
  462.         BOTTOMMARGIN, 48
  463.     END
  464.     IDD_DLG_SHOW_HISTOGRAM, DIALOG
  465.     BEGIN
  466.         LEFTMARGIN, 7
  467.         RIGHTMARGIN, 193
  468.         TOPMARGIN, 7
  469.         BOTTOMMARGIN, 186
  470.     END
  471.     IDD_DLG_ENHANCE_SMOOTH, DIALOG
  472.     BEGIN
  473.         LEFTMARGIN, 7
  474.         RIGHTMARGIN, 235
  475.         TOPMARGIN, 7
  476.         BOTTOMMARGIN, 189
  477.     END
  478.     IDD_DLG_ENHANCE_MEDIAN, DIALOG
  479.     BEGIN
  480.         LEFTMARGIN, 7
  481.         RIGHTMARGIN, 236
  482.         TOPMARGIN, 7
  483.         BOTTOMMARGIN, 120
  484.     END
  485.     IDD_DLG_ENHANCE_COLOR, DIALOG
  486.     BEGIN
  487.         LEFTMARGIN, 7
  488.         RIGHTMARGIN, 180
  489.         TOPMARGIN, 7
  490.         BOTTOMMARGIN, 188
  491.     END
  492.     IDD_DLG_ENHANCE_LINTRANS, DIALOG
  493.     BEGIN
  494.         LEFTMARGIN, 7
  495.         RIGHTMARGIN, 302
  496.         TOPMARGIN, 7
  497.         BOTTOMMARGIN, 201
  498.     END
  499.     IDD_DLG_REG, DIALOG
  500.     BEGIN
  501.         LEFTMARGIN, 7
  502.         RIGHTMARGIN, 299
  503.         TOPMARGIN, 7
  504.         BOTTOMMARGIN, 204
  505.     END
  506.     IDD_DLG_AFTREG, DIALOG
  507.     BEGIN
  508.         LEFTMARGIN, 7
  509.         RIGHTMARGIN, 211
  510.         TOPMARGIN, 7
  511.         BOTTOMMARGIN, 162
  512.     END
  513.     IDD_DLG_RECOG_MATCH, DIALOG
  514.     BEGIN
  515.         LEFTMARGIN, 7
  516.         RIGHTMARGIN, 349
  517.         TOPMARGIN, 7
  518.         BOTTOMMARGIN, 162
  519.     END
  520.     IDD_CODING_HUFFMAN, DIALOG
  521.     BEGIN
  522.         LEFTMARGIN, 7
  523.         RIGHTMARGIN, 187
  524.         TOPMARGIN, 7
  525.         BOTTOMMARGIN, 220
  526.     END
  527.     IDD_CODING_SHANFINO, DIALOG
  528.     BEGIN
  529.         LEFTMARGIN, 7
  530.         RIGHTMARGIN, 193
  531.         TOPMARGIN, 7
  532.         BOTTOMMARGIN, 221
  533.     END
  534.     IDD_CODING_BITPLANE, DIALOG
  535.     BEGIN
  536.         LEFTMARGIN, 7
  537.         RIGHTMARGIN, 154
  538.         TOPMARGIN, 7
  539.         BOTTOMMARGIN, 55
  540.     END
  541.     IDD_CODING_ARITH, DIALOG
  542.     BEGIN
  543.         LEFTMARGIN, 7
  544.         RIGHTMARGIN, 189
  545.         TOPMARGIN, 7
  546.         BOTTOMMARGIN, 195
  547.     END
  548. END
  549. #endif    // APSTUDIO_INVOKED
  550. /////////////////////////////////////////////////////////////////////////////
  551. //
  552. // String Table
  553. //
  554. STRINGTABLE PRELOAD DISCARDABLE 
  555. BEGIN
  556.     IDR_MAINFRAME           "ImageProcessing"
  557.     IDR_IMAGEPTYPE          "nImagePnImagePnnnImageProcessing.DocumentnImageP Document"
  558. END
  559. STRINGTABLE PRELOAD DISCARDABLE 
  560. BEGIN
  561.     AFX_IDS_APP_TITLE       "ImageProcessing"
  562.     AFX_IDS_IDLEMESSAGE     "就绪"
  563. END
  564. STRINGTABLE DISCARDABLE 
  565. BEGIN
  566.     ID_INDICATOR_EXT        "扩展名"
  567.     ID_INDICATOR_CAPS       "大写"
  568.     ID_INDICATOR_NUM        "数字"
  569.     ID_INDICATOR_SCRL       "滚动"
  570.     ID_INDICATOR_OVR        "改写"
  571.     ID_INDICATOR_REC        "记录"
  572. END
  573. STRINGTABLE DISCARDABLE 
  574. BEGIN
  575.     ID_FILE_NEW             "建立新文档n新建"
  576.     ID_FILE_OPEN            "打开一个现有文档n打开"
  577.     ID_FILE_CLOSE           "关闭活动文档n关闭"
  578.     ID_FILE_SAVE            "保存活动文档n保存"
  579.     ID_FILE_SAVE_AS         "将活动文档以一个新文件名保存n另存为"
  580.     ID_FILE_PAGE_SETUP      "改变打印选项n页面设置"
  581.     ID_FILE_PRINT_SETUP     "改变打印机及打印选项n打印设置"
  582.     ID_FILE_PRINT           "打印活动文档n打印"
  583.     ID_FILE_PRINT_PREVIEW   "显示整页n打印预览"
  584. END
  585. STRINGTABLE DISCARDABLE 
  586. BEGIN
  587.     ID_APP_ABOUT            "显示程序信息,版本号和版权n关于"
  588.     ID_APP_EXIT             "退出应用程序;提示保存文档n退出"
  589. END
  590. STRINGTABLE DISCARDABLE 
  591. BEGIN
  592.     ID_FILE_MRU_FILE1       "打开该文档"
  593.     ID_FILE_MRU_FILE2       "打开该文档"
  594.     ID_FILE_MRU_FILE3       "打开该文档"
  595.     ID_FILE_MRU_FILE4       "打开该文档"
  596.     ID_FILE_MRU_FILE5       "打开该文档"
  597.     ID_FILE_MRU_FILE6       "打开该文档"
  598.     ID_FILE_MRU_FILE7       "打开该文档"
  599.     ID_FILE_MRU_FILE8       "打开该文档"
  600.     ID_FILE_MRU_FILE9       "打开该文档"
  601.     ID_FILE_MRU_FILE10      "打开该文档"
  602.     ID_FILE_MRU_FILE11      "打开该文档"
  603.     ID_FILE_MRU_FILE12      "打开该文档"
  604.     ID_FILE_MRU_FILE13      "打开该文档"
  605.     ID_FILE_MRU_FILE14      "打开该文档"
  606.     ID_FILE_MRU_FILE15      "打开该文档"
  607.     ID_FILE_MRU_FILE16      "打开该文档"
  608. END
  609. STRINGTABLE DISCARDABLE 
  610. BEGIN
  611.     ID_NEXT_PANE            "切换到下一个窗格n下一窗格"
  612.     ID_PREV_PANE            "切换回前一个窗格n前一窗格"
  613. END
  614. STRINGTABLE DISCARDABLE 
  615. BEGIN
  616.     ID_WINDOW_NEW           "为活动文档打开另一个窗口n新建窗口"
  617.     ID_WINDOW_ARRANGE       "将图标排列在窗口底部n排列图标"
  618.     ID_WINDOW_CASCADE       "排列窗口成相互重叠n层叠窗口"
  619.     ID_WINDOW_TILE_HORZ     "排列窗口成互不重叠n平铺窗口"
  620.     ID_WINDOW_TILE_VERT     "排列窗口成互不重叠n平铺窗口"
  621.     ID_WINDOW_SPLIT         "将活动的窗口分隔成窗格n分隔"
  622. END
  623. STRINGTABLE DISCARDABLE 
  624. BEGIN
  625.     ID_EDIT_CLEAR           "删除被选对象n删除"
  626.     ID_EDIT_CLEAR_ALL       "全部删除n全部删除"
  627.     ID_EDIT_COPY            "复制被选对象并将其置于剪贴板上n复制"
  628.     ID_EDIT_CUT             "剪切被选对象并将其置于剪贴板上n剪切"
  629.     ID_EDIT_FIND            "查找指定的正文n查找"
  630.     ID_EDIT_PASTE           "插入剪贴板内容n粘贴"
  631.     ID_EDIT_REPEAT          "重复上一步操作n重复"
  632.     ID_EDIT_REPLACE         "用不同的正文替换指定的正文n替换"
  633.     ID_EDIT_SELECT_ALL      "选择整个文档n选择全部"
  634.     ID_EDIT_UNDO            "撤消最后一步操作n撤消"
  635.     ID_EDIT_REDO            "重新执行先前已撤消的操作n重新执行"
  636. END
  637. STRINGTABLE DISCARDABLE 
  638. BEGIN
  639.     ID_VIEW_TOOLBAR         "显示或隐藏工具栏n显隐工具栏"
  640.     ID_VIEW_STATUS_BAR      "显示或隐藏状态栏n显隐状态栏"
  641. END
  642. STRINGTABLE DISCARDABLE 
  643. BEGIN
  644.     AFX_IDS_SCSIZE          "改变窗口大小"
  645.     AFX_IDS_SCMOVE          "改变窗口位置"
  646.     AFX_IDS_SCMINIMIZE      "将窗口缩小成图标"
  647.     AFX_IDS_SCMAXIMIZE      "把窗口放大到最大尺寸"
  648.     AFX_IDS_SCNEXTWINDOW    "切换到下一个文档窗口"
  649.     AFX_IDS_SCPREVWINDOW    "切换到先前的文档窗口"
  650.     AFX_IDS_SCCLOSE         "关闭活动的窗口并提示保存所有文档"
  651. END
  652. STRINGTABLE DISCARDABLE 
  653. BEGIN
  654.     AFX_IDS_SCRESTORE       "把窗口恢复到正常大小"
  655.     AFX_IDS_SCTASKLIST      "激活任务表"
  656.     AFX_IDS_MDICHILD        "激活该窗口"
  657. END
  658. STRINGTABLE DISCARDABLE 
  659. BEGIN
  660.     AFX_IDS_PREVIEW_CLOSE   "关闭打印预览模式n取消预阅"
  661. END
  662. STRINGTABLE DISCARDABLE 
  663. BEGIN
  664.     ID_REGIONSEG_FIX        "并行区域分割-用固定的阈值进行区域分割"
  665.     ID_FFT_2D               "二维快速傅立叶变换"
  666.     ID_EDGE_TRACK           "串行边界分割-Edge Track"
  667.     ID_REGION_GROW          "串行区域分割"
  668.     ID_ADA_REGION_SEG       "并行区域分割-自适应并行区域分割"
  669.     ID_DFT                  "Discrete Fourier Transform"
  670.     ID_DFT_2D               "二维离散傅立叶变换"
  671. END
  672. STRINGTABLE DISCARDABLE 
  673. BEGIN
  674.     ID_FILE_RELOAD          "重载图象"
  675.     ID_VIEW_HISTOGRAM       "显示直方图"
  676.     ID_ENHANCE_SMOOTH       "局部平均平滑"
  677.     ID_ENHANCE_MEDIAN       "中值滤波"
  678.     ID_ENHANCE_SMOOTH_FR    "图象频域平滑-理想低通滤波"
  679.     ID_ENHANCE_PSEUDCOLOR   "伪彩色增强"
  680.     ID_TRANS_DWT            "小波变换"
  681.     ID_TRANS_IDWT           "小波反变换"
  682.     IDC_ENHANCE_LINTRANS    "灰度变换"
  683.     IDC_ENHANCE_EQUHIST     "直方图均衡"
  684.     IDC_ENHANCE_SHARP       "图象锐化"
  685.     IDC_ENHANCE_BUTT_LOW    "Butterworth低通滤波"
  686.     IDC_ENHANCE_BUTT_HIGHT  "Butterworth高通滤波"
  687.     IDC_ENHANCE_SHARP_FREQ  "图象频域锐化-理想高通滤波"
  688. END
  689. STRINGTABLE DISCARDABLE 
  690. BEGIN
  691.     ID_REG_REG              "图象配准"
  692.     ID_MENUITEM32801        "并行区域分割-自适应并行区域分割"
  693.     ID_EDGE_ROBERTS         "并行边界分割-Roberts算子"
  694.     ID_EDGE_SOBEL           "并行边界分割-Sobel算子"
  695.     ID_EDGE_PREWITT         "并行边界分割-Prewitt算子"
  696.     ID_EDGE_LAPLACE         "并行边界分割-Laplace算子"
  697.     ID_EDGE_CANNY           "并行边界分割-Canny算子"
  698.     ID_MOTION_BACKGROUND    "运动检测-获取静止背景"
  699.     ID_RECOG_MATCH          "图象识别-模板匹配"
  700. END
  701. #endif    // Chinese (P.R.C.) resources
  702. /////////////////////////////////////////////////////////////////////////////
  703. #ifndef APSTUDIO_INVOKED
  704. /////////////////////////////////////////////////////////////////////////////
  705. //
  706. // Generated from the TEXTINCLUDE 3 resource.
  707. //
  708. #define _AFX_NO_SPLITTER_RESOURCES
  709. #define _AFX_NO_OLE_RESOURCES
  710. #define _AFX_NO_TRACKER_RESOURCES
  711. #define _AFX_NO_PROPERTY_RESOURCES
  712. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  713. #ifdef _WIN32
  714. LANGUAGE 4, 2
  715. #pragma code_page(936)
  716. #endif //_WIN32
  717. #include "resImageProcessing.rc2"  // non-Microsoft Visual C++ edited resources
  718. #include "l.chsafxres.rc"          // Standard components
  719. #include "l.chsafxprint.rc"        // printing/print preview resources
  720. #endif
  721. /////////////////////////////////////////////////////////////////////////////
  722. #endif    // not APSTUDIO_INVOKED