In mathematics, near sets are either spatially close or descriptively close. Spatially close sets have nonempty intersection. In other words, spatially close sets are not disjoint sets, since they always have at least one element in common. Descriptively close sets contain elements that have matching descriptions. Such sets can be either disjoint or non-disjoint sets. Spatially near sets are also descriptively near sets.
The underlying assumption with descriptively close sets is that such sets contain elements that have location and measurable features such as colour and frequency of occurrence. The description of the element of a set is defined by a feature vector. Comparison of feature vectors provides a basis for measuring the closeness of descriptively near sets. Near set theory provides a formal basis for the observation, comparison, and classification of elements in sets based on their closeness, either spatially or descriptively. Near sets offer a framework for solving problems based on human perception that arise in areas such as image processing, computer vision as well as engineering and science problems.
Near sets have a variety of applications in areas such as topology, pattern detection and classification, abstract algebra, mathematics in computer science, and solving a variety of problems based on human perception that arise in areas such as image analysis, image processing, face recognition, ethology, as well as engineering and science problems. From the beginning, descriptively near sets have proved to be useful in applications of topology, and visual pattern recognition, spanning a broad spectrum of applications that include camouflage detection, micropaleontology, handwriting forgery detection, biomedical image analysis, content-based image retrieval, population dynamics, quotient topology, textile design, visual merchandising, and topological psychology.
As an illustration of the degree of descriptive nearness between two sets, consider an example of the Henry colour model for varying degrees of nearnessbetween sets of picture elements in pictures (see, e.g., §4.3). The two pairs of ovals in Fig. 1 and Fig. 2 contain coloured segments. Each segment in the figures corresponds to an equivalence class where all pixels in the class have similar descriptions, i.e., picture elements with similar colours. The ovals in Fig.1 are closer to each other descriptively than the ovals in Fig. 2.
It has been observed that the simple concept of nearness unifies various concepts of topological structures inasmuch as the category Near of all nearness spaces and nearness preserving maps contains categories sTop (symmetric topological spaces and continuous maps), Prox (proximity spaces and
\delta
\boldsymbol{\varepsilon{ANear}}
\boldsymbol{\varepsilon{AMer}}
\boldsymbol{sTop}
\boldsymbol{Metinfty}
\boldsymbol{A}\hookrightarrow\boldsymbol{B}
\boldsymbol{A}
\boldsymbol{B}
\boldsymbol{\varepsilonAMer}
\boldsymbol{\varepsilonANear}
\boldsymbol{\varepsilon{ANear}}
\varepsilon
\boldsymbol{\varepsilonAMer}
\varepsilon
Among these familiar categories is
\boldsymbol{sTop}
\boldsymbol{Top}
\boldsymbol{Metinfty
\boldsymbol{\varepsilonAP}
\varepsilon
\rhoX,\rhoY
X,Y
f:(X,\rhoX)\longrightarrow(Y,\rhoY)
f:(X,\nu | |||||
|
)\longrightarrow(Y,\nu | |||||
|
)
A,B\in2X
D\rho:2X x 2X\longrightarrow[0,infty]
D\rho(A,B)=\begin{cases} inf{\{\rho(a,b):a\inA,b\inB\}},&ifAandBarenotempty,\ infty,&ifAorBisempty.\end{cases}
Thus
\boldsymbol{\varepsilon}
\boldsymbol{\varepsilon{ANear}}
F:\boldsymbol{\varepsilon{AP}}\longrightarrow\boldsymbol{\varepsilon{ANear}}
F((X,\rho))=(X,\nu | |
D\rho |
)
F(f)=f
f:(X,\rhoX)\longrightarrow(Y,\rhoY)
f:(X,\nu | |||||
|
)\longrightarrow(Y,\nu | |||||
|
)
\boldsymbol{\varepsilon{AP}}
\boldsymbol{\varepsilon{ANear}}
F:\boldsymbol{\varepsilon{AP}}\longrightarrow\boldsymbol{\varepsilon{ANear}}
F((X,\rho))=(X,\nu | |
D\rho |
)
F(f)=f.
\boldsymbol{Metinfty}
\boldsymbol{\varepsilon{AP}}
\boldsymbol{\varepsilon{ANear}}
\boldsymbol{Metinfty}
\boldsymbol{\varepsilon{ANear}}
The notions of near and far in mathematics can be traced back to works by Johann Benedict Listing and Felix Hausdorff. The related notions of resemblance and similarity can be traced back to J.H. Poincaré, who introduced sets of similar sensations (nascent tolerance classes) to represent the results of G.T. Fechner's sensation sensitivity experiments and a framework for the study of resemblance in representative spaces as models of what he termed physical continua. The elements of a physical continuum (pc) are sets of sensations. The notion of a pc and various representative spaces (tactile, visual, motor spaces) were introduced by Poincaré in an 1894 article on the mathematical continuum, an 1895 article on space and geometry and a compendious 1902 book on science and hypothesis followed by a number of elaborations, e.g.,. The 1893 and 1895 articles on continua (Pt. 1, ch. II) as well as representative spaces and geometry (Pt. 2, ch IV) are included as chapters in. Later, F. Riesz introduced the concept of proximity or nearness of pairs of sets at the International Congress of Mathematicians (ICM) in 1908.
During the 1960s, E.C. Zeeman introduced tolerance spaces in modelling visual perception. A.B. Sossinsky observed in 1986 that the main idea underlying tolerance space theory comes from Poincaré, especially. In 2002, Z. Pawlak and J. Peters considered an informal approach to the perception of the nearness of physical objects such as snowflakes that was not limited to spatial nearness. In 2006, a formal approach to the descriptive nearness of objects was considered by J. Peters, A. Skowron and J. Stepaniuk in the context of proximity spaces. In 2007, descriptively near sets were introduced by J. Peters followed by the introduction of tolerance near sets. Recently, the study of descriptively near sets has led to algebraic, topological and proximity space foundations of such sets.
The adjective near in the context of near sets is used to denote the fact that observed feature value differences of distinct objects are small enough to beconsidered indistinguishable, i.e., within some tolerance.
The exact idea of closeness or 'resemblance' or of 'being within tolerance' is universal enough to appear, quite naturally, in almost any mathematical setting(see, e.g.,). It is especially natural in mathematical applications: practical problems, more often than not, deal with approximate input data and only require viable results with a tolerable level of error.
The words near and far are used in daily life and it was an incisive suggestion of F. Riesz that these intuitive concepts be made rigorous. He introduced the concept of nearness of pairs of sets at the ICM in Rome in 1908. This concept is useful in simplifying teaching calculus and advanced calculus. For example, the passage from an intuitive definition of continuity of a function at a point to its rigorous epsilon-delta definition is sometime difficult for teachers to explain and for students to understand. Intuitively, continuity can be explained using nearness language, i.e., a function
f:R → R
c
\{x\}
c
\{f(x)\}
f(c)
From a spatial point of view, nearness (a.k.a. proximity) is considered a generalization of set intersection. For disjoint sets, a form of nearness set intersection is defined in terms of a set of objects (extracted from disjoint sets) that have similar features within sometolerance (see, e.g., §3 in). For example, the ovals in Fig. 1 are considered near each other, since these ovals contain pairs of classes that display similar (visually indistinguishable) colours.
Let
X
2X
X
2X
X
There are many ways to define Efremovič proximities on topological spaces (discrete proximity, standard proximity, metric proximity, Čech proximity, Alexandroff proximity, and Freudenthal proximity), For details, see § 2, pp. 93–94 in.The focus here is on standard proximity on a topological space. For
A,B\subsetX
A
B
A \delta B
The closure of a subset
A\in2X
cl(A)
\begin{align} cl(A)&=\left\{x\inX:D(x,A)=0\right\}, where\\ D(x,A)&=inf\left\{d(x,a):a\inA\right\}. \end{align}
I.e.,
cl(A)
x
X
A
D(x,A)
x
A
d(x,a)=\left|x-a\right|
\delta=\left\{(A,B)\in2X x 2X:cl(A) \cap cl(B) ≠ \emptyset\right\}.
Whenever sets
A
B
A \underline{\delta} B
The following EF-proximity space axioms are given by Jurij Michailov Smirnov based on what Vadim Arsenyevič Efremovič introduced during the first half of the 1930s. Let
A,B,E\in2X
A
B
B
A
A\cupB
E
A
B
E
\emptyset
A
B
C,D\in2X
C\cupD=X
A
C
B
D
The pair
(X,\delta)
X
X
\delta
X
A
X
A
A
X
x\inX
A
Let the set
X
A,B
X
Cc=X\backslashC
C
\begin{align} A&{}l{\underline{\delta}}B,\\ B&\subsetC,\\ D&=Cc,\\ X&=D\cupC,\\ A&\subsetD, hence,wecanwrite\\ A \underline{\delta} B & ⇒ A \underline{\delta} C and B \underline{\delta} D, forsome C,D in XsothatC\cupD=X. \blacksquare \end{align}
Descriptively near sets were introduced as a means of solving classification and pattern recognition problems arising from disjoint sets that resemble each other. Recently, the connections between near sets in EF-spaces and near sets in descriptive EF-proximity spaces have been explored in.
Again, let
X
\Phi=\left\{\phi1,...,\phin\right\}
x\inX
X
A probe function
\phi:X → R
X
\Phi:X\longrightarrowRn
\Phi(x)=(\phi1(x),...,\phin(x))
Rn
\Phi(x)
x
x\inX
To obtain a descriptive proximity relation (denoted by
\delta\Phi
l{Q}:2X\longrightarrow
Rn | |
2 |
2X
Rn | |
2 |
A,B\in2X
l{Q}(A),l{Q}(B)
A,B
\begin{align} l{Q}(A)&=\left\{\Phi(a):a\inA\right\},\\ l{Q}(B)&=\left\{\Phi(b):b\inB\right\}. \end{align}
The expression
Al{\delta\Phi}B
A
B
Al{\underline{\delta}\Phi}B
A
B
A
B
Al{\delta\Phi}B\Leftrightarrowl{Q}(cl(A))l{\delta}l{Q}(cl(B)) ≠ \emptyset.
The descriptive intersection
\cap\Phi
A
B
An{\cap\Phi}B=\left\{x\inA\cupB:l{Q}(A)l{\delta}l{Q}(B)\right\}.
That is,
x\inA\cupB
An{\cap\Phi}B
\Phi(x)=\Phi(a)=\Phi(b)
a\inA,b\inB
A
B
An{\cap\Phi}B
The descriptive proximity relation
\delta\Phi
\delta\Phi=\left\{(A,B)\in2X x 2X: cl(A)n{\cap\Phi}cl(B) ≠ \emptyset\right\}.
Whenever sets
A
B
A \underline{\delta}\Phi B
The binary relation
\delta\Phi
A,B,E\subsetX
A
B
B
A
A\cupB
E
A
B
E
x,y\inX
x
y
\emptyset
A
B
C,D\in2X
C\cupD=X
A
C
B
D
The pair
(X,\delta\Phi)
A relator is a nonvoid family of relations
l{R}
X
(X,l{R})
X(l{R})
l{R}\delta
X
(X,l{R}\delta)
\delta
\delta\Phi
l{R} | |
\delta\Phi |
(X,l{R} | |
\delta\Phi |
)
X
(X,l{R} | |
\delta\Phi |
)
In a proximal relator space
X
A
cl\Phi(A)
cl\Phi(A)=\left\{x\inX:{\Phi(x)}l{\delta}l{Q}(cl(A))\right\}.
That is,
x\inX
A
\Phi(x)
l{Q}(cl(A))
A
(X,l{R} | |
\delta\Phi |
)
x\inX
A
A
A
(X,l{R} | |
\delta\Phi |
)
A\subsetX
cl(A)\subseteqcl\Phi(A)
\Phi(x)\inl{Q}(X\setminuscl(A))
\Phi(x)=\Phi(a)
a\inclA
\Phi(x)\inl{Q}(cl\Phi(A))
cl(A)\subseteqcl\Phi(A)
In a proximal relator space, EF-proximity
\delta
\delta\Phi
(X,l{R} | |
\delta\Phi |
)
A,B,C\subsetX
A \delta B implies A \delta\Phi B
(A\cupB) \delta C implies (A\cupB) \delta\Phi C
clA \delta clB implies clA \delta\Phi clB
A \delta B\LeftrightarrowA\capB ≠ \emptyset
x\inA\capB,\Phi(x)\inl{Q}(A)
\Phi(x)\inl{Q}(B)
A \delta\Phi B
clA \delta clB
clA
clA
\blacksquare
In a pseudometric proximal relator space
X
x\inX
Nx,\varepsilon
\varepsilon>0
Nx,\varepsilon=\left\{y\inX:d(x,y)<\varepsilon\right\}.
The interior of a set
A
int(A)
A
bdy(A)
X
\begin{align} int(A)&=\left\{x\inX:Nx,\varepsilon\subseteqA\right\}.\\ bdy(A)&=cl(A)\setminusint(A). \end{align}
A set
A
B
\delta
A\ll\deltaB
A\subsetint(B)
Al{\underline{\delta}}X\setminusint(B)
A
int(B)
A
B
\delta\Phi
Al{\ll\Phi}B
l{Q}(A)\subset l{Q}(int(B))
A \underline{\delta}\Phi X\setminusint(B)
l{Q}(A)
intB
Let
\ll\Phi
\delta
\ll\Phi=\left\{(A,B)\in2X x 2X:l{Q}(A)\subsetl{Q}(int(B))\right\}.
That is,
Al{\ll\Phi}B
a\inA
b\inint(B)
A,B
X
Al{\underline{\delta}\Phi}B
\delta\Phi
Al{\underline{\delta}\Phi}B\LeftrightarrowAl{\ll\Phi}E1,Bl{\ll\Phi}E2, forsome E1,E2\subsetX (SeeFig.6).
\delta\Phi
X
A consideration of strong containment of a nonempty set in another set leads to the study of hit-and-miss topologies and the Wijsman topology.
Let
\varepsilon
l{R} | |
\delta\Phi |
\delta\Phi,\varepsilon
\begin{align} D\Phi(A,B)&=inf\left\{d(\Phi(a),\Phi(a)):\Phi(a)\inl{Q}(A),\Phi(a)\inl{Q}(B)\right\},\\ d(\Phi(a),\Phi(a))&=
n | |
\sum | |
i=1 |
|\phii(a)-\phii(b)|,\\ \delta\Phi,\varepsilon&=\left\{(A,B)\in2X x 2X:|D(cl(A),cl(B))|<\varepsilon\right\}. \end{align}
Let
l{R} | |
\delta\Phi,\varepsilon |
=
l{R} | |
\delta\Phi |
\cup\left\{\delta\Phi,\varepsilon\right\}
l{R} | |
\delta\Phi,\varepsilon |
l{R} | |
\delta\Phi |
X
A,B
(X,
l{R} | |
\delta\Phi,\varepsilon |
)
A \delta\Phi,\varepsilon B
D\Phi(A,B)<\varepsilon.
Relations with the same formal properties as similarity relations of sensations considered by Poincaré are nowadays, after Zeeman, called tolerance relations. A tolerance
\tau
O
\tau\subseteqO x O
O
\tau
(O,\tau)
A\subseteqO
\tau
\tau
x,y\inA
(x,y)\in\tau
The family of all preclasses of a tolerance space is naturally ordered by set inclusion and preclasses that are maximal with respect to set inclusion are called
\tau
\tau
(O,\tau)
H\tau(O)
H\tau(O)
O
The work on similarity by Poincaré and Zeeman presage the introduction of near sets and research on similarity relations, e.g.,. In science and engineering, tolerance near sets are a practical application of the study of sets that are near within some tolerance. A tolerance
\varepsilon\in(0,infty]
Simple example
The following simple example demonstrates the construction of tolerance classes from real data. Consider the 20 objects in the table below with
|\Phi|=1
x1 | .4518 | x6 | .6943 | x11 | .4002 | x16 | .6079 | |
x2 | .9166 | x7 | .9246 | x12 | .1910 | x17 | .1869 | |
x3 | .1398 | x8 | .3537 | x13 | .7476 | x18 | .8489 | |
x4 | .7972 | x9 | .4722 | x14 | .4990 | x19 | .9170 | |
x5 | .6281 | x10 | .4523 | x15 | .6289 | x20 | .7143 |
Let a tolerance relation be defined as
\cong\varepsilon{}\Leftrightarrow\{(x,y)\inO x O: \parallel\Phi(x)-
\Phi(y)\parallel | |
2 |
\leq\varepsilon\}
Then, setting
\varepsilon=0.1
\begin{align}
H | |
\cong\varepsilon |
(O)={} &\{\{x1,x8,x10,x11\},\{x1,x9,x10,x11,x14\},\\ &\{x2,x7,x18,x19\},\\ &\{x3,x12,x17\},\\ &\{x4,x13,x20\},\{x4,x18\},\\ &\{x5,x6,x15,x16\},\{x5,x6,x15,x20\},\\ &\{x6,x13,x20\}\}. \end{align}
Observe that each object in a tolerance class satisfies the condition
\parallel\Phi(x)-\Phi(y)\parallel2\leq\varepsilon
Image processing example
The following example provides an example based on digital images. Let a subimage be defined as a small subset of pixels belonging to a digital image such that the pixels contained in the subimage form a square. Then, let the sets
X
Y
O=\{X\cupY\}
\varepsilon
Let
(U,l{R} | |
\delta\Phi,\varepsilon |
)
\delta\Phi,\varepsilon
X,Y\in2U
\cong\Phi,\varepsilon
\Phi
\varepsilon\in(0,infty]
\simeq\Phi,\varepsilon=\{(x,y)\inU x U\mid |\Phi(x)-\Phi(y)|\leq\varepsilon\}.
Further, assume
Z=X\cupY
H | |
\tau\Phi,\varepsilon |
(Z)
(Z,\simeq\Phi,\varepsilon)
Let
A\subseteqX,B\subseteqY
D | |
tNM |
:2U x 2U:\longrightarrow[0,infty]
D | |
tNM |
(X,Y)= \begin{cases} 1-tNM(A,B),&ifXandYarenotempty,\\ infty,&ifXorYisempty, \end{cases}
where
tNM(A,B)=
l(\sum | |||||||
|
|C|r)-1 ⋅
\sum | |||||||
|
|C|
min(|C\capA|,|[C\capB|) | |
max(|C\capA|,|C\capB|) |
.
The details concerning
tNM
tNM
Z=X\cupY
tNM
X
Y
tNM
As an example of the degree of nearness between two sets, consider figure below in which each image consists of two sets of objects,
X
Y
tNM
The Near set Evaluation and Recognition (NEAR) system, is a system developed to demonstrate practical applications of near set theory to the problems of image segmentation evaluation and image correspondence. It was motivated by a need for a freely available software tool that can provide results for research and to generate interest in near set theory. The system implements a Multiple Document Interface (MDI) where each separate processing task is performed in its own child frame. The objects (in the near set sense) in this system are subimages of the images being processed and the probe functions (features) are image processing functions defined on the subimages. The system was written in C++ and was designed to facilitate the addition of new processing tasks and probe functions. Currently, the system performs six major tasks, namely, displaying equivalence and tolerance classes for an image, performing segmentation evaluation, measuring the nearness of two images, performing Content Based Image Retrieval (CBIR), and displaying the output of processing an image using a specific probe function.
The Proximity System is an application developed to demonstrate descriptive-based topological approaches to nearness and proximity within the context of digital image analysis. The Proximity System grew out of the work of S. Naimpally and J. Peters on Topological Spaces. The Proximity System was written in Java and is intended to run in two different operating environments, namely on Android smartphones and tablets, as well as desktop platforms running the Java Virtual Machine. With respect to the desktop environment, the Proximity System is a cross-platform Java application for Windows, OSX, and Linux systems, which has been tested on Windows 7 and Debian Linux using the Sun Java 6 Runtime. In terms of the implementation of the theoretical approaches, both the Android and the desktop based applications use the same back-end libraries to perform the description-based calculations, where the only differences are the user interface and the Android version has less available features due to restrictions on system resources.