├── ImageProcessing ├── Debug │ ├── ImageCYDlg.obj │ ├── ImagePYDlg.obj │ ├── ImageProcessing.exe │ ├── ImageProcessing.ilk │ ├── ImageProcessing.obj │ ├── ImageProcessing.pch │ ├── ImageProcessing.pdb │ ├── ImageProcessing.res │ ├── ImageProcessingDoc.obj │ ├── ImageProcessingView.obj │ ├── ImageSFDlg.obj │ ├── ImageXZDlg.obj │ ├── ImageZFTDlg.obj │ ├── MainFrm.obj │ ├── StdAfx.obj │ ├── vc60.idb │ └── vc60.pdb ├── ImageCYDlg.cpp ├── ImageCYDlg.h ├── ImagePYDlg.cpp ├── ImagePYDlg.h ├── ImageProcessing.aps ├── ImageProcessing.clw ├── ImageProcessing.cpp ├── ImageProcessing.dsp ├── ImageProcessing.dsw ├── ImageProcessing.h ├── ImageProcessing.ncb ├── ImageProcessing.opt ├── ImageProcessing.plg ├── ImageProcessing.rc ├── ImageProcessing.vcxproj ├── ImageProcessing.vcxproj.filters ├── ImageProcessing.vcxproj.user ├── ImageProcessingDoc.cpp ├── ImageProcessingDoc.h ├── ImageProcessingView.cpp ├── ImageProcessingView.h ├── ImageSFDlg.cpp ├── ImageSFDlg.h ├── ImageXZDlg.cpp ├── ImageXZDlg.h ├── ImageZFTDlg.cpp ├── ImageZFTDlg.h ├── MainFrm.cpp ├── MainFrm.h ├── README.md ├── ReadMe.txt ├── StdAfx.cpp ├── StdAfx.h ├── pic │ ├── 24-198-135.bmp │ ├── 24-512-512.bmp │ ├── 24-604-311.bmp │ ├── Rockies.bmp │ ├── dog.bmp │ ├── gold.bmp │ ├── picture.bmp │ ├── picture2.bmp │ ├── picture3.bmp │ ├── picture5.bmp │ └── 截图02.bmp ├── res │ ├── ImageProcessing.ico │ ├── ImageProcessing.rc2 │ ├── ImageProcessingDoc.ico │ └── Toolbar.bmp └── resource.h └── README.md /ImageProcessing/Debug/ImageCYDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageCYDlg.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImagePYDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImagePYDlg.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.exe -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.ilk -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.pch -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.pdb -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessing.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessing.res -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessingDoc.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessingDoc.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageProcessingView.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageProcessingView.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageSFDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageSFDlg.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageXZDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageXZDlg.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/ImageZFTDlg.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/ImageZFTDlg.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/MainFrm.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/MainFrm.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/StdAfx.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/StdAfx.obj -------------------------------------------------------------------------------- /ImageProcessing/Debug/vc60.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/vc60.idb -------------------------------------------------------------------------------- /ImageProcessing/Debug/vc60.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/Debug/vc60.pdb -------------------------------------------------------------------------------- /ImageProcessing/ImageCYDlg.cpp: -------------------------------------------------------------------------------- 1 | // ImageCYDlg.cpp : implementation file 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | #include "ImageCYDlg.h" 7 | 8 | #ifdef _DEBUG 9 | #define new DEBUG_NEW 10 | #undef THIS_FILE 11 | static char THIS_FILE[] = __FILE__; 12 | #endif 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CImageCYDlg dialog 16 | 17 | 18 | CImageCYDlg::CImageCYDlg(CWnd* pParent /*=NULL*/) 19 | : CDialog(CImageCYDlg::IDD, pParent) 20 | { 21 | //{{AFX_DATA_INIT(CImageCYDlg) 22 | m_xPlace = 0; 23 | m_yPlace = 0; 24 | //}}AFX_DATA_INIT 25 | } 26 | 27 | 28 | void CImageCYDlg::DoDataExchange(CDataExchange* pDX) 29 | { 30 | CDialog::DoDataExchange(pDX); 31 | //{{AFX_DATA_MAP(CImageCYDlg) 32 | DDX_Text(pDX, IDC_EDIT_CYX, m_xPlace); 33 | DDX_Text(pDX, IDC_EDIT_CYY, m_yPlace); 34 | //}}AFX_DATA_MAP 35 | } 36 | 37 | 38 | BEGIN_MESSAGE_MAP(CImageCYDlg, CDialog) 39 | //{{AFX_MSG_MAP(CImageCYDlg) 40 | //}}AFX_MSG_MAP 41 | END_MESSAGE_MAP() 42 | 43 | ///////////////////////////////////////////////////////////////////////////// 44 | // CImageCYDlg message handlers 45 | 46 | BOOL CImageCYDlg::OnInitDialog() 47 | { 48 | CDialog::OnInitDialog(); 49 | 50 | // TODO: Add extra initialization here 51 | 52 | return TRUE; // return TRUE unless you set the focus to a control 53 | // EXCEPTION: OCX Property Pages should return FALSE 54 | } 55 | -------------------------------------------------------------------------------- /ImageProcessing/ImageCYDlg.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_IMAGECYDLG_H__C31887F4_5D4C_4616_9763_6AE43A2C9821__INCLUDED_) 2 | #define AFX_IMAGECYDLG_H__C31887F4_5D4C_4616_9763_6AE43A2C9821__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // ImageCYDlg.h : header file 8 | // 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CImageCYDlg dialog 12 | 13 | class CImageCYDlg : public CDialog 14 | { 15 | // Construction 16 | public: 17 | CImageCYDlg(CWnd* pParent = NULL); // standard constructor 18 | 19 | // Dialog Data 20 | //{{AFX_DATA(CImageCYDlg) 21 | enum { IDD = IDD_DIALOG_CY }; 22 | int m_xPlace; 23 | int m_yPlace; 24 | //}}AFX_DATA 25 | 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CImageCYDlg) 30 | protected: 31 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 32 | //}}AFX_VIRTUAL 33 | 34 | // Implementation 35 | protected: 36 | 37 | // Generated message map functions 38 | //{{AFX_MSG(CImageCYDlg) 39 | virtual BOOL OnInitDialog(); 40 | //}}AFX_MSG 41 | DECLARE_MESSAGE_MAP() 42 | }; 43 | 44 | //{{AFX_INSERT_LOCATION}} 45 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 46 | 47 | #endif // !defined(AFX_IMAGECYDLG_H__C31887F4_5D4C_4616_9763_6AE43A2C9821__INCLUDED_) 48 | -------------------------------------------------------------------------------- /ImageProcessing/ImagePYDlg.cpp: -------------------------------------------------------------------------------- 1 | // ImagePYDlg.cpp : implementation file 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | #include "ImagePYDlg.h" 7 | 8 | #ifdef _DEBUG 9 | #define new DEBUG_NEW 10 | #undef THIS_FILE 11 | static char THIS_FILE[] = __FILE__; 12 | #endif 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CImagePYDlg dialog 16 | 17 | 18 | CImagePYDlg::CImagePYDlg(CWnd* pParent /*=NULL*/) 19 | : CDialog(CImagePYDlg::IDD, pParent) 20 | { 21 | //{{AFX_DATA_INIT(CImagePYDlg) 22 | m_xPY = 0; 23 | m_yPY = 0; 24 | //}}AFX_DATA_INIT 25 | } 26 | 27 | 28 | void CImagePYDlg::DoDataExchange(CDataExchange* pDX) 29 | { 30 | CDialog::DoDataExchange(pDX); 31 | //{{AFX_DATA_MAP(CImagePYDlg) 32 | DDX_Text(pDX, IDC_EDIT_PYX, m_xPY); 33 | DDX_Text(pDX, IDC_EDIT_PYY, m_yPY); 34 | //}}AFX_DATA_MAP 35 | } 36 | 37 | 38 | BEGIN_MESSAGE_MAP(CImagePYDlg, CDialog) 39 | //{{AFX_MSG_MAP(CImagePYDlg) 40 | // NOTE: the ClassWizard will add message map macros here 41 | //}}AFX_MSG_MAP 42 | END_MESSAGE_MAP() 43 | 44 | ///////////////////////////////////////////////////////////////////////////// 45 | // CImagePYDlg message handlers 46 | -------------------------------------------------------------------------------- /ImageProcessing/ImagePYDlg.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_IMAGEPYDLG_H__9E8DA9E2_84D7_4514_8345_1F76CDF86A14__INCLUDED_) 2 | #define AFX_IMAGEPYDLG_H__9E8DA9E2_84D7_4514_8345_1F76CDF86A14__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // ImagePYDlg.h : header file 8 | // 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CImagePYDlg dialog 12 | 13 | class CImagePYDlg : public CDialog 14 | { 15 | // Construction 16 | public: 17 | CImagePYDlg(CWnd* pParent = NULL); // standard constructor 18 | 19 | // Dialog Data 20 | //{{AFX_DATA(CImagePYDlg) 21 | enum { IDD = IDD_DIALOG_PY }; 22 | int m_xPY; 23 | int m_yPY; 24 | //}}AFX_DATA 25 | 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CImagePYDlg) 30 | protected: 31 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 32 | //}}AFX_VIRTUAL 33 | 34 | // Implementation 35 | protected: 36 | 37 | // Generated message map functions 38 | //{{AFX_MSG(CImagePYDlg) 39 | // NOTE: the ClassWizard will add member functions here 40 | //}}AFX_MSG 41 | DECLARE_MESSAGE_MAP() 42 | }; 43 | 44 | //{{AFX_INSERT_LOCATION}} 45 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 46 | 47 | #endif // !defined(AFX_IMAGEPYDLG_H__9E8DA9E2_84D7_4514_8345_1F76CDF86A14__INCLUDED_) 48 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessing.aps -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | LastClass=CImageProcessingView 6 | LastTemplate=CDialog 7 | NewFileInclude1=#include "stdafx.h" 8 | NewFileInclude2=#include "ImageProcessing.h" 9 | LastPage=0 10 | 11 | ClassCount=10 12 | Class1=CImageProcessingApp 13 | Class2=CImageProcessingDoc 14 | Class3=CImageProcessingView 15 | Class4=CMainFrame 16 | 17 | ResourceCount=7 18 | Resource1=IDD_DIALOG_XZ 19 | Class5=CAboutDlg 20 | Resource2=IDD_ABOUTBOX 21 | Class6=CImageCYDlg 22 | Resource3=IDD_DIALOG_PY 23 | Class7=CImageZFTDlg 24 | Resource4=IDR_MAINFRAME 25 | Class8=CImagePYDlg 26 | Resource5=IDD_DIALOG_CY 27 | Class9=CImageXZDlg 28 | Resource6=IDD_DIALOG_ZFT 29 | Class10=CImageSFDlg 30 | Resource7=IDD_DIALOG_SF 31 | 32 | [CLS:CImageProcessingApp] 33 | Type=0 34 | HeaderFile=ImageProcessing.h 35 | ImplementationFile=ImageProcessing.cpp 36 | Filter=N 37 | 38 | [CLS:CImageProcessingDoc] 39 | Type=0 40 | HeaderFile=ImageProcessingDoc.h 41 | ImplementationFile=ImageProcessingDoc.cpp 42 | Filter=N 43 | 44 | [CLS:CImageProcessingView] 45 | Type=0 46 | HeaderFile=ImageProcessingView.h 47 | ImplementationFile=ImageProcessingView.cpp 48 | Filter=C 49 | BaseClass=CView 50 | VirtualFilter=VWC 51 | LastObject=ID_RH_GTMB 52 | 53 | 54 | [CLS:CMainFrame] 55 | Type=0 56 | HeaderFile=MainFrm.h 57 | ImplementationFile=MainFrm.cpp 58 | Filter=T 59 | LastObject=CMainFrame 60 | BaseClass=CFrameWnd 61 | VirtualFilter=fWC 62 | 63 | 64 | 65 | 66 | [CLS:CAboutDlg] 67 | Type=0 68 | HeaderFile=ImageProcessing.cpp 69 | ImplementationFile=ImageProcessing.cpp 70 | Filter=D 71 | 72 | [DLG:IDD_ABOUTBOX] 73 | Type=1 74 | Class=CAboutDlg 75 | ControlCount=4 76 | Control1=IDC_STATIC,static,1342177283 77 | Control2=IDC_STATIC,static,1342308480 78 | Control3=IDC_STATIC,static,1342308352 79 | Control4=IDOK,button,1342373889 80 | 81 | [MNU:IDR_MAINFRAME] 82 | Type=1 83 | Class=CMainFrame 84 | Command1=ID_FILE_OPEN 85 | Command2=ID_FILE_SAVE 86 | Command3=ID_FILE_SAVE_AS 87 | Command4=ID_APP_EXIT 88 | Command5=ID_SHOW_TWO 89 | Command6=ID_SHOW_HD 90 | Command7=ID_LH_2 91 | Command8=ID_LH_4 92 | Command9=ID_LH_8 93 | Command10=ID_LH_16 94 | Command11=ID_LH_32 95 | Command12=ID_LH_64 96 | Command13=ID_CY 97 | Command14=ID_ZFT_YT 98 | Command15=ID_DYS_XXYD 99 | Command16=ID_DYS_XXZQ 100 | Command17=ID_DYS_XXJX 101 | Command18=ID_DYS_XXQB 102 | Command19=ID_DYS_FXXPF 103 | Command20=ID_DYS_FXXHS 104 | Command21=ID_DYS_YZBH 105 | Command22=ID_DYS_JHH 106 | Command23=ID_JHBH_PY 107 | Command24=ID_JHBH_FZ 108 | Command25=ID_JHBH_DZ 109 | Command26=ID_JHBH_TXXZ 110 | Command27=ID_JHBH_ZXXZ 111 | Command28=ID_JHBH_SF 112 | Command29=ID_TXZQ_PTPH1 113 | Command30=ID_TXZQ_PTPH2 114 | Command31=ID_TXZQ_GSPH 115 | Command32=ID_TXZQ_ZZLB 116 | Command33=ID_RH_Laplacian 117 | Command34=ID_RH_Sobel 118 | Command35=ID_RH_Prewitt 119 | Command36=ID_RH_Isotropic 120 | Command37=ID_RH_GTMB 121 | CommandCount=37 122 | 123 | [ACL:IDR_MAINFRAME] 124 | Type=1 125 | Class=CMainFrame 126 | Command1=ID_FILE_NEW 127 | Command2=ID_FILE_OPEN 128 | Command3=ID_FILE_SAVE 129 | Command4=ID_FILE_PRINT 130 | Command5=ID_EDIT_UNDO 131 | Command6=ID_EDIT_CUT 132 | Command7=ID_EDIT_COPY 133 | Command8=ID_EDIT_PASTE 134 | Command9=ID_EDIT_UNDO 135 | Command10=ID_EDIT_CUT 136 | Command11=ID_EDIT_COPY 137 | Command12=ID_EDIT_PASTE 138 | Command13=ID_NEXT_PANE 139 | Command14=ID_PREV_PANE 140 | CommandCount=14 141 | 142 | [TB:IDR_MAINFRAME] 143 | Type=1 144 | Class=? 145 | Command1=ID_FILE_NEW 146 | Command2=ID_FILE_OPEN 147 | Command3=ID_FILE_SAVE 148 | Command4=ID_EDIT_CUT 149 | Command5=ID_EDIT_COPY 150 | Command6=ID_EDIT_PASTE 151 | Command7=ID_FILE_PRINT 152 | Command8=ID_APP_ABOUT 153 | CommandCount=8 154 | 155 | [DLG:IDD_DIALOG_CY] 156 | Type=1 157 | Class=CImageCYDlg 158 | ControlCount=5 159 | Control1=IDOK,button,1342242817 160 | Control2=IDC_EDIT_CYX,edit,1350631552 161 | Control3=IDC_STATIC,static,1342308352 162 | Control4=IDC_STATIC,static,1342308352 163 | Control5=IDC_EDIT_CYY,edit,1350631552 164 | 165 | [CLS:CImageCYDlg] 166 | Type=0 167 | HeaderFile=ImageCYDlg.h 168 | ImplementationFile=ImageCYDlg.cpp 169 | BaseClass=CDialog 170 | Filter=D 171 | VirtualFilter=dWC 172 | LastObject=CImageCYDlg 173 | 174 | [DLG:IDD_DIALOG_ZFT] 175 | Type=1 176 | Class=CImageZFTDlg 177 | ControlCount=45 178 | Control1=IDOK,button,1342242817 179 | Control2=IDC_STATIC_RGB,button,1342177287 180 | Control3=IDC_STATIC,static,1342177296 181 | Control4=IDC_STATIC,static,1342177296 182 | Control5=IDC_STATIC,static,1342177296 183 | Control6=IDC_STATIC,static,1342308352 184 | Control7=IDC_STATIC,static,1342308352 185 | Control8=IDC_STATIC,static,1342308352 186 | Control9=IDC_STATIC,static,1342308352 187 | Control10=IDC_STATIC_XS_RED,static,1342308352 188 | Control11=IDC_STATIC,static,1342308352 189 | Control12=IDC_STATIC_PJHD_RED,static,1342308352 190 | Control13=IDC_STATIC,static,1342308352 191 | Control14=IDC_STATIC_ZZHD_RED,static,1342308352 192 | Control15=IDC_STATIC,static,1342308352 193 | Control16=IDC_STATIC_BZC_RED,static,1342308352 194 | Control17=IDC_STATIC,static,1342177296 195 | Control18=IDC_STATIC,static,1342177296 196 | Control19=IDC_STATIC,static,1342177296 197 | Control20=IDC_STATIC,static,1342177297 198 | Control21=IDC_STATIC,static,1342177297 199 | Control22=IDC_STATIC,static,1342177297 200 | Control23=IDC_STATIC,static,1342177297 201 | Control24=IDC_STATIC,static,1342177297 202 | Control25=IDC_STATIC,static,1342177297 203 | Control26=IDC_STATIC,static,1342308352 204 | Control27=IDC_STATIC,static,1342308352 205 | Control28=IDC_STATIC_XS_GREEN,static,1342308352 206 | Control29=IDC_STATIC_PJHD_GREEN,static,1342308352 207 | Control30=IDC_STATIC_ZZHD_GREEN,static,1342308352 208 | Control31=IDC_STATIC_BZC_GREEN,static,1342308352 209 | Control32=IDC_STATIC,static,1342308352 210 | Control33=IDC_STATIC,static,1342308352 211 | Control34=IDC_STATIC_XS_BLUE,static,1342308352 212 | Control35=IDC_STATIC_PJHD_BLUE,static,1342308352 213 | Control36=IDC_STATIC_ZZHD_BLUE,static,1342308352 214 | Control37=IDC_STATIC_BZC_BLUE,static,1342308352 215 | Control38=IDC_STATIC,static,1342308352 216 | Control39=IDC_STATIC,static,1342308352 217 | Control40=IDC_STATIC,static,1342308352 218 | Control41=IDC_STATIC_KJ,static,1342177298 219 | Control42=IDC_STATIC,static,1342308352 220 | Control43=IDC_STATIC,static,1342308352 221 | Control44=IDC_STATIC,static,1342308352 222 | Control45=IDC_STATIC,static,1342308352 223 | 224 | [CLS:CImageZFTDlg] 225 | Type=0 226 | HeaderFile=ImageZFTDlg.h 227 | ImplementationFile=ImageZFTDlg.cpp 228 | BaseClass=CDialog 229 | Filter=D 230 | LastObject=CImageZFTDlg 231 | VirtualFilter=dWC 232 | 233 | [DLG:IDD_DIALOG_PY] 234 | Type=1 235 | Class=CImagePYDlg 236 | ControlCount=5 237 | Control1=IDOK,button,1342242817 238 | Control2=IDC_EDIT_PYX,edit,1350631552 239 | Control3=IDC_STATIC,static,1342308352 240 | Control4=IDC_STATIC,static,1342308352 241 | Control5=IDC_EDIT_PYY,edit,1350631552 242 | 243 | [CLS:CImagePYDlg] 244 | Type=0 245 | HeaderFile=ImagePYDlg.h 246 | ImplementationFile=ImagePYDlg.cpp 247 | BaseClass=CDialog 248 | Filter=D 249 | LastObject=ID_EDIT_PASTE 250 | VirtualFilter=dWC 251 | 252 | [DLG:IDD_DIALOG_XZ] 253 | Type=1 254 | Class=CImageXZDlg 255 | ControlCount=3 256 | Control1=IDOK,button,1342242817 257 | Control2=IDC_EDIT_XZ,edit,1350631552 258 | Control3=IDC_STATIC,static,1342308352 259 | 260 | [CLS:CImageXZDlg] 261 | Type=0 262 | HeaderFile=ImageXZDlg.h 263 | ImplementationFile=ImageXZDlg.cpp 264 | BaseClass=CDialog 265 | Filter=D 266 | VirtualFilter=dWC 267 | LastObject=IDC_EDIT_XZ 268 | 269 | [DLG:IDD_DIALOG_SF] 270 | Type=1 271 | Class=CImageSFDlg 272 | ControlCount=3 273 | Control1=IDOK,button,1342242817 274 | Control2=IDC_EDIT_SF,edit,1350631552 275 | Control3=IDC_STATIC,static,1342308352 276 | 277 | [CLS:CImageSFDlg] 278 | Type=0 279 | HeaderFile=ImageSFDlg.h 280 | ImplementationFile=ImageSFDlg.cpp 281 | BaseClass=CDialog 282 | Filter=D 283 | VirtualFilter=dWC 284 | LastObject=IDC_EDIT_SF 285 | 286 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.cpp: -------------------------------------------------------------------------------- 1 | // ImageProcessing.cpp : Defines the class behaviors for the application. 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | 7 | #include "MainFrm.h" 8 | #include "ImageProcessingDoc.h" 9 | #include "ImageProcessingView.h" 10 | 11 | #ifdef _DEBUG 12 | #define new DEBUG_NEW 13 | #undef THIS_FILE 14 | static char THIS_FILE[] = __FILE__; 15 | #endif 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | // CImageProcessingApp 19 | 20 | BEGIN_MESSAGE_MAP(CImageProcessingApp, CWinApp) 21 | //{{AFX_MSG_MAP(CImageProcessingApp) 22 | ON_COMMAND(ID_APP_ABOUT, OnAppAbout) 23 | // NOTE - the ClassWizard will add and remove mapping macros here. 24 | // DO NOT EDIT what you see in these blocks of generated code! 25 | //}}AFX_MSG_MAP 26 | // Standard file based document commands 27 | ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew) 28 | ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen) 29 | // Standard print setup command 30 | ON_COMMAND(ID_FILE_PRINT_SETUP, CWinApp::OnFilePrintSetup) 31 | END_MESSAGE_MAP() 32 | 33 | ///////////////////////////////////////////////////////////////////////////// 34 | // CImageProcessingApp construction 35 | 36 | CImageProcessingApp::CImageProcessingApp() 37 | { 38 | // TODO: add construction code here, 39 | // Place all significant initialization in InitInstance 40 | } 41 | 42 | ///////////////////////////////////////////////////////////////////////////// 43 | // The one and only CImageProcessingApp object 44 | 45 | CImageProcessingApp theApp; 46 | 47 | ///////////////////////////////////////////////////////////////////////////// 48 | // CImageProcessingApp initialization 49 | 50 | BOOL CImageProcessingApp::InitInstance() 51 | { 52 | AfxEnableControlContainer(); 53 | 54 | // Standard initialization 55 | // If you are not using these features and wish to reduce the size 56 | // of your final executable, you should remove from the following 57 | // the specific initialization routines you do not need. 58 | 59 | #ifdef _AFXDLL 60 | Enable3dControls(); // Call this when using MFC in a shared DLL 61 | #else 62 | Enable3dControlsStatic(); // Call this when linking to MFC statically 63 | #endif 64 | 65 | // Change the registry key under which our settings are stored. 66 | // TODO: You should modify this string to be something appropriate 67 | // such as the name of your company or organization. 68 | SetRegistryKey(_T("Local AppWizard-Generated Applications")); 69 | 70 | LoadStdProfileSettings(); // Load standard INI file options (including MRU) 71 | 72 | // Register the application's document templates. Document templates 73 | // serve as the connection between documents, frame windows and views. 74 | 75 | CSingleDocTemplate* pDocTemplate; 76 | pDocTemplate = new CSingleDocTemplate( 77 | IDR_MAINFRAME, 78 | RUNTIME_CLASS(CImageProcessingDoc), 79 | RUNTIME_CLASS(CMainFrame), // main SDI frame window 80 | RUNTIME_CLASS(CImageProcessingView)); 81 | AddDocTemplate(pDocTemplate); 82 | 83 | // Parse command line for standard shell commands, DDE, file open 84 | CCommandLineInfo cmdInfo; 85 | ParseCommandLine(cmdInfo); 86 | 87 | // Dispatch commands specified on the command line 88 | if (!ProcessShellCommand(cmdInfo)) 89 | return FALSE; 90 | 91 | // The one and only window has been initialized, so show and update it. 92 | m_pMainWnd->ShowWindow(SW_SHOW); 93 | m_pMainWnd->UpdateWindow(); 94 | 95 | return TRUE; 96 | } 97 | 98 | 99 | ///////////////////////////////////////////////////////////////////////////// 100 | // CAboutDlg dialog used for App About 101 | 102 | class CAboutDlg : public CDialog 103 | { 104 | public: 105 | CAboutDlg(); 106 | 107 | // Dialog Data 108 | //{{AFX_DATA(CAboutDlg) 109 | enum { IDD = IDD_ABOUTBOX }; 110 | //}}AFX_DATA 111 | 112 | // ClassWizard generated virtual function overrides 113 | //{{AFX_VIRTUAL(CAboutDlg) 114 | protected: 115 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 116 | //}}AFX_VIRTUAL 117 | 118 | // Implementation 119 | protected: 120 | //{{AFX_MSG(CAboutDlg) 121 | // No message handlers 122 | //}}AFX_MSG 123 | DECLARE_MESSAGE_MAP() 124 | }; 125 | 126 | CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) 127 | { 128 | //{{AFX_DATA_INIT(CAboutDlg) 129 | //}}AFX_DATA_INIT 130 | } 131 | 132 | void CAboutDlg::DoDataExchange(CDataExchange* pDX) 133 | { 134 | CDialog::DoDataExchange(pDX); 135 | //{{AFX_DATA_MAP(CAboutDlg) 136 | //}}AFX_DATA_MAP 137 | } 138 | 139 | BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) 140 | //{{AFX_MSG_MAP(CAboutDlg) 141 | // No message handlers 142 | //}}AFX_MSG_MAP 143 | END_MESSAGE_MAP() 144 | 145 | // App command to run the dialog 146 | void CImageProcessingApp::OnAppAbout() 147 | { 148 | CAboutDlg aboutDlg; 149 | aboutDlg.DoModal(); 150 | } 151 | 152 | ///////////////////////////////////////////////////////////////////////////// 153 | // CImageProcessingApp message handlers 154 | 155 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="ImageProcessing" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=ImageProcessing - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "ImageProcessing.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "ImageProcessing.mak" CFG="ImageProcessing - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "ImageProcessing - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "ImageProcessing - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "ImageProcessing - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 6 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 6 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 49 | # ADD RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "ImageProcessing - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 6 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 6 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 74 | # ADD RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "ImageProcessing - Win32 Release" 87 | # Name "ImageProcessing - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\ImageCYDlg.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\ImageProcessing.cpp 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\ImageProcessing.rc 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=.\ImageProcessingDoc.cpp 106 | # End Source File 107 | # Begin Source File 108 | 109 | SOURCE=.\ImageProcessingView.cpp 110 | # End Source File 111 | # Begin Source File 112 | 113 | SOURCE=.\ImagePYDlg.cpp 114 | # End Source File 115 | # Begin Source File 116 | 117 | SOURCE=.\ImageSFDlg.cpp 118 | # End Source File 119 | # Begin Source File 120 | 121 | SOURCE=.\ImageXZDlg.cpp 122 | # End Source File 123 | # Begin Source File 124 | 125 | SOURCE=.\ImageZFTDlg.cpp 126 | # End Source File 127 | # Begin Source File 128 | 129 | SOURCE=.\MainFrm.cpp 130 | # End Source File 131 | # Begin Source File 132 | 133 | SOURCE=.\StdAfx.cpp 134 | # ADD CPP /Yc"stdafx.h" 135 | # End Source File 136 | # End Group 137 | # Begin Group "Header Files" 138 | 139 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 140 | # Begin Source File 141 | 142 | SOURCE=.\ImageCYDlg.h 143 | # End Source File 144 | # Begin Source File 145 | 146 | SOURCE=.\ImageProcessing.h 147 | # End Source File 148 | # Begin Source File 149 | 150 | SOURCE=.\ImageProcessingDoc.h 151 | # End Source File 152 | # Begin Source File 153 | 154 | SOURCE=.\ImageProcessingView.h 155 | # End Source File 156 | # Begin Source File 157 | 158 | SOURCE=.\ImagePYDlg.h 159 | # End Source File 160 | # Begin Source File 161 | 162 | SOURCE=.\ImageSFDlg.h 163 | # End Source File 164 | # Begin Source File 165 | 166 | SOURCE=.\ImageXZDlg.h 167 | # End Source File 168 | # Begin Source File 169 | 170 | SOURCE=.\ImageZFTDlg.h 171 | # End Source File 172 | # Begin Source File 173 | 174 | SOURCE=.\MainFrm.h 175 | # End Source File 176 | # Begin Source File 177 | 178 | SOURCE=.\Resource.h 179 | # End Source File 180 | # Begin Source File 181 | 182 | SOURCE=.\StdAfx.h 183 | # End Source File 184 | # End Group 185 | # Begin Group "Resource Files" 186 | 187 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 188 | # Begin Source File 189 | 190 | SOURCE=.\res\ImageProcessing.ico 191 | # End Source File 192 | # Begin Source File 193 | 194 | SOURCE=.\res\ImageProcessing.rc2 195 | # End Source File 196 | # Begin Source File 197 | 198 | SOURCE=.\res\ImageProcessingDoc.ico 199 | # End Source File 200 | # Begin Source File 201 | 202 | SOURCE=.\res\Toolbar.bmp 203 | # End Source File 204 | # End Group 205 | # Begin Source File 206 | 207 | SOURCE=.\ReadMe.txt 208 | # End Source File 209 | # End Target 210 | # End Project 211 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessing.dsw -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.h: -------------------------------------------------------------------------------- 1 | // ImageProcessing.h : main header file for the IMAGEPROCESSING application 2 | // 3 | 4 | #if !defined(AFX_IMAGEPROCESSING_H__3C8F4B5D_C7FA_41CF_8AF2_F2CD3883645E__INCLUDED_) 5 | #define AFX_IMAGEPROCESSING_H__3C8F4B5D_C7FA_41CF_8AF2_F2CD3883645E__INCLUDED_ 6 | 7 | #if _MSC_VER > 1000 8 | #pragma once 9 | #endif // _MSC_VER > 1000 10 | 11 | #ifndef __AFXWIN_H__ 12 | #error include 'stdafx.h' before including this file for PCH 13 | #endif 14 | 15 | #include "resource.h" // main symbols 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | // CImageProcessingApp: 19 | // See ImageProcessing.cpp for the implementation of this class 20 | // 21 | 22 | class CImageProcessingApp : public CWinApp 23 | { 24 | public: 25 | CImageProcessingApp(); 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CImageProcessingApp) 30 | public: 31 | virtual BOOL InitInstance(); 32 | //}}AFX_VIRTUAL 33 | 34 | // Implementation 35 | //{{AFX_MSG(CImageProcessingApp) 36 | afx_msg void OnAppAbout(); 37 | // NOTE - the ClassWizard will add and remove member functions here. 38 | // DO NOT EDIT what you see in these blocks of generated code ! 39 | //}}AFX_MSG 40 | DECLARE_MESSAGE_MAP() 41 | }; 42 | 43 | 44 | ///////////////////////////////////////////////////////////////////////////// 45 | 46 | //{{AFX_INSERT_LOCATION}} 47 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 48 | 49 | #endif // !defined(AFX_IMAGEPROCESSING_H__3C8F4B5D_C7FA_41CF_8AF2_F2CD3883645E__INCLUDED_) 50 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessing.ncb -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessing.opt -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: ImageProcessing - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\Users\dell\AppData\Local\Temp\RSPF04E.tmp" with contents 10 | [ 11 | /nologo /subsystem:windows /incremental:yes /pdb:"Debug/ImageProcessing.pdb" /debug /machine:I386 /out:"Debug/ImageProcessing.exe" /pdbtype:sept 12 | ".\Debug\ImageCYDlg.obj" 13 | ".\Debug\ImageProcessing.obj" 14 | ".\Debug\ImageProcessingDoc.obj" 15 | ".\Debug\ImageProcessingView.obj" 16 | ".\Debug\ImagePYDlg.obj" 17 | ".\Debug\ImageSFDlg.obj" 18 | ".\Debug\ImageXZDlg.obj" 19 | ".\Debug\ImageZFTDlg.obj" 20 | ".\Debug\MainFrm.obj" 21 | ".\Debug\StdAfx.obj" 22 | ".\Debug\ImageProcessing.res" 23 | ] 24 | Creating command line "link.exe @C:\Users\dell\AppData\Local\Temp\RSPF04E.tmp" 25 |

