Today TBA Tomorrow Good Friday SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 5, Class 3.

Slides:



Advertisements
Similar presentations
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Advertisements

SE3910 Week 2, Class 2 Today Real-Time Systems Embedded Systems Other ??? Week 3 Tuesday Lab Lab start TBA SE-2811 Slide design: Dr. Mark L. Hornick Content:
Chapter 3 Data and Signals
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
CS2852 Week 8, Class 2 Today Tree terminology Non-Binary and Non-Search Trees Tree Traversals (Remaining slides not yet shown) Tomorrow: Quiz Implementing.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 8.
CE 4228 Data Communications and Networking
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
3 SIGNALLING Analogue vs. digital signalling oRecap advantages and disadvantages of analogue and digital signalling oCalculate signal transmission rates.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
Video.
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
02 – Performance Basics 1CS Computer Networks.
Chapter 3. Lesson Objectives Equations Chapter
Fundamentals of Multimedia Chapter 4 : Color in Image and Video 2 nd Edition 2014 Ze-Nian Li Mark S. Drew Jiangchuan Liu 1.
SE3910 Week 1, Class 3 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
Today Quiz Multithreading Options Qt socket buffers between threads Quiz today & Tuesday in lab SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
CS2910 Week 1, Class 1 Today Introductions Class/Lab Layout Safety Review - Note about Lab Safety Review Announce Prof. Michael Vieau’s S-341 6p Thurs.
Today C/C++:.h/.cpp; compiling and linking Fourier Transform (corrected) Nyquist Theorem Audio sampling rates SE-2811 Slide design: Dr. Mark L. Hornick.
CS2852 Week 3, Class 2 Today Stacks Queues SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
Today Nervous System Response Time SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 3, Class 2.
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
Today Return Quiz Class Climate Survey Review SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 10, Class.
CS2910 Week 2, Class 1 Today Return Lab 1 Muddiest Points Quiz Parsing Data in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 6, Class 1 Today The run-time stack Writing and proving recursive methods SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
CS2852 Week 5, Class 2 Today Queue Applications Circular Queue Implementation Testing SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
Today Return Quiz First release of final project template Multithreading Options Qt socket buffers between threads Tomorrow: Quiz Interthread communication.
Today Final Project “Preview” Real-time concurrency Multithreading Options pthreads qthreads GPIO.h & GPIO.cpp Quiz tomorrow & Tuesday in lab SE-2811 Slide.
CS2852 Week 6, Class 2 Today Class exercise: Implementing a recursive method Binary Search Trees Tomorrow: Quiz at start of lab Implementing a recursive.
Today Return Quiz First true release of final project (Lab 8) Multithreading Options Qt socket buffers between threads SE-2811 Slide design: Dr. Mark L.
CS2910 Week 4, Class 1 Today Encoding in Python – Review Quiz – Encoding in Python Introduction to HTTP SE-2811 Slide design: Dr. Mark L. Hornick Content:
Today Quiz not yet graded Final report requirements posted More on Multithreading Happens-Before in Java SE-2811 Slide design: Dr. Mark L. Hornick Content:
CS2852 Week 3, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
Today Signals Nyquist Theorem (revisited) Audio Sampling Latency and Bandwidth Scheduling Theory SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
CE1901 Week 6, Class 3 Week 6 Mini-Exam Review Muddiest Point Timing Diagrams (See this slide and Outcomes on course webpage – link now available)Outcomes.
CS2852 Week 2, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
CS2910 Week 3, Class 1 Today What is a protocol? Using TCP in Python Defining methods in Python Long procedure design SE-2811 Slide design: Dr. Mark L.
Today (or Thursday) Qt Thursday Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 6, Lab.
CS2910 Week 8, Class 2 Today Return Quiz Look at Schedule TCP implementation! Week 8, Monday Quiz on SMTP May include some questions requiring you to interpret.
Today Quiz not yet graded (Sorry!) More on Multithreading Happens-Before in Java Other langauges with Happens-Before Happens-Before in C++ SE-2811 Slide.
CS2910 Week 7, Class 1 Today Capturing SMTP with Thunderbird Tomorrow Extra office hour at 11 am (right after lab) Friday Office hour cancelled SE-2811.
Concepts Used to Create Digital Audio & Video Objectives &
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
Chapter 3 TRANSMISSION IMPAIRMENT. 3-4 TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes.
SE3910 Week 6, Class 1 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Bring Calculator!! Qt GUI Design Analog and Digital Datarates.
SE3910 Week 5, Class 3 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Analog and Digital Datarates SE-2811 Slide design: Dr.
SE3910 Week 4, Class 3 Notes on Lab 5 Code to write! Next week Monday Afternoon OH (after class) cancelled Ask questions before class if possible Week.
SE3910 Week 8, Class 2 Week 4 Lab: Please return your graded Lab 4 to me so I can enter it in my gradebook Week 7, Class 2 (Wednesday) Half-Exam 2 Done.
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
SE-1021 Software Engineering II
Presentation transcript:

