Click here to Skip to main content
15,885,244 members
Articles / Desktop Programming / MFC

Convolution of Bitmaps

Rate me:
Please Sign up or sign in to vote.
4.07/5 (27 votes)
29 Mar 20063 min read 213.2K   2.4K   44  
Article discussing how to convolve images, specificially the convolution of bitmaps.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ImageConvolution.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_IMAGECTYPE                  129
#define IDD_DLGCONVOLVE                 130
#define IDB_BITMAP1                     131
#define IDC_ROW1COL1                    1000
#define IDC_ROW1COL2                    1001
#define IDC_ROW1COL3                    1002
#define IDC_ROW2COL1                    1003
#define IDC_ROW2COL2                    1004
#define IDC_ROW2COL3                    1005
#define IDC_ROW3COL1                    1006
#define IDC_ROW3COL2                    1007
#define IDC_ROW3COL3                    1008
#define IDC_BIAS                        1009
#define ID_VIEW_CONVOLVEIMAGE           32771
#define ID_VIEW_UNSHARPENIMAGE          32772
#define ID_VIEW_SHARPENIMAGE            32773
#define ID_VIEW_GAUSSIANBLUR            32774
#define ID_VIEW_SHARPNESSIMAGE          32775
#define ID_VIEW_EDGEDETECT1             32776
#define ID_VIEW_EDGEDETECT2             32777
#define ID_VIEW_BOXBLUR                 32778
#define ID_VIEW_TRIANGLEBLUR            32779
#define ID_VIEW_GRAYSCALE               32780

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        132
#define _APS_NEXT_COMMAND_VALUE         32781
#define _APS_NEXT_CONTROL_VALUE         1010
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Programming using MFC and ATL for almost 12 years now. Currently studying Operating System implementation as well as Image processing. Previously worked on DSP and the use of FFT for audio application. Programmed using ADO, ODBC, ATL, COM, MFC for shell interfacing, databasing tasks, Internet items, and customization programs.

Comments and Discussions