




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Session 6BlobObjectivesThe student will correctly:Identify applications where a Blob tool may be part of a vision solutionCreate and configure a blob tool thatFinds blobs in a designated grey-level rangeFilters blobs based on given criteriaBlob OverviewBlob analysis is the detection and analysis of
2、two-dimensional shapes within an imageBlob finds objects by identifying groups of pixels that fall into a user-defined grey-scale rangeBlob reports many properties:AreaCenter of MassPerimeterPrincipal Axescenter of mass (CM)principal axes (PA)extremaCMPAextremaWhen to Use BlobBlob analysis is well-s
3、uited for applications where:Objects vary greatly in size, shape, and/or orientation (Difficult or impossible to train a model)Objects are of a distinct shade of grey not found in the backgroundObjects are not overlapping or touching Sample applications:Inspect for number, size, and shape of dispens
4、ed epoxy dotsInspect for correct position and size of ink dots indicating bad wafer diesInspect for fragmentation and size of pharmaceutical tabletsSort or classify objects according to their size, shape, or positionSegmentationThe first thing Blob does when it runs is image segmentation, determinin
5、g which pixels are blob pixels and which are background pixelsThere are several modes to specify what separates blob from background pixelsBlob pixelsBackground pixelsSegmentationMost segmentation modes will require:PolarityDark blobs on lightLight blobs on darkThresholdThe value(s) that separate bl
6、ob pixels from background pixels Fixed ThresholdingIn Fixed Thresholding, the division between blob pixels and background pixels is determined by grey values.Set a grey-level threshold:blobbackgroundgrey value threshold= 140pixelsgrey-values0255Relative ThresholdingRelative thresholds are expressed
7、as percentages of the total pixels between the left and right tailsTails represent noise-level pixels that lie at the extremes of the histogramImage:5% of pixels with5% of pixels withHistogram:lowest valueshighest valuesLeft tail pixel valueRight tail pixel valueThreshold pixel value40% ofUsing Rela
8、tive ThresholdsRelative thresholds adjust for linear lighting changesThreshold = 30Threshold = 100Threshold = 14040% of40% of40% ofFixed vs. Relative ThresholdingFixed grey-level thresholds do not modate linear lighting changes16080Pixelvalue200120Pixelvalue9010PixelvalueDark image:Average image:Lig
9、ht image:Threshold = 100Threshold = 100Threshold = 100Fixed vs. Relative ThresholdingFixed is faster than relative because the grey levels corresponding to the percentages do not have to be computedFixed thresholding can test for absence of a feature in a scene, whereas relative thresholding will al
10、ways find a blob in the scene0backgroundobject255grey level with weight 1.0left tailgrey level with weight 0right tailHard ThresholdingThe examples so far have all used Hard ThresholdingOne value (grey level or percentage) divides blob pixels from background pixelsApply threshold value =/p>
11、010080PixelvalueExamine a histogram to determine the threshold grey valueblobbackgroundgrey value thresholdHard ThresholdingSpecify single percentage & tailsThreshold dynamically chosen; good for images with bimodal distribution of grey valuesSpecify single grey valueSpatial Quantization ErrorOccurs
12、 with hard thresholding when the object falls differently on the pixel grid from image to imageMay result in erroneous results for blob size, perimeter, and locationError es more pronounced as the perimeter of the object increases Pixels in object = 64 Pixels in object = 81 Pixels in object = 44 Pix
13、els in object = 25Pixel WeightingSpatial Quantization Error can be eliminated by applying pixel weightingAs the blob moves relative to the pixel grid, the total weight remains the sameSoft ThresholdingCreate a pixel weighting scheme by using soft thresholdingSoft thresholding uses a range of thresho
14、ldsThresholding for dark object on light backgroundThresholding for light object on dark backgroundSoft ThresholdingSoft Thresholding exampleLow Threshold = 50HighThreshold = 65Softness = 301.00.250.500.7550556065Grey ValuesWeightingThresholdHigh ThresholdSoft ThresholdingUses grey values for thresh
15、oldsUses percentages for thresholds and tailsUsing a Subtraction ImageUse a Subtraction Image when the image consists of similar background and blob grey valuesThe threshold image contains only background informationEvery pixel in the image that differs from the corresponding pixel in the threshold
16、image by a specified amount is a blob pixelSubtraction ImageImage to SegmentSegmented ImagePixel MappingUse a pixel map (lookup table) for images that cannot be segmented with hard or soft binary thresholdsRequires a scaling factor which gets applied to the pixel map valuesPixel MappingSupply an out
17、put value for each grey valueConnectivity AnalysisAfter segmenting the image, Blob performs Connectivity AnalysisWhole Image blob analysis returns one result for all blob pixels in the imageGrey Scale analysis identifies discrete, connected blobsWhole Blob AnalysisGrey Scale AnalysisConnected-Blob A
18、nalysisObject pixels must be eight-connectedConnected vertically, horizontally, or diagonallyBackground pixels are four-connectedConnected vertically or horizontally onlyHow many blobs are in this Image?Applying Morphological FiltersFirst choose the filter(s) from the pull-down listOrder matters!To
19、reorder or delete an operation, use the buttons in the dialogPruning and FillingPruning ignores, but does not remove, features which are below a specified sizeFilling fills in pruned features with grey values from neighboring pixels on the leftHoles still exist,but are not reportedHoles are filled i
20、nRegionBy default, the blob analysis is done on the entire imageTo only detect blobs in a portion of the acquired image use a Region ShapeMay graphically position and size on the Input ImageMeasurementsAllows you to specify measurements calculated on each blobMeasurementsFor each selected measuremen
21、t, choose:GridRuntimeFilterMeasurementsUse Filter to exclude blobs outside a certain range for any propertyOr include only in a certain rangeMeasurementsResults may be sorted in order for any of the selected measurementsAscending or descending orderGraphicsChoose to display Result or Diagnostic graphicsRemember that graphics add timeResultsNIndex of the blobIDA unique blob identification number independent of sorting criter
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年X射线影像增强器项目发展计划
- 传统材料在现代文创产品设计中的价值挖掘
- 以客户体验为导向的银行业务发展
- 云环境下企业信息安全体系建设
- 一年级看图写话情境创设与范文
- 立德树人在社会工作中的实践心得体会
- 商业策划书撰写与市场分析
- 企业知产在并购中的价值评估
- 脑血管介入手术护理配合
- 多元化六年级数学教学计划设计
- 西南师大版四年级下册数学全册教案(2024年春季版)
- 汽车维修车间消防安全培训
- 第25课 等差数列的前n项和公式
- 幼儿园优质公开课:小班语言《小兔乖乖》课件
- 团章考试试题及答案
- 厂房、综合楼工程脚手架专项安全方案
- 企业服饰生产制造单模板
- 江苏旅游职业学院辅导员考试题库
- 张朋《了凡四训》课件
- 生药学全套课件
- 广东省五年一贯制语文考试题目
评论
0/150
提交评论