Programming language – C++ Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.

Slides:



Advertisements
Similar presentations
Importing Google Earth Data into a GIS Jason Parent Center for Land use Education and Research.
Advertisements

Module 6: Introduction to C Language ITEI102 Introduction to Programming Structure of C++ Program - Programming Terminologies - Microsoft Visual Studio.
Field Data Introduction to Remote Sensing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last.
ECE Application Programming
Image Enhancement Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last.
Introduction to Computer Programming in C
INTRODUCTION T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System CS240.
COSC 120 Computer Programming
More Program Flow Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
Functions Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Arrays Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Pointers Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Introduction Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
Digital Data Introduction to Remote Sensing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
Expressions and statements Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences.
Getting Started Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
ArcView Documents Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Variables and constants Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences.
ICS 101 – Introduction to Computer Programming I Putu Danu Raharja Information & Computer Science Department CCSE - King Fahd University.
References Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
Creating a Console Application with Visual Studio
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Microsoft Visual Basic 2005: Reloaded Second Edition
CSC 494/594 C# and ASP.NET Programming. C# 2012 C# Object-oriented language with syntax that is similar to Java.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 62 – Manipulating Data Using Methods – Day 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Productivity Tools Ken Nguyen Department of Information Technology Clayton State University.
Introduction Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last updated:
C++ Introduction : C++ compilation. Visual Studio 2008 : Creating Command-Line Program.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Programming with Visual Studio.NET A short review of the process.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
11 Introduction to Object Oriented Programming (Continued) Cats.
The course. Description Computer systems programming using the C language – And possibly a little C++ Translation of C into assembly language Introduction.
C++ Introduction : C++ compilation Standard Input/Output: cin, cout Functions Array, Pointer class File Input/Output.
Introduction Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See
Image transformations Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
12/4/20151 Introduction To Computer Science Bina Ramamurthy.
Introduction Copyright © Software Carpentry This work is licensed under the Creative Commons Attribution License See
Introduction Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last updated:
Two-Dimensional Filters Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Downloading a Visual C compilers (try it yourself at home) Visual Studio 2012 can be found at:
Chapter 1: Introduction to Computers and Programming.
CMPT 201 Computer Science II for Engineers
Introduction To Visual Basic 6
Getting Started with ATMEL Studio 6
Computer Terms Review from what language did C++ originate?
Chapter 2 – Introduction to the Visual Studio .NET IDE
CE-105 Spring 2007 Engr. Faisal ur Rehman
Lab 7 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
MonoGame and Windows 8.
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Introduction to Programming in C
Social Media And Global Computing Creating DLLs with Visual Studio
Simulation And Modeling
Computer Terms Review from what language did C++ originate?

C# and ASP.NET Programming
CS313T Advanced Programming language
Presentation transcript:

Programming language – C++ Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last updated: 21 October 2003 Chapter 3

Introduction  Useful materials for learning C++ C C++ course Free electronic book: Think in C++Think in C++ Teach yourself C++ in 21 days Reference library

Microsoft Visual Studio environment  Start a new project  Add a new c++ file  Compile  Debug  Run  Change the attribute

Six basic elements of programming language  Basic structure of a C program (ex3-1) (ex3-1  Data type (ex3-2) ex3-2  Input/output (ex3-3) ex3-3  Operator (ex3-4) (ex3-4  Control (ex3-5, ex3-6) ex3-5ex3-6ex3-5ex3-6  Array (ex3-7, ex3-8) ex3-7ex3-8ex3-7ex3-8  Function (ex3-9) ex3-9

New features of C++  Class (ex3-10.cpp, ex3-10.hpp) ex3-10.cppex3-10.hppex3-10.cppex3-10.hpp  Pointer (ex3-11.cpp) ex3-11.cpp  Reference (ex3-12.cpp, ex3-13.cpp) ex3-12.cppex3-13.cppex3-12.cppex3-13.cpp  Inheritance (ex3-14.cpp, ex3-15.cpp, ex3-16.cpp, ex3-17.cpp, ex3-18.cpp, ex3-19.cpp) ex3-14.cppex3-15.cpp ex3-16.cppex3-17.cppex3-18.cpp ex3-19.cppex3-14.cppex3-15.cpp ex3-16.cppex3-17.cppex3-18.cpp ex3-19.cpp

Homework 3  Convert your homework 1 (Fortran version) to C++ version

Homework 4  Modify the source code (Homework4.cpp) and write a member function Histogram to calculate the histogram of the input image (image.txt). Please output to a file “histogram.txt” with two columns: Grey level and Pixel numbers. Homework4.cppimage.txtHomework4.cppimage.txt