You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
307 lines
21 KiB
307 lines
21 KiB
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#ifndef APSTUDIO_INVOKED
|
|
#include "targetver.h"
|
|
#endif
|
|
#include "afxres.h"
|
|
#include "verrsrc.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// 中文(简体,中国) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#ifndef APSTUDIO_INVOKED\r\n"
|
|
"#include ""targetver.h""\r\n"
|
|
"#endif\r\n"
|
|
"#include ""afxres.h""\r\n"
|
|
"#include ""verrsrc.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
|
|
"LANGUAGE 4, 2\r\n"
|
|
"#include ""res\\DIP182002108.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
|
|
"#include ""l.CHS\\afxres.rc"" // 标准组件\r\n"
|
|
"#if !defined(_AFXDLL)\r\n"
|
|
"#include ""l.CHS\\afxribbon.rc"" // MFC 功能区和控制条资源\r\n"
|
|
"#endif\r\n"
|
|
"#endif\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON "res\\DIP182002108.ico"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "关于 DIP182002108"
|
|
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
|
|
LTEXT "DIP182002108,版本 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
|
LTEXT "版权所有 (C) 2021",IDC_STATIC,42,26,114,8
|
|
DEFPUSHBUTTON "确定",IDOK,113,41,50,14,WS_GROUP
|
|
END
|
|
|
|
IDD_DIP182002108_DIALOG DIALOGEX 0, 0, 506, 453
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "确定",IDOK,354,432,50,14
|
|
PUSHBUTTON "取消",IDCANCEL,438,432,50,14
|
|
PUSHBUTTON "打开图片",IDC_OPENIMG,204,12,50,14
|
|
CONTROL "",IDC_PIC,"Static",SS_BLACKFRAME,7,7,188,221
|
|
PUSHBUTTON "打开视频",IDC_OPENVIDEO,258,12,50,14
|
|
GROUPBOX "缩放",IDC_STATIC,210,48,84,84
|
|
LTEXT "宽:",IDC_STATIC,223,63,15,8
|
|
LTEXT "高:",IDC_STATIC,223,86,15,8
|
|
EDITTEXT IDC_WIDTH,240,60,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_HEIGHT,240,84,40,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "缩放",IDC_BUTTON2,228,108,50,14
|
|
GROUPBOX "旋转",IDC_STATIC,300,48,82,60
|
|
EDITTEXT IDC_ANGLE,334,60,40,14,ES_AUTOHSCROLL
|
|
LTEXT "角度:",IDC_STATIC,310,63,22,8
|
|
PUSHBUTTON "旋转",IDC_ROTATE,316,84,50,14
|
|
GROUPBOX "错切",IDC_STATIC,390,48,90,84
|
|
EDITTEXT IDC_EDIT1,432,60,40,14,ES_AUTOHSCROLL
|
|
LTEXT "错切比率:",IDC_STATIC,396,62,35,8
|
|
PUSHBUTTON "水平错切",IDC_HSHEAR,402,84,50,14
|
|
PUSHBUTTON "垂直错切",IDC_VSHEAR,402,108,50,14
|
|
GROUPBOX "线性对比度展宽",IDC_STATIC,210,138,150,84
|
|
LTEXT "a:",IDC_STATIC,222,156,11,8
|
|
LTEXT "b:",IDC_STATIC,222,174,12,8
|
|
LTEXT "ga:",IDC_STATIC,294,156,15,8
|
|
LTEXT "gb:",IDC_STATIC,294,174,16,8
|
|
EDITTEXT IDC_EDIT2,240,156,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT3,240,174,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT4,312,156,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT5,312,174,40,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "线性对比度展宽",IDC_LINEAR,258,198,50,14
|
|
PUSHBUTTON "非线性动态范围调整",IDC_NONLINEAR,222,228,66,14
|
|
PUSHBUTTON "直方图均衡",IDC_HISTEQ,300,228,50,14
|
|
GROUPBOX "伪彩色增强",IDC_STATIC,366,138,72,84
|
|
CONTROL "密度分层法",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,378,156,50,10
|
|
CONTROL "灰度变换法",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,378,174,50,10
|
|
PUSHBUTTON "伪彩色增强",IDC_PSEUDO,378,192,50,14
|
|
GROUPBOX "图像去噪",IDC_STATIC,210,252,117,72
|
|
LTEXT "窗口大小:",IDC_STATIC,216,270,35,8
|
|
EDITTEXT IDC_EDIT6,216,282,46,14,ES_AUTOHSCROLL
|
|
CONTROL "均值滤波",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON | WS_GROUP,276,264,43,10
|
|
CONTROL "中值滤波",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,276,276,43,10
|
|
CONTROL "高斯滤波",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON,276,288,43,10
|
|
PUSHBUTTON "滤波",IDC_SMOOTH,240,306,50,14
|
|
GROUPBOX "图像锐化",IDC_STATIC,342,252,78,72
|
|
CONTROL "Sobel",IDC_RADIO6,"Button",BS_AUTORADIOBUTTON | WS_GROUP,354,264,33,10
|
|
CONTROL "Laplacian",IDC_RADIO7,"Button",BS_AUTORADIOBUTTON,354,276,43,10
|
|
CONTROL "自定义Laplacian",IDC_RADIO8,"Button",BS_AUTORADIOBUTTON,354,288,64,10
|
|
PUSHBUTTON "锐化",IDC_SHARP,354,306,50,14
|
|
GROUPBOX "固定阈值",IDC_STATIC,12,246,78,78
|
|
PUSHBUTTON "固定阈值",IDC_THRE,24,306,50,14
|
|
EDITTEXT IDC_EDIT7,42,264,40,14,ES_AUTOHSCROLL
|
|
LTEXT "阈值:",IDC_STATIC,18,267,22,8
|
|
GROUPBOX "动态阈值",IDC_STATIC,102,246,90,78
|
|
LTEXT "窗口尺寸:",IDC_STATIC,108,265,35,8
|
|
LTEXT "偏移值:",IDC_STATIC,108,288,28,8
|
|
EDITTEXT IDC_EDIT8,144,264,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT9,144,288,40,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "动态阈值",IDC_ADTHRE,120,306,50,14
|
|
LTEXT "种子坐标",IDC_STATIC,24,348,28,8
|
|
GROUPBOX "区域生长法",IDC_STATIC,12,330,84,114
|
|
LTEXT "X:",IDC_STATIC,24,368,12,8
|
|
LTEXT "Y:",IDC_STATIC,24,388,12,8
|
|
EDITTEXT IDC_EDIT10,42,366,40,14,ES_AUTOHSCROLL
|
|
LTEXT "阈值:",IDC_STATIC,24,406,22,8
|
|
EDITTEXT IDC_EDIT11,42,384,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT12,42,402,40,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "区域生长法",IDC_REGOINGROW,30,426,50,14
|
|
GROUPBOX "漫水分割法",IDC_STATIC,102,330,90,114
|
|
LTEXT "种子坐标",IDC_STATIC,114,348,28,8
|
|
LTEXT "X:",IDC_STATIC,114,368,12,8
|
|
LTEXT "Y:",IDC_STATIC,114,388,12,8
|
|
EDITTEXT IDC_EDIT13,133,366,40,14,ES_AUTOHSCROLL
|
|
LTEXT "阈值:",IDC_STATIC,114,406,22,8
|
|
EDITTEXT IDC_EDIT14,133,384,40,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_EDIT15,133,402,40,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "漫水分割法",IDC_BUTTON3,120,426,50,14
|
|
PUSHBUTTON "腐蚀",IDC_ERODE,216,396,50,14
|
|
PUSHBUTTON "膨胀",IDC_DILATE,276,396,50,14
|
|
PUSHBUTTON "开运算",IDC_MORPHOPEN,216,420,50,14
|
|
PUSHBUTTON "闭运算",IDC_MORPHCLOSE,276,420,50,14
|
|
GROUPBOX "腐蚀与膨胀",IDC_STATIC,210,330,120,114
|
|
CONTROL "矩形",IDC_RADIO9,"Button",BS_AUTORADIOBUTTON | WS_GROUP,222,360,30,10
|
|
CONTROL "椭圆形",IDC_RADIO10,"Button",BS_AUTORADIOBUTTON,258,360,37,10
|
|
CONTROL "十字",IDC_RADIO11,"Button",BS_AUTORADIOBUTTON,294,360,30,10
|
|
LTEXT "结构元形状:",IDC_STATIC,222,346,42,8
|
|
LTEXT "结构元尺寸:",IDC_STATIC,222,380,42,8
|
|
EDITTEXT IDC_EDIT18,270,378,40,14,ES_AUTOHSCROLL
|
|
GROUPBOX "颜色空间转换",IDC_STATIC,342,330,78,96
|
|
PUSHBUTTON "转换",IDC_COLOR,354,402,50,14
|
|
CONTROL "BGR->HSV",IDC_RADIO12,"Button",BS_AUTORADIOBUTTON | WS_GROUP,354,348,49,10
|
|
CONTROL "BGR->XYZ",IDC_RADIO13,"Button",BS_AUTORADIOBUTTON,354,366,49,10
|
|
CONTROL "BGR->YCrCb",IDC_RADIO14,"Button",BS_AUTORADIOBUTTON,354,384,55,10
|
|
PUSHBUTTON "白平衡",IDC_BUTTON9,438,336,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,1
|
|
PRODUCTVERSION 1,0,0,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "080404B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "TODO: <公司名>"
|
|
VALUE "FileDescription", "DIP182002108"
|
|
VALUE "FileVersion", "1.0.0.1"
|
|
VALUE "InternalName", "DIP182002108.exe"
|
|
VALUE "LegalCopyright", "TODO: (C) <公司名>。 保留所有权利。"
|
|
VALUE "OriginalFilename", "DIP182002108.exe"
|
|
VALUE "ProductName", "TODO: <产品名>"
|
|
VALUE "ProductVersion", "1.0.0.1"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x804, 1200
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 163
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
|
|
IDD_DIP182002108_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 499
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 446
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// AFX_DIALOG_LAYOUT
|
|
//
|
|
|
|
IDD_DIP182002108_DIALOG AFX_DIALOG_LAYOUT
|
|
BEGIN
|
|
0
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ABOUTBOX "关于 DIP182002108(&A)..."
|
|
END
|
|
|
|
#endif // 中文(简体,中国) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
|
LANGUAGE 4, 2
|
|
#include "res\DIP182002108.rc2" // 非 Microsoft Visual C++ 编辑的资源
|
|
#include "l.CHS\afxres.rc" // 标准组件
|
|
#if !defined(_AFXDLL)
|
|
#include "l.CHS\afxribbon.rc" // MFC 功能区和控制条资源
|
|
#endif
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|