Output Window

26 | Linking... 27 | 28 | 29 | 30 |

Results

31 | ImageProcessing.exe - 0 error(s), 0 warning(s) 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessing.rc -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | 15 | 16 | MFCProj 17 | 18 | 19 | 20 | Application 21 | Dynamic 22 | MultiByte 23 | 24 | 25 | Application 26 | Dynamic 27 | MultiByte 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | .\Debug\ 43 | .\Debug\ 44 | true 45 | 46 | 47 | .\Release\ 48 | .\Release\ 49 | false 50 | 51 | 52 | 53 | MultiThreadedDebugDLL 54 | Default 55 | false 56 | Disabled 57 | true 58 | Level3 59 | true 60 | EditAndContinue 61 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) 62 | .\Debug\ 63 | .\Debug\ImageProcessing.pch 64 | Use 65 | stdafx.h 66 | .\Debug\ 67 | .\Debug\ 68 | EnableFastChecks 69 | 70 | 71 | true 72 | _DEBUG;%(PreprocessorDefinitions) 73 | .\Debug\ImageProcessing.tlb 74 | true 75 | Win32 76 | 77 | 78 | 0x0804 79 | _DEBUG;%(PreprocessorDefinitions) 80 | 81 | 82 | true 83 | .\Debug\ImageProcessing.bsc 84 | 85 | 86 | true 87 | true 88 | Windows 89 | .\Debug\ImageProcessing.exe 90 | 91 | 92 | 93 | 94 | MultiThreadedDLL 95 | OnlyExplicitInline 96 | true 97 | true 98 | MaxSpeed 99 | true 100 | Level3 101 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 102 | .\Release\ 103 | .\Release\ImageProcessing.pch 104 | Use 105 | stdafx.h 106 | .\Release\ 107 | .\Release\ 108 | 109 | 110 | true 111 | NDEBUG;%(PreprocessorDefinitions) 112 | .\Release\ImageProcessing.tlb 113 | true 114 | Win32 115 | 116 | 117 | 0x0804 118 | NDEBUG;%(PreprocessorDefinitions) 119 | 120 | 121 | true 122 | .\Release\ImageProcessing.bsc 123 | 124 | 125 | true 126 | Windows 127 | .\Release\ImageProcessing.exe 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | Create 137 | stdafx.h 138 | Create 139 | stdafx.h 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | RC 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {74c17c2e-acd6-4199-85d5-48f47d090ae3} 6 | cpp;c;cxx;rc;def;r;odl;idl;hpj;bat 7 | 8 | 9 | {afa0eaa7-bc48-49d2-ae94-c5e7c7b76a07} 10 | h;hpp;hxx;hm;inl 11 | 12 | 13 | {f71608ff-66f7-4f89-a332-fb5a0d0b2b29} 14 | ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | Source Files 26 | 27 | 28 | Source Files 29 | 30 | 31 | Source Files 32 | 33 | 34 | 35 | 36 | Source Files 37 | 38 | 39 | 40 | 41 | Header Files 42 | 43 | 44 | Header Files 45 | 46 | 47 | Header Files 48 | 49 | 50 | Header Files 51 | 52 | 53 | Header Files 54 | 55 | 56 | Header Files 57 | 58 | 59 | 60 | 61 | Resource Files 62 | 63 | 64 | Resource Files 65 | 66 | 67 | Resource Files 68 | 69 | 70 | Resource Files 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessing.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessingDoc.cpp: -------------------------------------------------------------------------------- 1 | // ImageProcessingDoc.cpp : implementation of the CImageProcessingDoc class 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | 7 | #include "ImageProcessingDoc.h" 8 | 9 | #ifdef _DEBUG 10 | #define new DEBUG_NEW 11 | #undef THIS_FILE 12 | static char THIS_FILE[] = __FILE__; 13 | #endif 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // CImageProcessingDoc 17 | 18 | IMPLEMENT_DYNCREATE(CImageProcessingDoc, CDocument) 19 | 20 | BEGIN_MESSAGE_MAP(CImageProcessingDoc, CDocument) 21 | //{{AFX_MSG_MAP(CImageProcessingDoc) 22 | // NOTE - the ClassWizard will add and remove mapping macros here. 23 | // DO NOT EDIT what you see in these blocks of generated code! 24 | //}}AFX_MSG_MAP 25 | END_MESSAGE_MAP() 26 | 27 | ///////////////////////////////////////////////////////////////////////////// 28 | // CImageProcessingDoc construction/destruction 29 | 30 | CImageProcessingDoc::CImageProcessingDoc() 31 | { 32 | // TODO: add one-time construction code here 33 | 34 | } 35 | 36 | CImageProcessingDoc::~CImageProcessingDoc() 37 | { 38 | } 39 | 40 | BOOL CImageProcessingDoc::OnNewDocument() 41 | { 42 | if (!CDocument::OnNewDocument()) 43 | return FALSE; 44 | 45 | // TODO: add reinitialization code here 46 | // (SDI documents will reuse this document) 47 | 48 | return TRUE; 49 | } 50 | 51 | 52 | 53 | ///////////////////////////////////////////////////////////////////////////// 54 | // CImageProcessingDoc serialization 55 | 56 | void CImageProcessingDoc::Serialize(CArchive& ar) 57 | { 58 | if (ar.IsStoring()) 59 | { 60 | // TODO: add storing code here 61 | } 62 | else 63 | { 64 | // TODO: add loading code here 65 | } 66 | } 67 | 68 | ///////////////////////////////////////////////////////////////////////////// 69 | // CImageProcessingDoc diagnostics 70 | 71 | #ifdef _DEBUG 72 | void CImageProcessingDoc::AssertValid() const 73 | { 74 | CDocument::AssertValid(); 75 | } 76 | 77 | void CImageProcessingDoc::Dump(CDumpContext& dc) const 78 | { 79 | CDocument::Dump(dc); 80 | } 81 | #endif //_DEBUG 82 | 83 | ///////////////////////////////////////////////////////////////////////////// 84 | // CImageProcessingDoc commands 85 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessingDoc.h: -------------------------------------------------------------------------------- 1 | // ImageProcessingDoc.h : interface of the CImageProcessingDoc class 2 | // 3 | ///////////////////////////////////////////////////////////////////////////// 4 | 5 | #if !defined(AFX_IMAGEPROCESSINGDOC_H__D5848CF0_6CBB_4F32_B33F_EAF8590D8E11__INCLUDED_) 6 | #define AFX_IMAGEPROCESSINGDOC_H__D5848CF0_6CBB_4F32_B33F_EAF8590D8E11__INCLUDED_ 7 | 8 | #if _MSC_VER > 1000 9 | #pragma once 10 | #endif // _MSC_VER > 1000 11 | 12 | 13 | class CImageProcessingDoc : public CDocument 14 | { 15 | protected: // create from serialization only 16 | CImageProcessingDoc(); 17 | DECLARE_DYNCREATE(CImageProcessingDoc) 18 | 19 | // Attributes 20 | public: 21 | 22 | // Operations 23 | public: 24 | 25 | // Overrides 26 | // ClassWizard generated virtual function overrides 27 | //{{AFX_VIRTUAL(CImageProcessingDoc) 28 | public: 29 | virtual BOOL OnNewDocument(); 30 | virtual void Serialize(CArchive& ar); 31 | //}}AFX_VIRTUAL 32 | 33 | // Implementation 34 | public: 35 | virtual ~CImageProcessingDoc(); 36 | #ifdef _DEBUG 37 | virtual void AssertValid() const; 38 | virtual void Dump(CDumpContext& dc) const; 39 | #endif 40 | 41 | protected: 42 | 43 | // Generated message map functions 44 | protected: 45 | //{{AFX_MSG(CImageProcessingDoc) 46 | // NOTE - the ClassWizard will add and remove member functions here. 47 | // DO NOT EDIT what you see in these blocks of generated code ! 48 | //}}AFX_MSG 49 | DECLARE_MESSAGE_MAP() 50 | }; 51 | 52 | ///////////////////////////////////////////////////////////////////////////// 53 | 54 | //{{AFX_INSERT_LOCATION}} 55 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 56 | 57 | #endif // !defined(AFX_IMAGEPROCESSINGDOC_H__D5848CF0_6CBB_4F32_B33F_EAF8590D8E11__INCLUDED_) 58 | -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessingView.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessingView.cpp -------------------------------------------------------------------------------- /ImageProcessing/ImageProcessingView.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageProcessingView.h -------------------------------------------------------------------------------- /ImageProcessing/ImageSFDlg.cpp: -------------------------------------------------------------------------------- 1 | // ImageSFDlg.cpp : implementation file 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | #include "ImageSFDlg.h" 7 | 8 | #ifdef _DEBUG 9 | #define new DEBUG_NEW 10 | #undef THIS_FILE 11 | static char THIS_FILE[] = __FILE__; 12 | #endif 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CImageSFDlg dialog 16 | 17 | 18 | CImageSFDlg::CImageSFDlg(CWnd* pParent /*=NULL*/) 19 | : CDialog(CImageSFDlg::IDD, pParent) 20 | { 21 | //{{AFX_DATA_INIT(CImageSFDlg) 22 | m_sfbs = 0; 23 | //}}AFX_DATA_INIT 24 | } 25 | 26 | 27 | void CImageSFDlg::DoDataExchange(CDataExchange* pDX) 28 | { 29 | CDialog::DoDataExchange(pDX); 30 | //{{AFX_DATA_MAP(CImageSFDlg) 31 | DDX_Text(pDX, IDC_EDIT_SF, m_sfbs); 32 | DDV_MinMaxInt(pDX, m_sfbs, 0, 200); 33 | //}}AFX_DATA_MAP 34 | } 35 | 36 | 37 | BEGIN_MESSAGE_MAP(CImageSFDlg, CDialog) 38 | //{{AFX_MSG_MAP(CImageSFDlg) 39 | // NOTE: the ClassWizard will add message map macros here 40 | //}}AFX_MSG_MAP 41 | END_MESSAGE_MAP() 42 | 43 | ///////////////////////////////////////////////////////////////////////////// 44 | // CImageSFDlg message handlers 45 | -------------------------------------------------------------------------------- /ImageProcessing/ImageSFDlg.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_IMAGESFDLG_H__E5FA0ACB_DA44_4946_A82A_237D2C8E9BC7__INCLUDED_) 2 | #define AFX_IMAGESFDLG_H__E5FA0ACB_DA44_4946_A82A_237D2C8E9BC7__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // ImageSFDlg.h : header file 8 | // 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CImageSFDlg dialog 12 | 13 | class CImageSFDlg : public CDialog 14 | { 15 | // Construction 16 | public: 17 | CImageSFDlg(CWnd* pParent = NULL); // standard constructor 18 | 19 | // Dialog Data 20 | //{{AFX_DATA(CImageSFDlg) 21 | enum { IDD = IDD_DIALOG_SF }; 22 | int m_sfbs; 23 | //}}AFX_DATA 24 | 25 | 26 | // Overrides 27 | // ClassWizard generated virtual function overrides 28 | //{{AFX_VIRTUAL(CImageSFDlg) 29 | protected: 30 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 31 | //}}AFX_VIRTUAL 32 | 33 | // Implementation 34 | protected: 35 | 36 | // Generated message map functions 37 | //{{AFX_MSG(CImageSFDlg) 38 | // NOTE: the ClassWizard will add member functions here 39 | //}}AFX_MSG 40 | DECLARE_MESSAGE_MAP() 41 | }; 42 | 43 | //{{AFX_INSERT_LOCATION}} 44 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 45 | 46 | #endif // !defined(AFX_IMAGESFDLG_H__E5FA0ACB_DA44_4946_A82A_237D2C8E9BC7__INCLUDED_) 47 | -------------------------------------------------------------------------------- /ImageProcessing/ImageXZDlg.cpp: -------------------------------------------------------------------------------- 1 | // ImageXZDlg.cpp : implementation file 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | #include "ImageXZDlg.h" 7 | 8 | #ifdef _DEBUG 9 | #define new DEBUG_NEW 10 | #undef THIS_FILE 11 | static char THIS_FILE[] = __FILE__; 12 | #endif 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CImageXZDlg dialog 16 | 17 | 18 | CImageXZDlg::CImageXZDlg(CWnd* pParent /*=NULL*/) 19 | : CDialog(CImageXZDlg::IDD, pParent) 20 | { 21 | //{{AFX_DATA_INIT(CImageXZDlg) 22 | m_xzds = 0; 23 | //}}AFX_DATA_INIT 24 | } 25 | 26 | 27 | void CImageXZDlg::DoDataExchange(CDataExchange* pDX) 28 | { 29 | CDialog::DoDataExchange(pDX); 30 | //{{AFX_DATA_MAP(CImageXZDlg) 31 | DDX_Text(pDX, IDC_EDIT_XZ, m_xzds); 32 | DDV_MinMaxInt(pDX, m_xzds, 0, 360); 33 | //}}AFX_DATA_MAP 34 | } 35 | 36 | 37 | BEGIN_MESSAGE_MAP(CImageXZDlg, CDialog) 38 | //{{AFX_MSG_MAP(CImageXZDlg) 39 | // NOTE: the ClassWizard will add message map macros here 40 | //}}AFX_MSG_MAP 41 | END_MESSAGE_MAP() 42 | 43 | ///////////////////////////////////////////////////////////////////////////// 44 | // CImageXZDlg message handlers 45 | -------------------------------------------------------------------------------- /ImageProcessing/ImageXZDlg.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_IMAGEXZDLG_H__9E4C8A62_BC8E_4984_988C_20F6F701AE79__INCLUDED_) 2 | #define AFX_IMAGEXZDLG_H__9E4C8A62_BC8E_4984_988C_20F6F701AE79__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // ImageXZDlg.h : header file 8 | // 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CImageXZDlg dialog 12 | 13 | class CImageXZDlg : public CDialog 14 | { 15 | // Construction 16 | public: 17 | CImageXZDlg(CWnd* pParent = NULL); // standard constructor 18 | 19 | // Dialog Data 20 | //{{AFX_DATA(CImageXZDlg) 21 | enum { IDD = IDD_DIALOG_XZ }; 22 | int m_xzds; 23 | //}}AFX_DATA 24 | 25 | 26 | // Overrides 27 | // ClassWizard generated virtual function overrides 28 | //{{AFX_VIRTUAL(CImageXZDlg) 29 | protected: 30 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 31 | //}}AFX_VIRTUAL 32 | 33 | // Implementation 34 | protected: 35 | 36 | // Generated message map functions 37 | //{{AFX_MSG(CImageXZDlg) 38 | // NOTE: the ClassWizard will add member functions here 39 | //}}AFX_MSG 40 | DECLARE_MESSAGE_MAP() 41 | }; 42 | 43 | //{{AFX_INSERT_LOCATION}} 44 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 45 | 46 | #endif // !defined(AFX_IMAGEXZDLG_H__9E4C8A62_BC8E_4984_988C_20F6F701AE79__INCLUDED_) 47 | -------------------------------------------------------------------------------- /ImageProcessing/ImageZFTDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/ImageZFTDlg.cpp -------------------------------------------------------------------------------- /ImageProcessing/ImageZFTDlg.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_IMAGEZFTDLG_H__CC7F91ED_BC84_447A_975F_6922F2DFE23E__INCLUDED_) 2 | #define AFX_IMAGEZFTDLG_H__CC7F91ED_BC84_447A_975F_6922F2DFE23E__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // ImageZFTDlg.h : header file 8 | // 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CImageZFTDlg dialog 12 | 13 | class CImageZFTDlg : public CDialog 14 | { 15 | // Construction 16 | public: 17 | CImageZFTDlg(CWnd* pParent = NULL); // standard constructor 18 | 19 | // Dialog Data 20 | //{{AFX_DATA(CImageZFTDlg) 21 | enum { IDD = IDD_DIALOG_ZFT }; 22 | CString m_blueXS; 23 | CString m_greenXS; 24 | CString m_redXS; 25 | CString m_blueBZC; 26 | CString m_redBZC; 27 | CString m_bluePJHD; 28 | CString m_greenPJHD; 29 | CString m_redPJHD; 30 | CString m_blueZZHD; 31 | CString m_greenZZHD; 32 | CString m_redZZHD; 33 | CString m_greenBZC; 34 | //}}AFX_DATA 35 | 36 | 37 | // Overrides 38 | // ClassWizard generated virtual function overrides 39 | //{{AFX_VIRTUAL(CImageZFTDlg) 40 | protected: 41 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 42 | //}}AFX_VIRTUAL 43 | 44 | // Implementation 45 | protected: 46 | 47 | // Generated message map functions 48 | //{{AFX_MSG(CImageZFTDlg) 49 | virtual BOOL OnInitDialog(); 50 | afx_msg void OnPaint(); 51 | //}}AFX_MSG 52 | DECLARE_MESSAGE_MAP() 53 | }; 54 | 55 | //{{AFX_INSERT_LOCATION}} 56 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 57 | 58 | #endif // !defined(AFX_IMAGEZFTDLG_H__CC7F91ED_BC84_447A_975F_6922F2DFE23E__INCLUDED_) 59 | -------------------------------------------------------------------------------- /ImageProcessing/MainFrm.cpp: -------------------------------------------------------------------------------- 1 | // MainFrm.cpp : implementation of the CMainFrame class 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "ImageProcessing.h" 6 | 7 | #include "MainFrm.h" 8 | 9 | #ifdef _DEBUG 10 | #define new DEBUG_NEW 11 | #undef THIS_FILE 12 | static char THIS_FILE[] = __FILE__; 13 | #endif 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // CMainFrame 17 | 18 | IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd) 19 | 20 | BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd) 21 | //{{AFX_MSG_MAP(CMainFrame) 22 | ON_WM_CREATE() 23 | //}}AFX_MSG_MAP 24 | END_MESSAGE_MAP() 25 | 26 | static UINT indicators[] = 27 | { 28 | ID_SEPARATOR, // status line indicator 29 | ID_INDICATOR_CAPS, 30 | ID_INDICATOR_NUM, 31 | ID_INDICATOR_SCRL, 32 | }; 33 | 34 | ///////////////////////////////////////////////////////////////////////////// 35 | // CMainFrame construction/destruction 36 | 37 | CMainFrame::CMainFrame() 38 | { 39 | // TODO: add member initialization code here 40 | 41 | } 42 | 43 | CMainFrame::~CMainFrame() 44 | { 45 | } 46 | 47 | int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) 48 | { 49 | if (CFrameWnd::OnCreate(lpCreateStruct) == -1) 50 | return -1; 51 | 52 | if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP 53 | | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || 54 | !m_wndToolBar.LoadToolBar(IDR_MAINFRAME)) 55 | { 56 | TRACE0("Failed to create toolbar\n"); 57 | return -1; // fail to create 58 | } 59 | 60 | if (!m_wndStatusBar.Create(this) || 61 | !m_wndStatusBar.SetIndicators(indicators, 62 | sizeof(indicators)/sizeof(UINT))) 63 | { 64 | TRACE0("Failed to create status bar\n"); 65 | return -1; // fail to create 66 | } 67 | 68 | // TODO: Delete these three lines if you don't want the toolbar to 69 | // be dockable 70 | m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY); 71 | EnableDocking(CBRS_ALIGN_ANY); 72 | DockControlBar(&m_wndToolBar); 73 | 74 | return 0; 75 | } 76 | 77 | BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) 78 | { 79 | if( !CFrameWnd::PreCreateWindow(cs) ) 80 | return FALSE; 81 | // TODO: Modify the Window class or styles here by modifying 82 | // the CREATESTRUCT cs 83 | 84 | return TRUE; 85 | } 86 | 87 | ///////////////////////////////////////////////////////////////////////////// 88 | // CMainFrame diagnostics 89 | 90 | #ifdef _DEBUG 91 | void CMainFrame::AssertValid() const 92 | { 93 | CFrameWnd::AssertValid(); 94 | } 95 | 96 | void CMainFrame::Dump(CDumpContext& dc) const 97 | { 98 | CFrameWnd::Dump(dc); 99 | } 100 | 101 | #endif //_DEBUG 102 | 103 | ///////////////////////////////////////////////////////////////////////////// 104 | // CMainFrame message handlers 105 | 106 | -------------------------------------------------------------------------------- /ImageProcessing/MainFrm.h: -------------------------------------------------------------------------------- 1 | // MainFrm.h : interface of the CMainFrame class 2 | // 3 | ///////////////////////////////////////////////////////////////////////////// 4 | 5 | #if !defined(AFX_MAINFRM_H__13E85C27_2B13_4E37_ADA6_BDA678CFA8CE__INCLUDED_) 6 | #define AFX_MAINFRM_H__13E85C27_2B13_4E37_ADA6_BDA678CFA8CE__INCLUDED_ 7 | 8 | #if _MSC_VER > 1000 9 | #pragma once 10 | #endif // _MSC_VER > 1000 11 | 12 | class CMainFrame : public CFrameWnd 13 | { 14 | 15 | protected: // create from serialization only 16 | CMainFrame(); 17 | DECLARE_DYNCREATE(CMainFrame) 18 | 19 | // Attributes 20 | public: 21 | 22 | // Operations 23 | public: 24 | 25 | // Overrides 26 | // ClassWizard generated virtual function overrides 27 | //{{AFX_VIRTUAL(CMainFrame) 28 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 29 | //}}AFX_VIRTUAL 30 | 31 | // Implementation 32 | public: 33 | virtual ~CMainFrame(); 34 | #ifdef _DEBUG 35 | virtual void AssertValid() const; 36 | virtual void Dump(CDumpContext& dc) const; 37 | #endif 38 | 39 | protected: // control bar embedded members 40 | CStatusBar m_wndStatusBar; 41 | CToolBar m_wndToolBar; 42 | 43 | // Generated message map functions 44 | protected: 45 | //{{AFX_MSG(CMainFrame) 46 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 47 | //}}AFX_MSG 48 | DECLARE_MESSAGE_MAP() 49 | }; 50 | 51 | ///////////////////////////////////////////////////////////////////////////// 52 | 53 | //{{AFX_INSERT_LOCATION}} 54 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 55 | 56 | #endif // !defined(AFX_MAINFRM_H__13E85C27_2B13_4E37_ADA6_BDA678CFA8CE__INCLUDED_) 57 | -------------------------------------------------------------------------------- /ImageProcessing/README.md: -------------------------------------------------------------------------------- 1 | # MFC-ImageProcessing 2 | 该资源为MFC制作的图像处理工具,采用C++编写,具体功能包括: 3 | - MFC详解显示BMP格式图片 4 | - MFC单文档分割窗口显示图片 5 | - MFC实现图像灰度、采样和量化功能 6 | - MFC对话框绘制灰度直方图 7 | - MFC图像点运算之灰度线性变化、灰度非线性变化、阈值化和均衡化处理 8 | - MFC空间几何变换之图像平移、镜像、旋转、缩放处理 9 | - MFC图像增强之图像普通平滑、高斯平滑、Laplacian、Sobel、Prewitt锐化处理 10 | 11 |
12 | 13 | [【数字图像处理】一.MFC详解显示BMP格式图片](https://blog.csdn.net/Eastmount/article/details/18238863)
14 | [【数字图像处理】 二.MFC单文档分割窗口显示图片](https://blog.csdn.net/Eastmount/article/details/18987539)
15 | [【数字图像处理】三.MFC实现图像灰度、采样和量化功能详解](https://blog.csdn.net/Eastmount/article/details/46010637)
16 | [【数字图像处理】四.MFC对话框绘制灰度直方图](https://blog.csdn.net/Eastmount/article/details/46237463)
17 | [【数字图像处理】五.MFC图像点运算之灰度线性变化、灰度非线性变化、阈值化和均衡化处理详解](https://blog.csdn.net/Eastmount/article/details/46312145)
18 | [【数字图像处理】六.MFC空间几何变换之图像平移、镜像、旋转、缩放详解](https://blog.csdn.net/Eastmount/article/details/46345299)
19 | [【数字图像处理】七.MFC图像增强之图像普通平滑、高斯平滑、Laplacian、Sobel、Prewitt锐化详解](https://blog.csdn.net/Eastmount/article/details/46378783)
20 | 21 | 22 | --- 23 | 24 | By:Eastmount CSDN 2020-03-24 25 | -------------------------------------------------------------------------------- /ImageProcessing/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | MICROSOFT FOUNDATION CLASS LIBRARY : ImageProcessing 3 | ======================================================================== 4 | 5 | 6 | AppWizard has created this ImageProcessing application for you. This application 7 | not only demonstrates the basics of using the Microsoft Foundation classes 8 | but is also a starting point for writing your application. 9 | 10 | This file contains a summary of what you will find in each of the files that 11 | make up your ImageProcessing application. 12 | 13 | ImageProcessing.dsp 14 | This file (the project file) contains information at the project level and 15 | is used to build a single project or subproject. Other users can share the 16 | project (.dsp) file, but they should export the makefiles locally. 17 | 18 | ImageProcessing.h 19 | This is the main header file for the application. It includes other 20 | project specific headers (including Resource.h) and declares the 21 | CImageProcessingApp application class. 22 | 23 | ImageProcessing.cpp 24 | This is the main application source file that contains the application 25 | class CImageProcessingApp. 26 | 27 | ImageProcessing.rc 28 | This is a listing of all of the Microsoft Windows resources that the 29 | program uses. It includes the icons, bitmaps, and cursors that are stored 30 | in the RES subdirectory. This file can be directly edited in Microsoft 31 | Visual C++. 32 | 33 | ImageProcessing.clw 34 | This file contains information used by ClassWizard to edit existing 35 | classes or add new classes. ClassWizard also uses this file to store 36 | information needed to create and edit message maps and dialog data 37 | maps and to create prototype member functions. 38 | 39 | res\ImageProcessing.ico 40 | This is an icon file, which is used as the application's icon. This 41 | icon is included by the main resource file ImageProcessing.rc. 42 | 43 | res\ImageProcessing.rc2 44 | This file contains resources that are not edited by Microsoft 45 | Visual C++. You should place all resources not editable by 46 | the resource editor in this file. 47 | 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | 52 | For the main frame window: 53 | 54 | MainFrm.h, MainFrm.cpp 55 | These files contain the frame class CMainFrame, which is derived from 56 | CFrameWnd and controls all SDI frame features. 57 | 58 | res\Toolbar.bmp 59 | This bitmap file is used to create tiled images for the toolbar. 60 | The initial toolbar and status bar are constructed in the CMainFrame 61 | class. Edit this toolbar bitmap using the resource editor, and 62 | update the IDR_MAINFRAME TOOLBAR array in ImageProcessing.rc to add 63 | toolbar buttons. 64 | ///////////////////////////////////////////////////////////////////////////// 65 | 66 | AppWizard creates one document type and one view: 67 | 68 | ImageProcessingDoc.h, ImageProcessingDoc.cpp - the document 69 | These files contain your CImageProcessingDoc class. Edit these files to 70 | add your special document data and to implement file saving and loading 71 | (via CImageProcessingDoc::Serialize). 72 | 73 | ImageProcessingView.h, ImageProcessingView.cpp - the view of the document 74 | These files contain your CImageProcessingView class. 75 | CImageProcessingView objects are used to view CImageProcessingDoc objects. 76 | 77 | 78 | 79 | ///////////////////////////////////////////////////////////////////////////// 80 | Other standard files: 81 | 82 | StdAfx.h, StdAfx.cpp 83 | These files are used to build a precompiled header (PCH) file 84 | named ImageProcessing.pch and a precompiled types file named StdAfx.obj. 85 | 86 | Resource.h 87 | This is the standard header file, which defines new resource IDs. 88 | Microsoft Visual C++ reads and updates this file. 89 | 90 | ///////////////////////////////////////////////////////////////////////////// 91 | Other notes: 92 | 93 | AppWizard uses "TODO:" to indicate parts of the source code you 94 | should add to or customize. 95 | 96 | If your application uses MFC in a shared DLL, and your application is 97 | in a language other than the operating system's current language, you 98 | will need to copy the corresponding localized resources MFC42XXX.DLL 99 | from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, 100 | and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. 101 | For example, MFC42DEU.DLL contains resources translated to German.) If you 102 | don't do this, some of the UI elements of your application will remain in the 103 | language of the operating system. 104 | 105 | ///////////////////////////////////////////////////////////////////////////// 106 | -------------------------------------------------------------------------------- /ImageProcessing/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // ImageProcessing.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ImageProcessing/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__172A3731_1BFC_4C82_9FC6_D871E8EA28B7__INCLUDED_) 7 | #define AFX_STDAFX_H__172A3731_1BFC_4C82_9FC6_D871E8EA28B7__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 14 | 15 | #include // MFC core and standard components 16 | #include // MFC extensions 17 | #include // MFC Automation classes 18 | #include // MFC support for Internet Explorer 4 Common Controls 19 | #ifndef _AFX_NO_AFXCMN_SUPPORT 20 | #include // MFC support for Windows Common Controls 21 | #endif // _AFX_NO_AFXCMN_SUPPORT 22 | 23 | 24 | //{{AFX_INSERT_LOCATION}} 25 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 26 | 27 | #endif // !defined(AFX_STDAFX_H__172A3731_1BFC_4C82_9FC6_D871E8EA28B7__INCLUDED_) 28 | -------------------------------------------------------------------------------- /ImageProcessing/pic/24-198-135.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/24-198-135.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/24-512-512.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/24-512-512.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/24-604-311.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/24-604-311.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/Rockies.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/Rockies.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/dog.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/dog.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/gold.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/gold.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/picture.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/picture.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/picture2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/picture2.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/picture3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/picture3.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/picture5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/picture5.bmp -------------------------------------------------------------------------------- /ImageProcessing/pic/截图02.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/pic/截图02.bmp -------------------------------------------------------------------------------- /ImageProcessing/res/ImageProcessing.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/res/ImageProcessing.ico -------------------------------------------------------------------------------- /ImageProcessing/res/ImageProcessing.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // IMAGEPROCESSING.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /ImageProcessing/res/ImageProcessingDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/res/ImageProcessingDoc.ico -------------------------------------------------------------------------------- /ImageProcessing/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eastmountyxz/MFC-ImageProcessing/db40acda0a62eca79763c7e2d99eb98d2e5e4caa/ImageProcessing/res/Toolbar.bmp -------------------------------------------------------------------------------- /ImageProcessing/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by ImageProcessing.rc 4 | // 5 | #define IDD_ABOUTBOX 100 6 | #define IDR_MAINFRAME 128 7 | #define IDR_IMAGEPTYPE 129 8 | #define IDD_DIALOG_CY 130 9 | #define IDD_DIALOG_ZFT 131 10 | #define IDD_DIALOG_PY 132 11 | #define IDD_DIALOG_XZ 133 12 | #define IDD_DIALOG_SF 134 13 | #define IDC_EDIT_CYX 1000 14 | #define IDC_STATIC_XS_RED 1000 15 | #define IDC_EDIT_CYY 1001 16 | #define IDC_STATIC_XS_GREEN 1001 17 | #define IDC_STATIC_PJHD_GREEN 1002 18 | #define IDC_STATIC_ZZHD_GREEN 1003 19 | #define IDC_STATIC_PJHD_RED 1004 20 | #define IDC_EDIT_PYX 1004 21 | #define IDC_STATIC_ZZHD_RED 1005 22 | #define IDC_EDIT_PYY 1005 23 | #define IDC_STATIC_BZC_RED 1006 24 | #define IDC_EDIT_XZ 1006 25 | #define IDC_STATIC_BZC_GREEN 1007 26 | #define IDC_EDIT_SF 1007 27 | #define IDC_STATIC_XS_BLUE 1008 28 | #define IDC_STATIC_PJHD_BLUE 1009 29 | #define IDC_STATIC_RGB 1010 30 | #define IDC_STATIC_ZZHD_BLUE 1011 31 | #define IDC_STATIC_BZC_BLUE 1012 32 | #define IDC_STATIC_KJ 1013 33 | #define ID_SHOW_TWO 32771 34 | #define ID_SHOW_HD 32772 35 | #define ID_LH_2 32773 36 | #define ID_LH_4 32774 37 | #define ID_LH_8 32775 38 | #define ID_LH_16 32776 39 | #define ID_LH_32 32777 40 | #define ID_LH_64 32778 41 | #define ID_CY 32779 42 | #define ID_ZFT_YT 32780 43 | #define ID_DYS_YZBH 32782 44 | #define ID_DYS_JHH 32783 45 | #define ID_DYS_XXYD 32784 46 | #define ID_DYS_XXZQ 32785 47 | #define ID_DYS_XXJX 32786 48 | #define ID_DYS_XXQB 32787 49 | #define ID_DYS_FXXPF 32788 50 | #define ID_DYS_FXXHS 32789 51 | #define ID_JHBH_PY 32791 52 | #define ID_JHBH_FZ 32792 53 | #define ID_JHBH_DZ 32793 54 | #define ID_JHBH_TXXZ 32794 55 | #define ID_JHBH_ZXXZ 32795 56 | #define ID_JHBH_SF 32796 57 | #define ID_TXZQ_PTPH1 32797 58 | #define ID_TXZQ_PTPH2 32798 59 | #define ID_TXZQ_GSPH 32799 60 | #define ID_TXZQ_ZZLB 32800 61 | #define ID_RH_Laplacian 32801 62 | #define ID_RH_Sobel 32802 63 | #define ID_RH_Prewitt 32803 64 | #define ID_RH_Isotropic 32804 65 | #define ID_RH_GTMB 32805 66 | 67 | // Next default values for new objects 68 | // 69 | #ifdef APSTUDIO_INVOKED 70 | #ifndef APSTUDIO_READONLY_SYMBOLS 71 | #define _APS_3D_CONTROLS 1 72 | #define _APS_NEXT_RESOURCE_VALUE 135 73 | #define _APS_NEXT_COMMAND_VALUE 32806 74 | #define _APS_NEXT_CONTROL_VALUE 1008 75 | #define _APS_NEXT_SYMED_VALUE 101 76 | #endif 77 | #endif 78 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MFC-ImageProcessing 2 | 该资源为MFC制作的图像处理工具,采用C++编写,具体功能包括: 3 | - MFC详解显示BMP格式图片 4 | - MFC单文档分割窗口显示图片 5 | - MFC实现图像灰度、采样和量化功能 6 | - MFC对话框绘制灰度直方图 7 | - MFC图像点运算之灰度线性变化、灰度非线性变化、阈值化和均衡化处理 8 | - MFC空间几何变换之图像平移、镜像、旋转、缩放处理 9 | - MFC图像增强之图像普通平滑、高斯平滑、Laplacian、Sobel、Prewitt锐化处理 10 | 11 |
12 | 13 | 对应文章:
14 | [【数字图像处理】一.MFC详解显示BMP格式图片](https://blog.csdn.net/Eastmount/article/details/18238863)
15 | [【数字图像处理】 二.MFC单文档分割窗口显示图片](https://blog.csdn.net/Eastmount/article/details/18987539)
16 | [【数字图像处理】三.MFC实现图像灰度、采样和量化功能详解](https://blog.csdn.net/Eastmount/article/details/46010637)
17 | [【数字图像处理】四.MFC对话框绘制灰度直方图](https://blog.csdn.net/Eastmount/article/details/46237463)
18 | [【数字图像处理】五.MFC图像点运算之灰度线性变化、灰度非线性变化、阈值化和均衡化处理详解](https://blog.csdn.net/Eastmount/article/details/46312145)
19 | [【数字图像处理】六.MFC空间几何变换之图像平移、镜像、旋转、缩放详解](https://blog.csdn.net/Eastmount/article/details/46345299)
20 | [【数字图像处理】七.MFC图像增强之图像普通平滑、高斯平滑、Laplacian、Sobel、Prewitt锐化详解](https://blog.csdn.net/Eastmount/article/details/46378783)
21 | 22 | 23 | 效果图: 24 | 25 |
26 | 27 |
28 | 29 | --- 30 | 31 | By:Eastmount CSDN 2020-03-24 32 | 33 | --------------------------------------------------------------------------------