HCI Chapter 1 The Human and The Computer
HCI Chapter 1 The Human and The Computer
HCI Chapter 1 The Human and The Computer
Computer Interaction
What is Human-Computer Interaction
(HCI) ?
Daniela Rus, Professor and Director of the MIT Computer
Science and Artificial Intelligence Laboratory (CSAIL), not
only is a promoter of HCI, but believes wholeheartedly in
its pivotal role in shaping our future. As she says; “Future
human-computer interactions will make it much easier for
people and machines to work together. It will make it
possible for machines to support people in cognitive tasks
as well as physical tasks. The future holds a lot of
possibilities for people and machines working together.”
What is Human-Computer Interaction
(HCI) ?
1. Physical reception/function of
stimulus. (causes an action or response)
2. Processing and interpretation of
stimulus.
THE EYE – Physical reception
Mechanism for receiving light and
transforming it into electrical energy.
size constancy
SIZE AND DEPTH
1) Visual
2) Auditory
3) Haptic
4) Movement
VISUAL: Reading
• Visual patterns are perceived.
• Decoded using internal representation of
language.
• Interpreted using knowledge of syntax,
semantics, and pragmatics.
• Involves saccades and fixations.
• Syntax: the arrangement of words and phrases
to create well-formed sentences in a language.
• Semantics: concerned with meaning, such as
sense and implication.
• Pragmatics: focuses on conversational
implicature, which is a process in which the
speaker implies and a listener infers.
• Saccades: a rapid movement of the eye
between fixation points.
• Fixations: an unnaturally strong interest in
something or someone.
AUDITORY: Hearing
• Provides information about environment.
• Physical apparatus:
1.) Outer ear: protects inner and amplifies
or increases sound.
2.) Middle ear: transmits sound waves as
vibrations to inner ear.
3.) Inner ear: chemical transmitters are
released and cause impulses in auditory
nerve.
AUDITORY: Hearing
• Sound
Pitch: sound frequency.
Loudness: amplitude.
Timbre: type or quality.
• Humans can hear frequencies from 20Hz
up to 15KHz.
• Auditory system filters sounds and can
attend to sounds over background noise.
HAPTIC: Touch
• Provides important feedback about
environment.
• May be the key sense for someone who is
visually impaired.
• Stimulus perceived via receptors in the skin:
Thermoreceptors: heat and cold.
Nociceptors: pain.
Mechanoreceptors: pressure or tension.
MOVEMENT
• Time taken to respond to stimulus: reaction
time + movement time.
• Movement time is dependent on age,
fitness, etc.
• Reaction time is dependent on stimulus
type:
Visual: 200ms.
Auditory: 150ms.
Pain: 700ms.
INFORMATION STORED IN
MEMORY
1) Sensory
2) Short-term
3) Long-term
SENSORY MEMORY
• Also known as working memory.
• Buffers for stimuli received through
senses.
Iconic memory: visual stimuli.
Echoic memory: aural stimuli.
Haptic memory: tactile memory.
SHORT-TERM MEMORY
the computer
The Computer
a computer system is made up of various elements
• variations
– desktop window 2
– laptop
– PDA
12-37pm
the devices dictate the styles of interaction that the system supports
If we use different devices, then the interface will support a different style of interaction
How many …
• computers in your house?
– hands up, …
… none, 1, 2 , 3, more!!
cantry
you
your
think
pockets
of more?
and bags
Interactivity?
Long ago in a galaxy far away … batch processing
– punched card stacks or large data files prepared
– long wait ….
– line printer output
… and if it is not right …
sensors
and devices
everywhere
text entry devices
1 2 3 4 5 6 7 8 9 0
Q W E R T Y U I O P
A S D F G H J K L
Z X C V B N M , .
SPACE
alternative keyboard layouts
Alphabetic
– keys arranged in alphabetic order
– not faster for trained typists
– not faster for beginners either!
Dvorak
– common letters under dominant fingers
– biased towards right hand
– common combinations of letters alternate between hands
– 10-15% improvement in speed and reduction in fatigue
– But - large social base of QWERTY typists produce market pressures not to change
special keyboards
• designs to reduce fatigue for RSI
• for one handed use
e.g. the Maltron left-handed keyboard
Chord keyboards
only a few keys - four or 5
letters typed as combination of keypresses
compact size
– ideal for portable applications
short learning time
– keypresses reflect letter shape
fast
– once you have trained
• Technical problems:
– capturing all useful information - stroke path, pressure, etc. in a natural manner
– segmenting joined up writing into individual letters
– interpreting individual letters
– coping with different styles of handwriting
• Problems with
– external noise interfering
– imprecision of pronunciation
– large vocabularies
– different speakers
Numeric keypads
4 5 6 4 5 6
not the same!!
7 8 9 1 2 3
.
ATM like phone *
0 # 0 =
telephone calculator
positioning, pointing and drawing
mouse, touchpad
trackballs, joysticks etc.
touch screens, tablets
eyegaze, cursors
the Mouse
• Handheld pointing device
– very common
– easy to use
• Two characteristics
– planar movement
– buttons
(usually from 1 to 3 buttons on top, used for making a selection, indicating an
option, or to initiate drawing etc.)
the mouse (ctd)
Mouse located on desktop
– requires physical space
– no arm fatigue
• Mechanical
– Ball on underside of mouse turns as mouse is moved
– Rotates orthogonal potentiometers
– Can be used on almost any flat surface
• Optical
– light emitting diode on underside of mouse
– may use special grid-like pad or just on desk
– less susceptible to dust and dirt
– detects fluctuating alterations in reflected light intensity to calculate relative motion in (x, z) plane
Even by foot …
• some experiments with the footmouse
– controlling mouse movement with feet …
– not very common :-)
Thumbwheels …
– for accurate CAD – two dials for X-Y cursor position
– for fast scrolling – single dial on mouse
Joystick and keyboard nipple
Joystick
– indirect
pressure of stick = velocity of movement
– buttons for selection
on top or on front like a trigger
– often used for computer games
aircraft controls and 3D navigation
Keyboard nipple
– for laptop computers
– miniature joystick in the middle of the keyboard
Touch-sensitive screen
• Detect the presence of finger or stylus on the screen.
– works by interrupting matrix of light beams, capacitance changes or ultrasonic reflections
– direct pointing device
• Advantages:
– fast, and requires no specialised pointer
– good for menu selection
– suitable for use in hostile environment: clean and safe from damage.
• Disadvantages:
– finger can mark screen
– imprecise (finger is a fairly blunt instrument!)
• difficult to select small regions or perform accurate drawing
– lifting arm can be tiring
Stylus and light pen
Stylus
– small pen-like pointer to draw directly on screen
– may use touch sensitive surface or magnetic detection
– used in PDA, tablets PCs and drawing tables
Light Pen
– now rarely used
– uses light from screen to detect location
BOTH …
– very direct and obvious to use
– but can obscure screen
Digitizing tablet
• Mouse like-device with cross hairs
• very accurate
- used for digitizing maps
Eyegaze
• control interface by eye gaze direction
– e.g. look at a menu item to select it
• uses laser beam reflected off retina
– … a very low power laser!
• mainly used for evaluation (ch x)
• potential for hands-free control
• high accuracy requires headset
• cheaper and lower accuracy devices available
sit under the screen like a small webcam
Cursor keys
• Four keys (up, down, left, right) on keyboard.
• Very, very cheap, but slow.
• Useful for not much more than basic motion for text-editing tasks.
• No standardised layout, but inverted “T”, most common
Discrete positioning controls
• in phones, TV controls etc.
– cursor pads or mini-joysticks
– discrete left-right, up-down
– mainly for menu selection
display devices
Jaggies
– diagonal lines that have discontinuities in due to horizontal raster scan
process.
Anti-aliasing
– softens edges by using shades of line colour
– also used for text
Cathode ray tube
• Stream of electrons emitted from electron gun, focused and directed by magnetic fields, hit
phosphor-coated screen which glows
• used in TVs and computer monitors
electron beam
electron gun
focussing and
deflection
phosphor-
coated screen
Health hazards of CRT !
• X-rays: largely absorbed by screen (but not at rear!)
• UV- and IR-radiation from phosphors: insignificant levels
• Radio frequency emissions, plus ultrasound (~16kHz)
• Electrostatic field - leaks out through tube to user. Intensity dependant on distance and humidity.
Can cause rashes.
• Electromagnetic fields (50Hz-0.5MHz). Create induction currents in conductive materials, including
the human body. Two types of effects attributed to this: visual system - high incidence of cataracts in
VDU operators, and concern over reproductive disorders (miscarriages and birth defects).
Health hints …
• do not sit too close to the screen
• do not use very small fonts
• do not look at the screen for long periods without a break
• do not place the screen directly in front of a bright window
• work in well-lit surroundings
• How it works …
– Top plate transparent and polarised, bottom plate reflecting.
– Light passes through top plate and crystal, and reflects back to eye.
– Voltage applied to crystal changes polarisation and hence colour
– N.B. light reflected not emitted => less eye strain
special displays
Random Scan (Directed-beam refresh, vector display)
– draw the lines to be displayed directly
– no jaggies
– lines need to be constantly redrawn
– rarely used except in special instruments
handwritten
office owner
notes left
reads notes
using stylus
using web interface
Digital paper
• what? appearance
positioning in 3D space
moving and grasping
seeing 3D (helmets and caves)
positioning in 3D space
• cockpit and virtual controls
– steering wheels, knobs and dials … just like real!
• the 3D mouse
– six-degrees of movement: x, y, z + roll, pitch, yaw
• data glove
– fibre optics used to detect finger position
• VR helmets
– detect head motion and possibly eye gaze
• whole body tracking
– accelerometers strapped to limbs or reflective dots and video processing
pitch, yaw and roll
yaw
roll
pitch
3D displays
• desktop VR
– ordinary screen, mouse or keyboard control
– perspective and motion give 3D effect
• seeing in 3D
– use stereoscopic vision
– VR helmets
– screen plus shuttered specs, etc.
• digital displays:
– small LCD screens, LED lights, etc.
• head-up displays
– found in aircraft cockpits
– show most important controls
… depending on context
Sounds
• beeps, bongs, clonks, whistles and whirrs
multi-function
control
large buttons
clear dials
tiny buttons
Environment and bio-sensing
• sensors all around us
– car courtesy light – small switch on door
– ultrasound detectors – security, washbasins
– RFID security tags in shops
– temperature, weight, location
print technology
fonts, page description, WYSIWYG
scanning, OCR
Printing
• image made from small dots
– allows any character set or graphic to be printed,
• critical features:
– resolution
• size and spacing of the dots
• measured in dots per inch (dpi)
– speed
• usually measured in pages per minute
– cost!!
Types of dot-based printers
• dot-matrix printers
– use inked ribbon (like a typewriter
– line of pins that can strike the ribbon, dotting the paper.
– typical resolution 80-120 dpi
• ink-jet and bubble-jet printers
– tiny blobs of ink sent from print head to paper
– typically 300 dpi or better .
• laser printer
– like photocopier: dots of electrostatic charge deposited on drum, which picks up toner (black powder form
of ink) rolled onto paper which is then fixed with heat
– typically 600 dpi or better.
Printing in the workplace
• shop tills
– dot matrix
– same print head used for several paper rolls
– may also print cheques
• thermal printers
– special heat-sensitive paper
– paper heated by pins makes a dot
– poor quality, but simple & low maintenance
– used in some fax machines
Fonts
• Font – the particular style of text
Courier font
Helvetica font
Palatino font
Times Roman font
• §´µº¿Â Ä¿~ (special symbol)
• serif fonts
– helps your eye on long lines of printed text
– but sans serif often better on screen
Page Description Languages
• Pages very complex
– different fonts, bitmaps, lines, digitised photos, etc.
• more recently
– papers micro printed - like wattermarks
• identify which sheet and where you are
– special ‘pen’ can read locations
• know where they are writing
memory
• optical disks
– use lasers to read and sometimes write
– more robust that magnetic media
– CD-ROM
- same technology as home audio, ~ 600 Gbytes
– DVD - for AV applications, or very large files
Blurring boundaries
• PDAs
– often use RAM for their main memory
• Flash-Memory
– used in PDAs, cameras etc.
– silicon based but persistent
– plug-in USB devices for data transfer
speed and capacity
• what do the numbers mean?
• But … swopping
– program on disk needs to run again
– copied from disk to RAM
– slows t h i n g s d o w n
Compression
• reduce amount of storage required
• lossless
– recover exact text or image – e.g. GIF, ZIP
– look for commonalities:
• text: AAAAAAAAAABBBBBCCCCCCCC 10A5B8C
• video: compare successive frames and store change
• lossy
– recover something like original – e.g. JPEG, MP3
– exploit perception
• JPEG: lose rapid changes and some colour
• MP3: reduce accuracy of drowned out notes
Storage formats - text
• ASCII - 7-bit binary code for to each letter and character
• UTF-8 - 8-bit encoding of 16 bit character set
• RTF (rich text format)
- text plus formatting and layout information
• SGML (standardized generalised markup language)
- documents regarded as structured objects
• XML (extended markup language)
- simpler version of SGML for web applications
Storage formats - media
• Images:
– many storage formats :
(PostScript, GIFF, JPEG, TIFF, PICT, etc.)
– plus different compression techniques
(to reduce their storage requirements)
• Audio/Video
– again lots of formats :
(QuickTime, MPEG, WAV, etc.)
– compression even more important
– also ‘streaming’ formats for network delivery
methods of access
• large information store
– long time to search => use index
– what you index -> what you can access
• simple index needs exact match
• forgiving systems:
– Xerox “do what I mean” (DWIM)
– SOUNDEX – McCloud ~ MacCleod
• access without structure …
– free text indexing (all the words in a document)
– needs lots of space!!
processing and networks
• But problems occur, because processing cannot keep up with all the tasks it needs to do
– cursor overshooting because system has buffered keypresses
– icon wars - user clicks on icon, nothing happens, clicks on another, then system responds and windows fly
everywhere
• Also problems if system is too fast - e.g. help screens may scroll through text much too rapidly to be
read
Moore’s law
/e3/online/moores-law/
the myth of the infinitely
fast machine
• implicit assumption … no delays
an infinitely fast machine
• what is good design for real machines?
• good example … the telephone :
– type keys too fast
– hear tones as numbers sent down the line
– actually an accident of implementation
– emulate in deisgn
Limitations on interactive performance
Computation bound
– Computation takes ages, causing frustration for the user
Storage channel bound
– Bottleneck in transference of data from disk to memory
Graphics bound
– Common bottleneck: updating displays requires a lot of effort - sometimes helped by adding a graphics co-
processor optimised to take on the burden
Network capacity
– Many computers networked - shared resources and files, access to printers etc. - but interactive
performance can be reduced by slow network speed
Networked computing
Networks allow access to …
– large memory and processing
– other people (groupware, email)
– shared resources – esp. the web
Issues
– network delays – slow feedback
– conflicts - many people update data
– unpredictability
The internet
• history …
– 1969: DARPANET US DoD, 4 sites
– 1971: 23; 1984: 1000; 1989: 10000
• common language (protocols):
– TCP – Transmission Control protocol
• lower level, packets (like letters) between machines
– IP – Internet Protocol
• reliable channel (like phone call) between programs on machines
– email, HTTP, all build on top of these
THE COMPUTER
A computer system is made up of
various elements. Each of these
elements affects the interaction.
INPUT DEVICES
These are pieces of hardware used to
provide data to a computer used for
interaction and control. It allows entry
of raw data to the computer for
processing.
OUTPUT DEVICES
Refers to any piece of computer
hardware equipment which converts
information into human-readable form.
It can be in text, graphics, tangible,
audio, or video form.
To understand the human–computer
interaction, one needs to understand
computers.
TEXT ENTRY DEVICES
• Mouse
• Joystick
• Touchpad
• Stylus Pen
• Keyboard
DISPLAY DEVICES
• Plasma Display
• Liquid crystal display (LCD)
• Light-emitting diode (LED)
• Electroluminescent (ELD)
MEMORY DEVICES
• Short-term memory (RAM)
• Long-term memory
• Flash memory
END OF
DISCUSSION…