Binary Image Proc- week 2.ppt
《Binary Image Proc- week 2.ppt》由会员分享,可在线阅读,更多相关《Binary Image Proc- week 2.ppt(45页珍藏版)》请在麦多课文档分享上搜索。
1、Stockman CSE803 Fall 2008,1,Binary Image Proc: week 2,Getting a binary image Connected components extraction Morphological filtering Extracting numerical features from regions,Stockman CSE803 Fall 2008,2,Quick look at thresholding,Separate objects from background. 2 class or many class problem? How
2、to do it? Discuss methods later.,Stockman CSE803 Fall 2008,3,Cherry image shows 3 regions,Background is black Healthy cherry is bright Bruise is medium dark Histogram shows two cherry regions (black background has been removed),Use this gray value to separate,Stockman CSE803 Fall 2008,4,Choosing a t
3、hreshold,Common to find the deepest valley between two modes of bimodal histogram Or, can level-slice using the intensities values a and b that bracket the mode of the desired objects Can fit two or more Gaussian curves to the histogram Can do optimization on above (Ohta et al),Stockman CSE803 Fall
4、2008,5,Connected components,Assume thresholding obtained binary image Aggregate pixels of each object 2 different program controls Different uses of data structures Related to paint/search algs Compute features from each object region,Stockman CSE803 Fall 2008,6,Notes on Binary Image Proc,Connected
5、Components Algorithms Separate objects from background Aggregate pixels for each object Compute features for each object Different ways of program control Different uses of data structures Related to paint/search algs,Stockman CSE803 Fall 2008,7,Example red blood cell image,Many blood cells are sepa
6、rate objects Many touch bad! Salt and pepper noise from thresholding How useable is this data?,Stockman CSE803 Fall 2008,8,Cleaning up thresholding results,Can delete object pixels on boundary to better separate parts. Can fill small holes Can delete tiny objects (last 2 are “salt-and-pepper” noise)
7、,Stockman CSE803 Fall 2008,9,Removing salt-and-pepper,Change pixels all of whose neighbors are different (coercion!): see hole filled at right Delete objects that are tiny relative to targets: see some islands removed at right,Stockman CSE803 Fall 2008,10,Simple morphological cleanup,Can be done jus
8、t after thresholding- remove salt and pepper Can be done after connected components are extracted- discard regions that are too small or too large to be the target,Stockman CSE803 Fall 2008,11,CC analysis of red blood cells,63 separate objects detected Single cells have area about 50 Noise spots Gob
9、s of cells,Stockman CSE803 Fall 2008,12,More control of imaging,More uniform objects More uniform background Thresholding works Objects actually separated,Stockman CSE803 Fall 2008,13,Results of “pacmen” analysis,15 objects detected Location known Area known 3 distinct clusters of 5 values of area;
10、85, 145, 293,Stockman CSE803 Fall 2008,14,Results of “coloring” objects,Each object is a connected set of pixels Object label is “color” How is this done?,Stockman CSE803 Fall 2008,15,Extracting components: Alg A,Collect connected foreground pixels into separate objects label pixels with same color
11、A) collect by “random access” of pixels using “paint” or “fill” algorithm,Stockman CSE803 Fall 2008,16,paint/fill algorithm,Obj region must be bounded by background Start at any pixel r,c inside obj Recursively color neighbors,Stockman CSE803 Fall 2008,17,Events of paint/fill algorithm,PP denotes “p
12、rocessing point” If PP outside image, return to prior PP If PP already labeled, return to prior PP If PP is backgr. pixel, return to prior PP If PP is unlabeled obj pixel, then1) label PP with current color code2) recursively label neighbors N1, , N8(or N1, , N4),Stockman CSE803 Fall 2008,18,Recursi
13、ve Paint/Fill Alg: 1 region,Color closed boundary with L Choose pixel r,c inside boundary Call FILL,FILL ( I, r, c, L)If r,c is out, returnIf Ir,c = L, returnIr,c L / color itFor all neighbors rn,cnFILL(I, rn, cn, L),Stockman CSE803 Fall 2008,19,Connected components using recursive Paint/Fill,Raster
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BINARYIMAGEPROCWEEK2PPT
