当前位置:
文档之家› 生物生产机器人-Practice
生物生产机器人-Practice
Equivalent circle diameter
……..
Shape analysis
Complexity (perimeter X perimeter/ S) Circularity factor (4πS/(perimeter X perimeter)) Occupancy (S /(Max length X Breadth)) Ratio of Max length/Breadth + Your original feature ………….
Diameter of Area S circle
Area: S Feret’s diameter
Area S Original figure
Perimeter
Maximum length
Breadth
Area S Circle
Equivalent circle diameter (2 √S / π)
R-B
G-B
Calculation among images
1 0 -1 1 0 -1 1 0 -1
Gradient
abc def ghi |(c+2f+i)-(a+2d+g) |+ |(g+2h+i)-(a+2b+c)| Sobel Edge detection operators
ab cd |d–a|+|b–c|
Image Processing Practice
1. Color analysis (Graph) 2. Size measurement 3. Shape analysis (Graph) 4. Defect detection (Option)
Color analysis
1. RGB value
+ Discussions
1 2 3 4 5 6 7 8 9 10
Your grading result (your own judgement)
Objects for defects (Option)
Choose 1 tomato fruit and Defect detection.
R
G
B
R-G
Roberts
-1 -1 -1 -1 8 -1 -1 -1 -1 Laplacian
Option (Assignment 3: Show defect detection result
(Binary image) with original image.)
Submit today’s assignments by tomorrow morning.
Save your report file with your name and number. Submit a hard copy made by MS word including the graphs, tomato images and discussions after printing by tomorrow’s lecture.
520 530 540 550 560 570 580 590
Simple calculation
x=R/(R+G+B) y=G/(R+G+B)
700-780
380-410
HSI models
I (V,L)
H S
Assignment 1: Make graphs of Chromaticity and HSI
+ Discussions
Y (g)
Put fruit number
+5 3 ++ 4+ 2+ 1
Put fruit number
S
+1
2 + ++ 3
+4
5
x (r)
H
Objects for shape
Choose 10 tomato fruits and make graphs.
Size measurement
2. Chromaticity (simplified) (R/(R+G+B), G/(R+G+B))
3. HSI Hue, Saturation, Intensity
Objects for color
Choose 8 tomato fruits and make graphs.
Chromaticity
E-mail address: kondonao@kais.kyoto-u.ac.jp
Area S
Fy
Fx
Feret’s diameters
Breadth
Maximum length
Occupancy
Feature value
Assignment 2: Make graphs of shape analysis by at least three features (Hopefully create your original feature)