Professional Documents
Culture Documents
Objectives: - The Student Will Correctly Identify The
Objectives: - The Student Will Correctly Identify The
Blobs
Session 3
Objectives
1
9/15/2011
Blobs
• Blob tools play an important role in machine
vision.
• Blob analysis in In-Sight classifies pixels into blob
pixels or background pixels.
• All connected blob pixels are part of an individual
blob.
• The rest are considered the background.
• This strategy helps when you need to:
• Find features that cannot be traditionally
trained and found using correlation or
geometric model search (parts that
change dramatically)
• Speed up identification, location, or
sorting features when model training and
finding take too long
• There are three Blob tools available in the In-Sight
product:
• ExtractBlobs
• SortBlobs
• FindBlobs
3
ExtractBlobs
• ExtractBlobs is the primary Blob vision tool in In-Sight.
• It has a dual role:
• It can count the number of blobs.
2
9/15/2011
*Setting “Number to Sort” to 0 only counts the number of blobs in the region. No other
blob results are reported.
**Setting “Threshold” to -1 performs automatic threshold. 5
3
9/15/2011
SortBlobs
• SortBlobs allows the customized sorting of blobs already
extracted
0 3 4 1 2
5
6 8 10 11 7 9
X 13 12 15
14 16 17
19 21 22 23 18 20
4
9/15/2011
3 7 11 15 19 23
2 6 10 14 18 22
X 1 17 21
5 9 13
0 4 8 12 16 20
9 16 19 21 22 23
3 6 12 14 18 20
X 1 15 17
4 8 10
0 2 5 7 11 13
10
5
9/15/2011
9 16 19 21 22 23
3 6 12 14 18 20
X 1 15 17
4 8 10
0 2 5 7 11 13
11
17 20 23 19 16
22
13 15 21 18 14 12
Y
11 8 3 9 10
2
7 4 1 0 5 6
X 12
6
9/15/2011
0 1 5 8 15 19
2 3 7 12 16 20
X 4 16 22
6 10 13
9 11 14 17 21 23
13
0 1 2 3 4 5
6 7 8 9 10 11
X 12 16 17
13 14 15
18 19 20 21 22 23
14
7
9/15/2011
0 4 8 12 16 20
1 5 9 13 17 21
X 2 18 22
6 10 14
3 7 11 15 19 23
15
SortBlobs Results
• Sort Blobs referencing an ExtractBlob structure
16
8
9/15/2011
17
FindBlobs: Setting It Up
1. Select a blob structure to analyze
2 Set number to find
2.
3. Set results nominal value
a) ideal value the blob must possess
4. Set value range
a) +/- range of the nominal value
5. Set the weight
a) how important this value is
6. Review results focusing on accuracy and score
7. Set “Accept Thresh” value appropriately
18
9
9/15/2011
19
FindBlobs
Blobs are then found by
limiting search parameters
(Too Large)
20
10
9/15/2011
Summary
• There are three blob vision tools:
• ExtractBlobs is used to pull out all blobs present and
sort them from largest to smallest area
• SortBlobs is used to sort based on position in ROI
• FindBlobs is used to pick out blobs matching specific
criteria from the remaining blob output parameters
• Nominal values, ranges, and weights are used to score blobs
b d on how
based h wellll th
they match
t h ddesired
i d criteria
it i
22
11