<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=86.17.134.115</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=86.17.134.115"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/86.17.134.115"/>
	<updated>2026-07-15T06:39:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=V-Cube_7&amp;diff=22488</id>
		<title>V-Cube 7</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=V-Cube_7&amp;diff=22488"/>
		<updated>2014-01-22T16:09:12Z</updated>

		<summary type="html">&lt;p&gt;86.17.134.115: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[File:Giunzioni e endpoint.png|thumb|Binarization hit-or-miss transform and branch points and end points detection]] --&amp;gt;&lt;br /&gt;
In [[mathematical morphology]], &#039;&#039;&#039;hit-or-miss transform&#039;&#039;&#039; is an operation that detects a given configuration (or pattern) in a [[binary image]], using the morphological [[erosion (morphology)|erosion]] operator and a pair of [[Disjoint sets|disjoint]] [[structuring element]]s. The result of the hit-or-miss transform is the set of positions, where the first [[structuring element]] fits in the foreground of the input image, and the second structuring element misses it completely.&lt;br /&gt;
&lt;br /&gt;
== Mathematical definition ==&lt;br /&gt;
&lt;br /&gt;
In binary morphology, an image is viewed as a [[subset]] of an [[Euclidean space]] &amp;lt;math&amp;gt;\mathbb{R}^d&amp;lt;/math&amp;gt; or the integer grid &amp;lt;math&amp;gt;\mathbb{Z}^d&amp;lt;/math&amp;gt;, for some dimension &#039;&#039;d&#039;&#039;. Let us denote this space or grid by &#039;&#039;E&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
A structuring element is a simple, pre-defined shape, represented as a binary image, used to probe another binary image, in morphological operations such as [[erosion (morphology)|erosion]], [[dilation (morphology)|dilation]], [[opening (morphology)|opening]], and [[closing (morphology)|closing]].&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt; be two structuring elements satisfying &amp;lt;math&amp;gt;C\cap D=\emptyset&amp;lt;/math&amp;gt;. The pair (&#039;&#039;C&#039;&#039;,&#039;&#039;D&#039;&#039;) is sometimes called &#039;&#039;composite structuring element&#039;&#039;. The hit-or-miss transform of a given image &#039;&#039;A&#039;&#039; by &#039;&#039;B&#039;&#039;=(&#039;&#039;C&#039;&#039;,&#039;&#039;D&#039;&#039;) is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;A\odot B=(A\ominus C)\cap(A^c\ominus D)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A^c&amp;lt;/math&amp;gt; is the [[set complement]] of &#039;&#039;A&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
That is, a point &#039;&#039;x&#039;&#039; in &#039;&#039;E&#039;&#039; belongs to the hit-or-miss transform output if &#039;&#039;C&#039;&#039; translated to &#039;&#039;x&#039;&#039; fits in &#039;&#039;A&#039;&#039;, and &#039;&#039;D&#039;&#039; translated to &#039;&#039;x&#039;&#039; misses &#039;&#039;A&#039;&#039; (fits the background of &#039;&#039;A&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Some applications ==&lt;br /&gt;
&lt;br /&gt;
===Thinning===&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;E=Z^2&amp;lt;/math&amp;gt;, and consider the eight composite structuring elements, composed by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;C_1=\{(0,0),(-1,-1),(0,-1),(1,-1)\}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D_1=\{(-1,1),(0,1),(1,1)\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
:&amp;lt;math&amp;gt;C_2=\{(-1,0),(0,0),(-1,-1),(0,-1)\}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D_2=\{(0,1),(1,1),(1,0)\}&amp;lt;/math&amp;gt;&lt;br /&gt;
and the three rotations of each by &amp;lt;math&amp;gt;90^o&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;180^o&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;270^o&amp;lt;/math&amp;gt;. The corresponding composite structuring elements are denoted &amp;lt;math&amp;gt;B_1,\ldots,B_8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For any &#039;&#039;i&#039;&#039; between 1 and 8, and any binary image &#039;&#039;X&#039;&#039;, define&lt;br /&gt;
::&amp;lt;math&amp;gt;X\otimes B_i=X\setminus (X\odot B_i)&amp;lt;/math&amp;gt;,&lt;br /&gt;
where &amp;lt;math&amp;gt;\setminus&amp;lt;/math&amp;gt; denotes the [[set minus|set-theoretical difference]].&lt;br /&gt;
&lt;br /&gt;
The thinning of an image &#039;&#039;A&#039;&#039; is obtained by cyclically iterating until convergence:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A\otimes B_1\otimes B_2\otimes\ldots\otimes B_8\otimes B_1\otimes B_2\otimes\ldots&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Other applications===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;[[Pattern detection]]&#039;&#039;&#039;. By definition, the hit-or-miss transform indicates the positions where a certain pattern (characterized by the composite structuring element &#039;&#039;B&#039;&#039;) occurs in the input image.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;[[Pruning (morphology)|Pruning]]&#039;&#039;&#039;. The hit-or-miss transform can be used to identify the end-points of a line to allow this line to be shrunk from each end to remove unwanted branches.&lt;br /&gt;
&lt;br /&gt;
* Computing the &#039;&#039;&#039;[[Euler number (topology)|Euler number]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Bibliography==&lt;br /&gt;
* &#039;&#039;An Introduction to Morphological Image Processing&#039;&#039; by Edward R. Dougherty, ISBN 0-8194-0845-X (1992)&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematical morphology]]&lt;br /&gt;
[[Category:Digital geometry]]&lt;/div&gt;</summary>
		<author><name>86.17.134.115</name></author>
	</entry>
</feed>