英语翻译(b) If the spheres are allowed to touch in arbitrary ways,awaymust be found to separate them because they could create “pockets” of blackpoints surrounded by all white or surrounded by all white and part of theboundary of the image.Th
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/01 08:09:10
英语翻译(b) If the spheres are allowed to touch in arbitrary ways,awaymust be found to separate them because they could create “pockets” of blackpoints surrounded by all white or surrounded by all white and part of theboundary of the image.Th
英语翻译
(b) If the spheres are allowed to touch in arbitrary ways,a
waymust be found to separate them because they could create “pockets” of black
points surrounded by all white or surrounded by all white and part of the
boundary of the image.
The simplest approach is to separate the spheres by preprocessing.One way
to do this is to erode the white components of the image by one pass of a 3×3 structuring element,effectively creating a black
border around the spheres,thus “separating” them.This approach works in this
case because the objects are spherical,which implies that they have small
areas of contact.To handle the case of spheres touching the border of the
image,we simply set all border point to black.We then proceed to find all
background points To do this,we pick a point on the boundary of the image
(which we know is black due to preprocessing) and find all black points
connected to it using a connected component algorithm (Section 9.5.3).These
connected components are labels with a value different from1 or 0.The
remaining black points are interior to the spheres.We can fill all spheres
with white by applying the hole filling algorithm in Section 9.5.2 until all
such interior black points have been turned into white points.
The alert student will realize that if the interior points are already
known,they can all be turned simply into white points thus filling the spheres
without having to do region filling as a separate procedure.Note that the
erosion of white areas makes the black areas interior to the spheres grow,so
the possibility exists that such an area near the border of a sphere could grow
into the background.This
issue introduces further complications that the student may not have the
tools to solve yet.We recommend making the assumption that the interior black
areas are small and near the center.Recognition of the potential problem by
the student should be sufficient in the context of this problem.
英语翻译(b) If the spheres are allowed to touch in arbitrary ways,awaymust be found to separate them because they could create “pockets” of blackpoints surrounded by all white or surrounded by all white and part of theboundary of the image.Th
如果假设可以从任意角度接触这些球面,这个角度必须能把这些球面分离,因为如此一来,这些球面便可形成黑点聚集的袋状,四周留白或四周留白并围绕着图像边缘.
分离球面最简单的方法是预先处理.也就是我们事先要去除图像中3x3大小的白色区域,在球面边缘便会形成一个黑色的边界线,从而把球面分离.这个方法在该题中是可行的,因为这些物体都是球状的,也就是说它们接触面积较小.解决此类球面接触图像边缘的问题,我们可以简单地把所有的边界点设为黑色.
接着便着手寻找所有的背景点.为此,首先在图像边缘任意选一个点(已知该点经事先处理为黑点)并运用相邻元素方法选定所有连接此点的黑点(见章节9.5.3),在这些连接的元素上均标记0或1不等的数值.剩下未标记的就是球面以内的黑点.我们运用空洞填充算法把球面填充白色直至球面内所有的黑点变成白点(见章节9.5.2).如果球面内的点都是已知的,留心观察的同学也就会发现这些点可以很简单的转化成白点,因而就可不必另外做区域填充这个步骤,直接填充球面便可.
注意:去除白色区域会使球面黑色区域扩大,以至于黑色区域接近球面边缘的区域可能会扩大延伸至背景区.这一可能性的存在会使得问题变得更加复杂,同学们也可能至今还束手无策.我们建议采用假定的方式,假设内部黑色所占为小部分区域并接近中心.相信如果同学意识到了该假设包含的潜在条件,那么解答这个问题便会变得游刃有余了.
楼主要记得给分哦!
楼主楼主额
这里面的所有单词我都认识,还是翻译不出来,你这是哪方面的专业文章啊