Relevant topics on |
Graph connectivity |
---|
In image processing, pixel connectivity is the way in which pixels in 2-dimensional (or hypervoxels in n-dimensional) images relate to their neighbors.
In order to specify a set of connectivities, the dimension N and the width of the neighborhood n, must be specified. The dimension of a neighborhood is valid for any dimension . A common width is 3, which means along each dimension, the central cell will be adjacent to 1 cell on either side for all dimensions.
Let represent a N-dimensional hypercubic neighborhood with size on each dimension of
Let represent a discrete vector in the first orthant from the center structuring element to a point on the boundary of . This implies that each element and that at least one component
Let represent a N-dimensional hypersphere with radius of .
Define the amount of elements on the hypersphere within the neighborhood as E. For a given , E will be equal to the amount of permutations of multiplied by the number of orthants.
Let represent the amount of elements in vector which take the value j.
The total number of permutation of can be represented by a multinomial as
If any , then the vector is shared in common between orthants. Because of this, the multiplying factor on the permutation must be adjusted from to be
Multiplying the number of amount of permutations by the adjusted amount of orthants yields,
Let V represent the number of elements inside of the hypersphere within the neighborhood . V will be equal to the number of elements on the hypersphere plus all of the elements on the inner shells. The shells must be ordered by increasing order of . Assume the ordered vectors are assigned a coefficient p representing its place in order. Then an ordered vector if all r are unique. Therefore V can be defined iteratively as
or
If some , then both vectors should be considered as the same p such that Note that each neighborhood will need to have the values from the next smallest neighborhood added. Ex.
V includes the center hypervoxel, which is not included in the connectivity. Subtracting 1 yields the neighborhood connectivity, G
Neighborhood Size: | Connectivity Type | Typical Vector: | Sphere Radius: d | Elements on Sphere: E | Elements in Sphere: V | Neighborhood Connectivity: G |
---|---|---|---|---|---|---|
1 | edge | (0) | √0 | 1 × 1 = 1 | 1 | 0 |
3 | point | (1) | √1 | 1 × 2 = 2 | 3 | 2 |
5 | point-point | (2) | √4 | 1 × 2 = 2 | 5 | 4 |
... | ||||||
1 × 1 | face | (0,0) | √0 | 1 × 1 = 1 | 1 | 0 |
3 × 3 | edge | (0,1) | √1 | 2 × 2 = 4 | 5 | 4 |
point | (1,1) | √2 | 1 × 4 = 4 | 9 | 8 | |
5 × 5 | edge-edge | (0,2) | √4 | 2 × 2 = 4 | 13 | 12 |
point-edge | (1,2) | √5 | 2 × 4 = 8 | 21 | 20 | |
point-point | (2,2) | √8 | 1 × 4 = 4 | 25 | 24 | |
... | ||||||
1 × 1 × 1 | volume | (0,0,0) | √0 | 1 × 1 = 1 | 1 | 0 |
3 × 3 × 3 | face | (0,0,1) | √1 | 3 × 2 = 6 | 7 | 6 |
edge | (0,1,1) | √2 | 3 × 4 = 12 | 19 | 18 | |
point | (1,1,1) | √3 | 1 × 8 = 8 | 27 | 26 | |
5 × 5 × 5 | face-face | (0,0,2) | √4 | 3 × 2 = 6 | 33 | 32 |
edge-face | (0,1,2) | √5 | 6 × 4 = 24 | 57 | 56 | |
point-face | (1,1,2) | √6 | 3 × 8 = 24 | 81 | 80 | |
edge-edge | (0,2,2) | √8 | 3 × 4 = 12 | 93 | 92 | |
point-edge | (1,2,2) | √9 | 3 × 8 = 24 | 117 | 116 | |
point-point | (2,2,2) | √12 | 1 × 8 = 8 | 125 | 124 | |
... | ||||||
1 × 1 × 1 × 1 | hypervolume | (0,0,0,0) | √0 | 1 × 1 = 1 | 1 | 0 |
3 × 3 × 3 × 3 | volume | (0,0,0,1) | √1 | 4 × 2 = 8 | 9 | 8 |
face | (0,0,1,1) | √2 | 6 × 4 = 24 | 33 | 32 | |
edge | (0,1,1,1) | √3 | 4 × 8 = 32 | 65 | 64 | |
point | (1,1,1,1) | √4 | 1 × 16 = 16 | 81 | 80 | |
... |
Consider solving for
In this scenario, since the vector is 3-dimensional. since there is one . Likewise, . since . . The neighborhood is and the hypersphere is
The basic in the neighborhood , . The Manhattan Distance between our vector and the basic vector is , so . Therefore,
Which matches the supplied table
The assumption that all are unique does not hold for higher values of k & N. Consider , and the vectors . Although is located in , the value for , whereas is in the smaller space but has an equivalent value . but has a higher value of than the minimum vector in .
For this assumption to hold,
At higher values of k & N, Values of d will become ambiguous. This means that specification of a given d could refer to multiple .
4-connected pixels are neighbors to every pixel that touches one of their edges. These pixels are connected horizontally and vertically. In terms of pixel coordinates, every pixel that has the coordinates
is connected to the pixel at .
6-connected pixels are neighbors to every pixel that touches one of their corners (which includes pixels that touch one of their edges) in a hexagonal grid or stretcher bond rectangular grid.
There are several ways to map hexagonal tiles to integer pixel coordinates. With one method, in addition to the 4-connected pixels, the two pixels at coordinates and are connected to the pixel at .
8-connected pixels are neighbors to every pixel that touches one of their edges or corners. These pixels are connected horizontally, vertically, and diagonally. In addition to 4-connected pixels, each pixel with coordinates is connected to the pixel at .
6-connected pixels are neighbors to every pixel that touches one of their faces. These pixels are connected along one of the primary axes. Each pixel with coordinates , , or is connected to the pixel at .
18-connected pixels are neighbors to every pixel that touches one of their faces or edges. These pixels are connected along either one or two of the primary axes. In addition to 6-connected pixels, each pixel with coordinates , , , , , or is connected to the pixel at .
26-connected pixels are neighbors to every pixel that touches one of their faces, edges, or corners. These pixels are connected along either one, two, or all three of the primary axes. In addition to 18-connected pixels, each pixel with coordinates , , , or is connected to the pixel at .
In mathematics, an ellipse is a plane curve surrounding two focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special type of ellipse in which the two focal points are the same. The elongation of an ellipse is measured by its eccentricity , a number ranging from to .
In physics, the Maxwell–Boltzmann distribution, or Maxwell(ian) distribution, is a particular probability distribution named after James Clerk Maxwell and Ludwig Boltzmann.
In mathematical physics and mathematics, the Pauli matrices are a set of three 2 × 2 complex matrices that are Hermitian, involutory and unitary. Usually indicated by the Greek letter sigma, they are occasionally denoted by tau when used in connection with isospin symmetries.
In vector calculus and differential geometry the generalized Stokes theorem, also called the Stokes–Cartan theorem, is a statement about the integration of differential forms on manifolds, which both simplifies and generalizes several theorems from vector calculus. In particular, the fundamental theorem of calculus is the special case where the manifold is a line segment, Green’s theorem and Stokes' theorem are the cases of a surface in or and the divergence theorem is the case of a volume in Hence, the theorem is sometimes referred to as the Fundamental Theorem of Multivariate Calculus.
In mathematics, an n-sphere or hypersphere is an -dimensional generalization of the -dimensional circle and -dimensional sphere to any non-negative integer . The -sphere is the setting for -dimensional spherical geometry.
In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. The algebra of quaternions is often denoted by H, or in blackboard bold by Quaternions are not a field, because multiplication of quaternions is not, in general, commutative. Quaternions provide a definition of the quotient of two vectors in a three-dimensional space. Quaternions are generally represented in the form
In mathematics, a quadric or quadric surface (quadric hypersurface in higher dimensions), is a generalization of conic sections (ellipses, parabolas, and hyperbolas). It is a hypersurface (of dimension D) in a (D + 1)-dimensional space, and it is defined as the zero set of an irreducible polynomial of degree two in D + 1 variables; for example, D = 1 in the case of conic sections. When the defining polynomial is not absolutely irreducible, the zero set is generally not considered a quadric, although it is often called a degenerate quadric or a reducible quadric.
In mechanics and geometry, the 3D rotation group, often denoted SO(3), is the group of all rotations about the origin of three-dimensional Euclidean space under the operation of composition.
Unit quaternions, known as versors, provide a convenient mathematical notation for representing spatial orientations and rotations of elements in three dimensional space. Specifically, they encode information about an axis-angle rotation about an arbitrary axis. Rotation and orientation quaternions have applications in computer graphics, computer vision, robotics, navigation, molecular dynamics, flight dynamics, orbital mechanics of satellites, and crystallographic texture analysis.
In physics and mathematics, the Lorentz group is the group of all Lorentz transformations of Minkowski spacetime, the classical and quantum setting for all (non-gravitational) physical phenomena. The Lorentz group is named for the Dutch physicist Hendrik Lorentz.
In vector calculus, Green's theorem relates a line integral around a simple closed curve C to a double integral over the plane region D bounded by C. It is the two-dimensional special case of Stokes' theorem.
In mathematics, the Hodge star operator or Hodge star is a linear map defined on the exterior algebra of a finite-dimensional oriented vector space endowed with a nondegenerate symmetric bilinear form. Applying the operator to an element of the algebra produces the Hodge dual of the element. This map was introduced by W. V. D. Hodge.
In mathematics, the Heisenberg group, named after Werner Heisenberg, is the group of 3×3 upper triangular matrices of the form
In physics, the reciprocal lattice emerges from the Fourier transform of another lattice. The direct lattice or real lattice is a periodic function in physical space, such as a crystal system. The reciprocal lattice exists in the mathematical space of spatial frequencies, known as reciprocal space or k space, which is the dual of physical space considered as a vector space, and the reciprocal lattice is the sublattice of that space that is dual to the direct lattice.
In mathematics, a norm is a function from a real or complex vector space to the non-negative real numbers that behaves in certain ways like the distance from the origin: it commutes with scaling, obeys a form of the triangle inequality, and is zero only at the origin. In particular, the Euclidean distance in an Euclidean space is defined by a norm on the associated Euclidean vector space, called the Euclidean norm, the 2-norm, or, sometimes, the magnitude of the vector. This norm can be defined as the square root of the inner product of a vector with itself.
In differential geometry, the four-gradient is the four-vector analogue of the gradient from vector calculus.
In directional statistics, the von Mises–Fisher distribution, is a probability distribution on the -sphere in . If the distribution reduces to the von Mises distribution on the circle.
In the geometry of numbers, the Klein polyhedron, named after Felix Klein, is used to generalize the concept of continued fractions to higher dimensions.
In pure and applied mathematics, quantum mechanics and computer graphics, a tensor operator generalizes the notion of operators which are scalars and vectors. A special class of these are spherical tensor operators which apply the notion of the spherical basis and spherical harmonics. The spherical basis closely relates to the description of angular momentum in quantum mechanics and spherical harmonic functions. The coordinate-free generalization of a tensor operator is known as a representation operator.
The Pomeranchuk instability is an instability in the shape of the Fermi surface of a material with interacting fermions, causing Landau’s Fermi liquid theory to break down. It occurs when a Landau parameter in Fermi liquid theory has a sufficiently negative value, causing deformations of the Fermi surface to be energetically favourable. It is named after the Soviet physicist Isaak Pomeranchuk.