Today TBA Tomorrow Good Friday SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 5, Class 3

Ex: C/C++ (Review) Why do we have both.h and.cpp file extensions for C++? Why not just have.cpp (like.java for Java classes)? Answer these questions: 1. What should you put into a class’s.h file? 2. What should you put into a class’s.cpp file? [Note: On next lab, use.hpp and.cpp instead of.h and.cpp] SE-2811 Dr.Yoder 2

Compiling and Linking Compiling Converting individual.c or.cpp file to object code Linking Combining multiple object (.o) files into an excecutable (usually without extension, or.exe on Windows) SE-2811 Dr.Yoder 3

Ex: C/C++ Circle the link-time errors. Box the compile- time syntax error warning: implicit declaration of function `...' point.m:40: error: ‘mypoint’ undeclared (first use in this function) parse error before `...‘ collect2: ld returned 1 exit status undefined reference to `filterText' /usr/lib/crt1.o(.text+0x18): undefined reference to `main ' SE-2811 Dr.Yoder 4

Network Latency with resmon.exe SE-2811 Dr.Yoder 5

Signals as sums of sine-waves SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 6 sSquareWave.html lides/SlideFiles.html

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 7

Units: dB What is a decibel? A tenth of a bel What is a bel? The log 10 of some ratio. e.g. signal power / noise power X dB = 10 log 10 (Y) X – in units of dB Y – simple ratio (unitless) 8

dB examples dB 50 dB100, dB1,000 0 dB1 -30 dB dB SE-2811 Dr.Yoder 9

Channel capacity SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 10

In-class exercise The old analog TV channels had a bandwidth of 6MHz Supposing a SNR of 50 dB, what is the maximum possible bit-rate? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 11

In-class Activity: What is the data rate of classic NTSC television (as digital stream)? Store color with special scheme so only two bytes required per pixel, on average 720x480 30/1.001 fps Follow up: If compressed to 25MiB/s (or 25MB/s) what is the compression ratio? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 12

The Stroboscopic Effect Have you ever noticed something that is in motion seem to stop? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 13

The Stroboscopic Effect (Aliasing) ns/7/77/Propeller_strobe.ogv ns/7/77/Propeller_strobe.ogv ns/e/ef/The_wagon-wheel_effect.ogv ns/e/ef/The_wagon-wheel_effect.ogv SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 14

Safety See, e.g. “DC lamps must always be turned on when using any rotating machines” t-faculty-shop/machine-shop-rules SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 15

Aliasing 512/what-is-aliasing-and-anti-aliasing SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 16

More aliasing Single-Sensor Imaging: Methods and Applications for Digital Cameras, by Rastislav Lukac ms/showthread.php?t=14988 SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 17

Human eye Recall As little as 13ms Notice interruption As short as 16ms Single-ms duration looks as long as ms 10ms green followed by 10ms red May appear as single yellow stimulus SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 18

Ex: Why might you want to sample at a higher frame-rate than the 30fps? Be as professional as possible Avoid flame wars Have technical depth to back it Avoid sounding technical just to be cool SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 19

Ex: What are two ways we can avoid the stroboscopic effect in a video game simulation of a rotating wheel? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 20

In-class Activity: Analog to digital bandwidth SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 21

In-class activity Suppose I have a band centered at 100 Mhz which is 1Mhz wide. What are the limits on this range? What is the wavelength of the center 1 Mhz signal speed of light = m / s speed in Cat-5 is 70% of this wavelength = time of period * velocity SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 22

Fiber-optic Transmission In fiber-optic transmission, signals are sent by transmitting various colors (or invisible) light down a fiber-optic channel The colors are separated at the other end Multiple fibers can be used Supposing that the same bandwidth rule applies, what bandwidth can be carried by the visible spectrum? ( nm) Use SNR of 4000 Hint: Convert wavelength to period/frequency SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 23

Muddiest Point Wait for the slides, or follow this link to answer both questions at once: SE-2811 Dr.Yoder 24

Muddiest Point Wait for the slides, or follow this link to answer both questions at once: SE-2811 Dr.Yoder 25

SE-2811 Dr. Josiah Yoder 26

SE-2811 Dr. Josiah Yoder 27

References EB: Derek Malloy, Exploring Beaglebone, Wiley, duction_to_gcc/gccintro_95.html theory.co.uk/docs/gccintro/gccintro_95.html c-compile-errors-in-an-basic-example-objc- program duction_to_gcc/gccintro_94.html SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 28