1 / 8

Visual C++ 6.0 환경에서의 GS 사용방법

Visual C++ 6.0 환경에서의 GS 사용방법. Lee, Moon-Ho 2003. 09. http://mips.changwon.ac.kr. http://www.conv2.com. 1. gs.dsw 를 연다 . – 준비 작업. double click. 2. Visual C++ 6.0 – 준비 작업. gs.dsw 를 호출시 Visual C++ 6.0 은 위와 같은 모습으로 되어 있다 . 1. gs.cpp 를 클릭하여 “ main() ” 부분을 주석으로 처리한다 .

cisco
Download Presentation

Visual C++ 6.0 환경에서의 GS 사용방법

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual C++ 6.0 환경에서의GS 사용방법 Lee, Moon-Ho 2003. 09. http://mips.changwon.ac.kr http://www.conv2.com

  2. 1. gs.dsw를 연다. – 준비 작업 double click

  3. 2. Visual C++ 6.0 – 준비 작업 gs.dsw를 호출시 Visual C++ 6.0 은 위와 같은 모습으로 되어 있다.1. gs.cpp를 클릭하여 “main()”부분을 주석으로 처리한다. 2. 새로운 소스를 만들기 위해 CTRL + N을 누른다.

  4. 3. 프로그램 만들기 – 소스 만들기 1. 왼쪽 : C/C++ Source File 을 선택한다. 2. 오른쪽 : [File] 부분에 first.cpp 를 넣는다. 3. 작성하면 [OK] 버튼을 누른다. 1. 방금 생성한 first.cpp에는 빈화면이 나타나게 된다. 2. 이제 이 소스에서 작성하면 된다.

  5. 3. 프로그램 만들기 – 작성 예시 소스 작성하는 법은 왼쪽 그림과 같다. 이제 RGB 컬러 공간을 명암도 영상으로 변환하는 예제 소스를 제시한다. 여기서 직접 타이핑 하도록 하자. 예제는 다음 페이지로

  6. 3. 프로그램 만들기 – 소스 내용 first.cpp의 소스 내용

  7. 3. 프로그램 만들기 – 컴파일 및 실행 하기 1. Ctrl + F7을 눌러 Compile 한다. 2. Ctrl + F5를 눌러 실행한다. 실행 결과 이제 AlSee 1.4로 결과 영상(PPM)을 확인해보자.

  8. 4. 실행 결과 보기 생성된 새로운 영상 결과

More Related