분류 전체보기
-
소수 구하는 부분 클라이언트IT창고/C# 2007. 1. 23. 02:24
using System; using System.Collections.Generic; using System.Text; using SosuLib; namespace Sosu { class Sosu { static void Main(string[] args) { double result; Sosu s = new Sosu(); SosuLib.SosuLib sul = new SosuLib.SosuLib(); result = sul.Run(1, 30); } } }
-
-
샤프닝..!!IT창고/C# 2007. 1. 23. 02:23
double mVal = 1.0 / 1024.0; double[,] mask = new double[32,32]; for (int i = 0; i < 32; i++) { mask[i,0] = mVal; for(int j=0; j < 32; j++) mask[i,j] = mVal; } int [,] ResultArray = convolve(grayArray, image.Width, image.Height, mask, 32,32,0); displayResultArray(ResultArray, image.Width, image.Height);
-
Dshow API -> MFC 포팅..!IT창고/DirectShow 2007. 1. 23. 02:20
//------------------------------------------------------------------------------ // File: Auxiliary.cpp // // Desc: Useful auxiliaries for the Win32 Application. // // Copyright (c) 2000 - 2005, L544™ Technology. All rights reserved. //------------------------------------------------------------------------------ #include "stdafx.h" #ifdef _DEBUG #include /* void TRACE(LPCTSTR lpszFormat, ...) {..
-
2005 Directshow 미디어 재생기 만들기..IT창고/DirectShow 2007. 1. 23. 02:19
// MediaPlayerView.cpp : CMediaPlayerView 클래스의 구현 // #include "stdafx.h" #include "MediaPlayer.h" #include "MediaPlayerDoc.h" #include "MediaPlayerView.h" #include const int TIMER_ID_TIMECHECK = 102; #ifdef _DEBUG #define new DEBUG_NEW #endif // CMediaPlayerView IMPLEMENT_DYNCREATE(CMediaPlayerView, CFormView) BEGIN_MESSAGE_MAP(CMediaPlayerView, CFormView) ON_BN_CLICKED(IDC_BTN_OPEN, &CMediaPlay..