Lecture 01
Lecture 01
HCI BASICS
Lecture 1
Agenda
The Human
The Computer
The Interaction
THE HUMAN
HCI Basics
The Human
Information i/o
visual, auditory, haptic, movement
Information stored in memory
sensory, short-term, long-term
Vision
Two stages in vision:
physical reception of stimulus
processing and interpretation of stimulus
Optical center
electrical energy
light reflects from objects
images are focused upside-down on retina
retina contains rods for low light vision and cones for
colour vision
ganglion cells (brain!) detect pattern and movement
Vision
Vision - compensation
Vision
Optical Illusions
Optical Illusions
Optical Illusions
Optical Illusions
Colors
Major impact in UI design
Accessibility
The primary colors as seen with
normal color vision.
The primary colors as seen with
Protanopia (1% of male population).
The primary colors as seen with
Deuteranopia (6% of male population).
The primary colors as seen with
Tritanopia (1% of male population).
yellow in graphics.
Legibility, temporal response, spatial localization and perception of
background
Legibility
primary:
Solutions
Reading
Several stages:
visual pattern perceived
decoded using internal representation of language
interpreted using knowledge of syntax, semantics, pragmatics
Reading
Correct paragraph
I couldn't believe that I could actually understand
Hearing
Provides information about environment:
distances, directions, objects etc.
Physical apparatus:
outer ear
protects inner and amplifies sound
middle ear
transmits sound waves as
inner ear
Sound
pitch
loudness
timbre
sound frequency
amplitude
type or quality
Hearing
Humans can hear frequencies from 20Hz to 15kHz
less accurate distinguishing high frequencies than low.
Auditory system filters sounds
can attend to sounds over background noise.
for example, the cocktail party phenomenon - when one may
immediately detect words of importance originating from
unattended stimuli, for instance hearing one's name in another
conversation
Touch
Provides important feedback about environment.
nociceptors
mechanoreceptors
Movement
Time taken to respond to stimulus:
Movement
Fitts' Law describes the time taken to hit a screen
target:
Mt = a + b log2(D/S + 1)
where:
Memory
There are three types of memory function:
Sensory memories
Short-term memory or working memory
Long-term memory
Selection of stimuli governed by level of arousal.
sensory memory
Buffers for stimuli received through senses
iconic memory: visual stimuli
echoic memory: aural stimuli
haptic memory: tactile stimuli
Examples
sparkler trail
stereo sound
Continuously overwritten
STM
Try to memorize as much as possible from the following sequence
265397620853
Examples
212348278493202
0121 414 2626
HEC ATR ANU PTH ETR EET
Long-term memory
Semantic memory structure
provides access to information
represents relationships between bits of information
supports inference
Model: semantic network
inheritance child nodes inherit properties of parent nodes
relationships between bits of information explicit
supports inference through inheritance
LTM - Forgetting
decay
information is lost gradually but very slowly
interference
new information replaces old: retroactive interference
LTM - retrieval
recall
information reproduced from memory can be assisted by cues, e.g.
categories, imagery
recognition
information gives knowledge that it has been seen before
less complex than recall - information is cue
THINKING
Reasoning
deduction, induction, abduction
Problem solving
Deductive Reasoning
Deduction:
Deduction
When truth and logical validity clash
e.g. Some people are babies
Some babies cry
Inference - Some people cry
Correct?
People bring world knowledge to bear
Inductive Reasoning
Induction:
generalize from cases seen to cases unseen
e.g.
all elephants we have seen have trunks
therefore all elephants have trunks.
Unreliable:
can only prove false not true
but useful!
Humans not good at using negative evidence
e.g. Wason's cards.
Wason's cards
7 E 4 K
If a card has a vowel on one side it has an even number on the other
Is this true?
How many cards do you need to turn over to find out?
Abductive reasoning
reasoning from event to cause
e.g.
Sam drives fast when drunk.
If I see Sam driving fast, assume drunk.
Unreliable:
can lead to false explanations
Reasoning
Problem solving
Process of finding solution to unfamiliar task using
knowledge.
Several theories.
Gestalt
problem solving both productive and reproductive
productive draws on insight and restructuring of problem
attractive but not enough evidence to explain `insight' etc.
move away from behaviourism and led towards information processing
theories
Problem solving
Problem space theory
problem space comprises problem states
problem solving involves generating states using legal operators
heuristics may be employed to select operators
Problem solving
Analogy
analogical mapping:
novel problems in new domain?
use knowledge of similar problem from similar domain
analogical mapping difficult if domains are semantically different
Skill acquisition
skilled activity characterized by chunking
lot of information is chunked to optimize STM
conceptual rather than superficial grouping of problems
information is structured more effectively
mistakes
wrong intention
Mental models
"The image of the world around us, which we carry in our
Exercise: ATMs
How an ATM works
How much money are you allowed to take out?
What denominations?
If you went to another machine and tried the same what would
happen?
often ad hoc
Computers
Same is often true for understanding how
External cognition
Concerned with explaining how we interact with
processes involved
How they extend our cognition
What computer-based representations can we
priority of what to do
External representations:
Remind us that we need to do something (e.g. to buy something for
mothers day)
Remind us of what to do (e.g. buy a card)
Remind us when to do something (e.g. send a card by a certain
date)
Computational offloading
When a tool is used in conjunction with an external
Design implication
Provide external representations at the
conceptual models
Assumption is that if you can understand how people
Emotions
Various theories of how emotion works
James-Lange: emotion is our interpretation of a physiological
response to a stimuli
Cannon: emotion is a psychological response to a stimuli
Schacter-Singer: emotion is the result of our evaluation of our
responses to stimuli
Emotions
The biological response to physical stimuli is called
affect
Affect influences how we respond to situations
positive creative problem solving
negative narrow thinking
Negative affect can make it harder to do even easy tasks;
positive affect can make it easier to do difficult tasks
(Donald Norman)
Emotion
Implications for interface design
stress will increase the difficulty of problem solving
Individual differences
long term
THE COMPUTER
HCI Basics
The Computer
a computer system is made up of various elements
each of these elements affects the interaction
input devices text entry and pointing
output devices screen (small&large), digital paper
virtual reality special interaction and display devices
physical interaction e.g. sound, haptic, bio-sensing
memory, processing,
networks
keyboard
mouse/trackpad
window 1
variations
desktop
laptop
PDA
window 2
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!!
in your pockets?
PC
PDA
phone, camera
cable/satellite TV
microwave, cooker, washing
machine
central heating
security system
magnetic strip?
electronic car key
USB memory
try your pockets 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
Richer interaction
sensors
and devices
everywhere
Keyboards
Most common text input device
Allows rapid entry of text by experienced users
Keypress closes connection, causing a character code to
be sent
Usually connected by cable, but can be wireless
layout QWERTY
Standardised layout
but
non-alphanumeric keys are placed differently
accented symbols needed for different scripts
minor differences between UK and USA keyboards
QWERTY
1
Q
3
W
A
Z
5
R
D
X
7
U
SPACE
9
I
J
M
0
O
L
,
Dvorak
common letters under dominant fingers
biased towards right hand
common combinations of letters alternate between hands
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
multiple presses
2abc
3-def
4-ghi
5-jkl
6-mno
7-pqrs
8-tuv
9-wxyz
hello = 4433555[pause]555666
surprisingly fast!
T9 predictive entry
type as if single key for each letter
use dictionary to guess the right word
hello = 43556
but 26 -> menu am or an
Handwriting recognition
Text can be input into the computer, using a pen and a
digesting tablet
natural interaction
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
Used in PDAs, and tablet computers
Speech recognition
Improving rapidly
Most successful when:
single user initial training and learns peculiarities
limited vocabulary systems
Problems with
external noise interfering
imprecision of pronunciation
large vocabularies
different speakers
Numeric keypads
for entering numbers quickly:
calculator, PC keyboard
for telephones
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
Mouse located on desktop
requires physical space
no arm fatigue
Optical
light emitting diode on underside of mouse
may use special grid-like pad or just on desk
Even by foot
some experiments with the footmouse
controlling mouse movement with feet
not very common :-)
Touchpad
small touch sensitive tablets
stroke to move mouse pointer
used mainly in laptop computers
slow stroke
less pixels per inch
for accurate positioning
Thumbwheels
for accurate CAD two dials for X-Y cursor position
for fast scrolling single dial on mouse
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
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
used on special surface
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
potential for hands-free control
high accuracy requires headset
cheaper and lower accuracy devices available
Cursor keys
Four keys (up, down, left, right) on keyboard.
DISPLAY DEVICES
bitmap screens (CRT & LCD)
large & situated displays
digital paper
bitmap displays
screen is vast number of coloured dots
Aspect ratio
ration between width and height
4:3 for most screens, 16:9 for wide-screen TV
Colour depth:
how many different colours for each pixel?
black/white or greys only
256 from a pallete
8 bits each for red/green/blue = millions of colours
Digital paper
what?
thin flexible sheets
updated electronically
but retain display
how?
small spheres turned
or channels with coloured liquid
and contrasting spheres
rapidly developing area
appearance
cross
section
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
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!!
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.
Fonts
Fonts
Pitch
fixed-pitch every character has the same width
e.g. Courier
variable-pitched some characters wider
Serif or Sans-serif
sans-serif square-ended strokes
e.g. Helvetica
serif with splayed ends (such as)
Readability of text
lowercase
easy to read shape of words
UPPERCASE
better for individual letters and non-words
e.g. flight numbers: BA793 vs. ba793
serif fonts
Scanners
Take paper and convert it into a bitmap
Two sorts of scanner
flat-bed: paper placed on a glass plate, whole page converted into bitmap
hand-held: scanner passed over paper, digitising strip typically 3-4 wide
Scanners
Used in
MEMORY
short term and long term
speed, capacity, compression
formats, access
information
Typical desktop computers:
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