Professional Documents
Culture Documents
Basic Concepts: FOOD, U. Copenhagen, Denmark. WWW - Models.life - Ku.dk
Basic Concepts: FOOD, U. Copenhagen, Denmark. WWW - Models.life - Ku.dk
Introduction
Basic concepts
IMAGES
1
19/11/2017
Images
Image Definition
Images
Images
Images are spatial (bi-dimensional) representations of an action or objects
6 7 8 7 6
7 8.5 9 8.5 7
8 9 10 9 8
7 8.5 9 8.5 7
6 7 8 7 6
2
19/11/2017
Images
Images
Images are spatial (bi-dimensional) representations of an action or objects
Spatial Resolution
=
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
Images
3
19/11/2017
Images
Images
4
19/11/2017
Images
RGB Images
5
19/11/2017
6
19/11/2017
magenta
Green
Red yellow
GRAYSCALE
7
19/11/2017
magenta
Green
Red yellow
FALSE COLOR PICTURES
RED GREEN BLUE
Color = Intensity
8 bites pictures 28 levels per channel 256 levels 2563 = 16777216 colors
16 bites pictures 216 levels per channel 65536 levels 655363 colors
8
19/11/2017
*Source: Wikipedia
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
*Source: Wikipedia
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
9
19/11/2017
What is JPEG:
*Source: Wikipedia
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
Some examples
Digital cameras
High spatial resolution
Problems with focal distance
Problems with illumination
Flat-bed scanners
High spatial resolution
Fixed focal distance
Fixed light source (tunable)
10
19/11/2017
C1 = R – G
C2 = R – B
C3 = G – B
Steak_example.m
Sevilla_flower_example.m
MULTISPECTRAL IMAGING
11
19/11/2017
Multispectral images
Multispectral images
Non-continuous spectrum
200
Specific spectral channels
Intensity (a.u.)
150
100
50
500 600 700 800 900
Wavelengths (nm.)
Multispectral images
Multispectral technologies
Filter-based signals
Attenuation
Bandwidth
From UV to NIR
Illumination issues
12
19/11/2017
Multispectral images
Multispectral technologies
Filter-based signals
Attenuation
Bandwidth
Illumination issues
Multispectral images
Multispectral technologies
13
19/11/2017
Multispectral images
They are basically Hyperspectral Images, so they can be treated as such, with
several constraints in the spectral pre-processing
Multispectral images
14
19/11/2017
Multispectral images
Multispectral images
15
19/11/2017
Hyperspectral Imaging
API
Lactose
Lubricants
Hyperspectral Imaging
Single spectrum for each x,y dimension
0.4
0.3
Absorbance
0.2
0.1
Types of radiations
0
-0.1
7000 6000 5000 4000
Wavenumber
y axis, N pixels
Types of Measurements
x axis, M pixels
16
19/11/2017
Hyperspectral Imaging
Hyperspectral Imaging
interferometer
interferometer
interferometer λ
lamp
Y
X
Difuse
Difuse
Difuse
reflectance
reflectance
reflectance
White light
sample
17
19/11/2017
Hyperspectral Imaging
y y y y
Dispersing
Dispersing Dispersing
Dispersing λ
filterfilterfilterfilter
λ λ λ λ lamp
Y
X
slit slit slit slit
White light
Difuse
reflectance
sample
Hyperspectral Imaging
Optics
lamp Y
x
Bandpass Filter (TF)
Difuse reflectance
White light
sample
18
19/11/2017
Hyperspectral Imaging
Monochromator I
Sample
R
Source Detector I0
1 I ac
log log 0
R I s
I
T
I0
1 I
A log log 0 a b c
T I
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
Hyperspectral Imaging
Contrast
19
19/11/2017
Hyperspectral Imaging
Hyperspectral Imaging
Some issues
35% 28%
32% 42%
32% 28%
*Extracted from Image Analysis of Food Microstructure. John C. Russ. CRC PRESS. New York. 2005
20
19/11/2017
Hyperspectral Imaging
Some issues
APPLICATIONS
(some)
21
19/11/2017
Some applications
MIR
Remote sensing
Forensics NIR NMR
Sorting Vis-NIR? Terahertz
Raman
Quantitation
Resolution
Etc, etc, etc... Classification
Some applications
REAL-TIME
CONTROL
OF QUALITY
22
19/11/2017
Some applications
GOO
D
Quality
BAD
Time or potatoe
Some applications
1) Data acquisition
Calibration
3) Classification model (maybe PLS-DA) Internal validation
Prediction
23
19/11/2017
Some applications
1) Data acquisition
CHEMOMETRICS
3) Classification model (maybe PLS-DA)
Calibration
Internal validation
Prediction
Some applications
FOOD, U. Copenhagen, Denmark. www.models.life.ku.dk www.hypertools.org jmar@life.ku.dk
24
19/11/2017
Some applications
REAL-TIME
CONTROL OF
QUALITY
Some applications
Plastic sorting
- automated / robotic sorting units
- new hyperspectral sensor systems
- waste management systems
- generic tool for product designers to optimize the
end-of-life product.
25
19/11/2017
Some applications
Plastic sorting
Global model
Flame retardants
Some applications
Plastic sorting
False color image of the samples Identification of the samples
ABS PA6 PP PP
0.15 REF 2.02 2.02
100
PBT PBT ABS PBT
0.10 REF 0.2 0.1
200
ABS PS PP PS
0.15 0.9 REF REF
300
ABS ABS PS PA6
REF REF 0.9 REF
400
PA6 PS PP ABS
0.10 0.0 REF 0.10
500
PS PBT PS PS
0.7 REF 0.7 REF
600
50 100 150 200
26
19/11/2017
Some applications
Plastic sorting
Some applications
27
19/11/2017
Some applications
Some applications
Pharmaceutical production
28
19/11/2017
Some applications
Pharmaceutical production
Some applications
Pharmaceutical production
29
19/11/2017
Some applications
Pharmaceutical production
Some applications
Forensics
30
19/11/2017
Some applications
Forensics
Some applications
Forensics
31
19/11/2017
Some applications
Food production
Some applications
50
2
100
150
1
200
250 0
300
-1
32
19/11/2017
Some applications
CLASS 3 – CLASS 4
Some applications
CALIBRATION VALIDATION
class 1: Specificity = 0.99; Sensitivity = 0.99; Precision = 0.99 class 1: Specificity = 1; Sensitivity = 1; Precision = 1
class 2: Specificity = 0.99; Sensitivity = 0.99; Precision = 0.99 class 2: Specificity = 1; Sensitivity = 1; Precision = 1
33
19/11/2017
Some applications
Arabica Robusta
AS tr. set
RS tr. set
Some applications
Confocal microscopy
34
19/11/2017
Some applications
Confocal microscopy
Some applications
35
19/11/2017
Some applications
Post-harvesting
Some applications
MIR
Remote sensing
Forensics NIR NMR
It is extremely difficult to define a general Vis-NIR?
frameworkTerahertz
on
Sorting
hyperspectral image analysis.
Raman
It is strongly dependent on the application:
Quantitation
Resolution
Etc, etc, etc... Classification
36
19/11/2017
Some applications
MIR
Remote sensing
Forensics NIR NMR
Sorting Vis-NIR? Terahertz
Raman
Quantitation
Resolution
Etc, etc, etc... Classification
Some applications
MIR
Remote sensing
Forensics NIR NMR
Sorting Vis-NIR? Terahertz
Quantitation
Resolution
Etc, etc, etc... Classification
37