Abstract
The theory of the F-transform is presented and discussed from the perspective of the latest developments and applications. Various fuzzy partitions are considered. The definition of the F-transform is given with respect to a generalized fuzzy partition, and the main properties of the F-transform are listed. The applications to image processing, namely image compression, fusion and edge detection, are discussed with sufficient technical details.
Access provided by Autonomous University of Puebla. Download chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
1 Fuzzy Modeling
Fuzzy modeling is still regarded as a modern technique with a nonclassical background. The goal of this chapter is to bridge standard mathematical methods and methods for the construction of fuzzy approximation models. We will present the theory of the fuzzy transform (the F -transform), which was introduced in [1] for the purpose of encompassing both classical (usually, integral) transforms and approximation models based on fuzzy IF–THEN rules (fuzzy approximation models). We start with an informal characterization of integral transforms, and from this discussion, we examine the similarities and differences among integral transforms, the F-transform, and fuzzy approximation models. An integral transform is performed using some kernel. The kernel is represented by a function of two variables and can be understood as a collection of local factors or closeness areas around elements of an original space. Each factor is then assigned an average value of a transforming object (usually, a function). Consequently, the transformed object is a new function defined on a space of local factors. The F-transform can be implicitly characterized by a discrete kernel that is associated with a finite collection of fuzzy subsets (local factors or closeness areas around chosen nodes) of an original space. We say that this collection establishes a fuzzy partition of the space. Then, similar to integral transforms, the F-transform assigns an average value of a transforming object to each fuzzy subset from the fuzzy partition of the space. Consequently, the F-transformed object is a finite vector of average values.
Similar to the F-transform, a fuzzy approximation model can also be implicitly characterized by a discrete kernel that establishes a fuzzy partition of an original space. Each element of the established fuzzy partition is a fuzzy set in the IF part (antecedent) of the respective fuzzy IF–THEN rule. The rule characterizes a correspondence between an antecedent and an average value of a transforming object (singleton model) or a fuzzy subset of a space of object values (fuzzy set model).
To emphasize the differences among integral transforms, the F-transform, and fuzzy approximation models, we note that the last two are actually finite collections of local descriptions of a considered object. Each collection produces a global description of the considered object in the form of the direct F-transform or the system of fuzzy IF–THEN rules.
The idea of producing collections of local descriptions by fuzzy IF–THEN rules originates from the early works of Zadeh [2, 3, 4, 5] and from the Takagi–Sugeno [6] approximation models.
Similar to the conventional integral transforms (the Fourier and Laplace transforms, for example), the F-transform performs a transformation of an original universe of functions into a universe of their skeleton models (vectors of F-transform components) for which further computations are easier (see, e. g., an application to the initial value problem with fuzzy initial conditions [7]). In this respect, the F-transform can be as useful in applications as traditional transforms (see applications to image compression [8, 9] and time series processing [10, 11, 12, 13, 14], for example). Moreover, sometimes the F-transform can be more efficient than its counterparts; see the details below.
The structure of this chapter is as follows. In Sect. 7.2, we consider various fuzzy partitions: uniform and with and without the Ruspini condition, among others; in Sect. 7.3, definitions of the F-transforms (direct and inverse) and their main properties are considered; in Sect. 7.4, the discrete F-transform is defined; in Sect. 7.5, the direct and inverse F-transform of a function of two variables is introduced; in Sect. 7.6, a higher degree F-transform is considered; in Sect. 7.7, applications of the F-transform and F1-transform to image processing are discussed.
2 Fuzzy Partitions
In this section, we present a short overview of various fuzzy partitions of a universe in which transforming objects (functions) are defined. As we learned from Sect. 7.1, a fuzzy partition is a finite collection of fuzzy subsets of the universe that determines a discrete kernel and thus a respective transform. Therefore, we have as many F-transforms as fuzzy partitions.
2.1 Fuzzy Partition with the Ruspini Condition
The fuzzy partition with the Ruspini condition (7.1) (simply, Ruspini partition) was introduced in [1]. This condition implies normality of the respective fuzzy partition, i. e., the partition-of-unity. It then leads to a simplified version of the inverse F-transform. In later publications [15, 16], the Ruspini condition was weakened to obtain an additional degree of freedom and a better approximation by the inverse F-transform.
Definition 7.1
Let be fixed nodes within such that and . We say that the fuzzy sets , identified with their membership functions defined on , establish a Ruspini partition of if they fulfill the following conditions for :
-
1.
-
2.
if , where for uniformity of notation, we set and
-
3.
is continuous
-
4.
, for , strictly increases on and for , strictly decreases on
-
5.
for all ,
(7.1)
The condition (7.1) is known as the Ruspini condition. The membership functions are called the basic functions. A point is covered by the basic function A k if .
The shape of the basic functions is not predetermined and therefore, it can be chosen according to additional requirements (e. g., smoothness). Let us give examples of various fuzzy partitions with the Ruspini condition. In Fig. 7.1, two such partitions with triangular and cosine basic functions are shown. The following formulas represent generic fuzzy partitions with the Ruspini condition and triangular functions
where and .
We say that a Ruspini partition of is h-uniform if its nodes , where , are equidistant, i. e., , for , where , and the two additional properties are met:
-
6.
, for all , ,
-
7.
, for all and , and , for all and .
2.2 Fuzzy Partitions with the Generalized Ruspini Condition
Fuzzy partitions with the generalized Ruspini condition were introduced in [15]. The generalization consists in replacing partition-of-unity (7.1) by fuzzy r-partition (7.2). This type of partition was investigated in [15, 17], where the focus was on smoothing or filtering data using the inverse F-transform. The following definition is taken from [15].
Definition 7.2
Let and be fixed integers such that . Let be nodes within , and let and be nodes outside of . A fuzzy r-partition of is a family of continuous, normal, convex fuzzy sets
such that the following conditions are fulfilled:
-
1.
For , is a continuous function on such that and for
-
2.
For , is increasing on and decreasing on
-
3.
For , is decreasing on
-
4.
For , is increasing on
-
5.
For all , the following partition-of-r condition holds
(7.2)
If r = 1, then a fuzzy r-partition in the sense of Definition 7.2 becomes the standard fuzzy partition in the sense of Definition 7.1, i. e., the partition-of-unity. In Fig. 7.2, the fuzzy 2-partition with triangular basic functions is shown.
2.3 Generalized Fuzzy Partitions
A generalized fuzzy partition appeared in [16] in connection with the notion of the higher degree F-transform. Its even weaker version was implicitly introduced in [18] with the purpose of meeting the requirements of image compression. We summarize both these notions and propose the following definition.
Definition 7.3
Let be an interval on , , and let be nodes such that
We say that the fuzzy sets
constitute a generalized fuzzy partition of if for every there exist such that
and the following three conditions are fulfilled:
-
1.
(locality) – if , and if
-
2.
(continuity) – A k is continuous on
-
3.
(covering) – for , .
It is important to remark that by conditions of locality and continuity,
An -uniform generalized fuzzy partition of is defined for equidistant nodes
where , and two additional properties are satisfied:
-
4.
for all and , and for all and .
-
5.
, and for all and all , .
An -uniform generalized fuzzy partition of can also be defined using the generating function , which is assumed to be even, continuous, and positive everywhere except for on boundaries, where it vanishes. (The function is even if for all , .) Then, basic functions A k of an -uniform generalized fuzzy partition are shifted copies of A 0 in the sense that
and for ,
As an example, we note that the function is a generating function for all uniform triangular partitions. The difference between them is in parameters h and . An -uniform generalized fuzzy partition is simply called an h-uniform one (Fig. 7.3 ).
Remark 7.1
A generalized fuzzy partition can also be considered in connection with radial membership functions; see [20]. In this case, every basic function has a generic representation in terms of a kernel such that
3 Fuzzy Transform
The F-transform establishes a correspondence between a set of continuous functions on an interval of real numbers and the set of n-dimensional (real) vectors. Each component of the resulting vector is a weighted local mean of a corresponding function over an area covered by a corresponding basic function. The vector of the F-transform components is a simplified representation of an original function that can be used instead of the original function in many applications. Among them, let us mention applications to image compression [8, 9], image fusion, image reduction, time series processing [10, 11, 12, 13, 14], and the initial value problem with fuzzy initial conditions [7].
3.1 Direct F-Transform
In this section, we give the definition of the F-transform according to [1] and recall the main properties of it. We assume that the universe is an interval and are fixed nodes from such that , and . Let us formally extend the set of nodes by and . Let be the basic functions that form a fuzzy partition of according to Definition 7.3. Let be the set of continuous functions on the interval . The following definition introduces the fuzzy transform of a function .
Definition 7.4
Let be the basic functions that form a generalized fuzzy partition of and f be any function from . We say that the n-tuple of real numbers given by
is the (integral) F-transform of f with respect to .
The elements are called the components of the F -transform. If is an h-uniform Ruspini partition, then (7.4) may be simplified as follows,
The following is a list of some properties of the F-transform of f with respect to a generalized fuzzy partition of :
-
(a)
If for all , , then .
-
(b)
If , then .
-
(c)
If , then , .
-
(d)
If f is twice continuously differentiable on , then . (This is true for an h-uniform Ruspini partition of only. A similar estimation of the F-transform component F k as a linear combination of can be established for a fuzzy r-partition [15].)
-
(e)
If a generalized fuzzy partition is -uniform, then for each ,
where , , and
(7.6) -
(f)
(This is true for an h-uniform Ruspini partition of only.)
3.2 Inverse F-Transform
It is clear that an original nonconstant function f cannot be precisely reconstructed from its F-transform because we lose information when passing from f to . However, the inverse F-transform that can be reconstructed (using the inversion formula (7.7)) approximates f in such a way that universal convergence can be established.
Definition 7.5
Let be the basic functions that form a generalized fuzzy partition of and f be a function from . Let be the F-transform of f with respect to . Then, the function represented by
is called the inverse F -transform.
Remark 7.2
The following theorem demonstrates that the inverse F-transform can approximate a continuous function f with arbitrary precision. Thus, it explains why the F-transform has convincing applications in various fields, including image and time series processing, and data mining [21]. In Fig. 7.4, we illustrate how the inverse F-transform approximates the function .
Theorem 7.1
Let f be a continuous function on . Then, for any , there exist and a generalized fuzzy partition of such that for all ,
where is the inverse F-transform of f with respect to the fuzzy partition .
From Theorem 7.2, which is given below, we learn that for a pointwise approximation (as in Theorem 7.1), it is sufficient to compute the F-transform with respect to the simplest triangular fuzzy partition. Therefore, almost all applications of the F-transform are based on this type of partition.
Theorem 7.2
Let f be any continuous function on , and let and , for , be the basic functions that form different -uniform generalized fuzzy partitions of . Let and be the two inverse F-transforms of f with respect to different sets of basic functions or . Then, for arbitrary ,
where , and is the modulus of continuity (7.6) of f on the interval .
The proofs of Theorems 7.1 and 7.2 can be obtained from the respective proofs in [22, Theorems 2 and 3] after some necessary changes caused by the usage of the generalized fuzzy partition.
Below, we list some properties of the inverse F-transform of f that were considered and proved in [1, 15, 23]. If not specially mentioned, it is assumed that the F-transform is computed with respect to a generalized fuzzy partition of :
-
(a)
If for all , , then
-
(b)
If , then
-
(c)
(This is true for the fuzzy r-partition of only.)
-
(d)
Let be an h-uniform Ruspini partition of , where and n > 3. Let be a continuous function such that one of the following two conditions are fulfilled:
-
(i)
s is -periodical and for all , , where
-
(ii)
s is h-periodical and , where .
Then, for ,
-
(i)
The last property is known as noise removal. This phrase implies that both functions f (non-noisy) and (noisy) have the same inverse F-transform. The noise is represented by s and characterized by conditions (i) or (ii). We illustrate this property in Fig. 7.5.
4 Discrete F-Transform
The discrete case of the F-transform, for which an original function f is defined (may be computed) on a finite set , was introduced in [1]. We will adapt the mentioned definition to the case of a generalized fuzzy partition of .
We assume that the domain P of the function f is sufficiently dense with respect to the fixed partition, i. e.,
Then, the (discrete) F-transform of f is defined as follows.
Definition 7.6
Let , for n > 2, be the basic functions that form a generalized fuzzy partition of , and let function f be defined on the set , which is sufficiently dense with respect to the partition. We say that the n-tuple of real numbers is the discrete F-transform of f with respect to if
It is not difficult to demonstrate that the components of the discrete F-transform have similar properties to those listed in Sect. 7.3.1.
In the discrete case, we define the inverse F-transform on the same set P on which the original function is defined.
Definition 7.7
Let , for n > 2, be the basic functions that form a generalized fuzzy partition of , and let function f be defined on the set , which is sufficiently dense with respect to the partition. Moreover, let be the discrete F-transform of f w.r.t. . Then, the function represented by
is the inverse discrete F -transform of f.
Remark 7.3
If a fuzzy partition of fulfills the generalized Ruspini condition (7.2) with , i. e., for all , , then the inversion formula (7.10) can be simplified to
or (in the case of Ruspini partition, i. e., r = 1) to
Analogous to Theorem 7.1, we can show that the inverse discrete F-transform can approximate the original discrete function f on P with arbitrary precision [1]. Moreover, the properties (a)–(c) that are listed in Sect. 7.3.2 have valid discrete analogies.
An interesting comparison between the discrete F-transform and the least-square approximation was made in [20]. It was demonstrated that the discrete F-transform is invariant with respect to the interpolating and least-squares approximation of the set . This means that the best approximation of f on P in the form of , where , has the same direct discrete F-transform as the original f.
5 F-Transforms of Functions of Two Variables
The direct and inverse F-transform of a function of two (and more) variables is a direct generalization of the case of one variable. We introduce it briefly and refer to [1] for more details.
Suppose that the universe is a rectangle and that are the fixed nodes of and are the fixed nodes of such that , , , and . Let us formally extend the set of nodes by setting , , , and . Assume that are the basic functions that form a generalized fuzzy partition of and are basic functions that form a generalized fuzzy partition of . Then, the rectangle is partitioned into fuzzy sets with the membership functions , , . Let be the set of continuous functions of two variables on the domain and .
Definition 7.8
Let be the basic functions that form a generalized fuzzy partition of and be the basic functions that form a generalized fuzzy partition of . Let f be any function from . We say that the -matrix of real numbers is the (integral) F-transform of f with respect to and if for each , ,
The components F kl (7.11) have properties (adapted to the case of two variables) similar to those listed in Sect. 7.3.1. For example, the property (e) has the following form (we assume that form an h 1-uniform Ruspini partition of and form an h 2-uniform Ruspini partition of )
In the discrete case, when an original function f is known only at points , where and , the (discrete) F-transform of f can be introduced in a manner analogous to the case of a function of one variable. This case is important for applications of the F-transform to image processing [18, 24, 25, 26, 8, 9].
Definition 7.9
Let a function f be given at nodes , for which and , and and , where and , be the basic functions that form generalized fuzzy partitions of and , respectively. Suppose that sets P and Q of these nodes are sufficiently dense with respect to the chosen partitions. We say that the -matrix of real numbers is the discrete F-transform of f with respect to and if
holds for all , .
The inverse F-transform of a function of two variables is a simple extension of (7.7). It will be given below for the continuous version of a function.
Definition 7.10
Let and be the basic functions that form generalized fuzzy partitions of and , respectively. Let f be a function from and be the F-transform of f with respect to and . Then, the function represented by
is called the the inverse F -transform.
Similar to the case of a function of one variable, we can prove that the inverse F-transform can approximate the original continuous function f with arbitrary precision, and the (adapted) properties (a)–(c), which are listed in Sect. 7.3.2, are fulfilled.
6 -Transform
In [16], a higher degree F-transform was introduced for the purpose for advanced applications in time series and image processing [26, 27]. In this section, we give a description of the F 1-transform, which has working applications, and refer to [16] for the F m-transform for which m > 1.
Throughout this section, we assume that , n > 2 is an h-uniform generalized fuzzy partition of such that there exists a generating function such that for all , A k is defined by (7.3) (the illustration is in Fig. 7.3).
Let k be a fixed integer from , and let be a normed space of square-integrable functions , where the norm is given by
By we denote a set of functions such that for all , , where is the restriction of f on .
For any function f from we define the F 1-transform of f with respect to as the vector of linear functions
where for every ,
and
The kth component of the vector is denoted by .
The following is a list of properties of the F1-transform of f with respect to a generalized fuzzy partition of . They are particular cases of the properties of the F m-transform proved in [16]:
-
(a)
Let F k and , for , be respective kth components of and . Then, .
-
(b)
If for all , , then all the components of F 1-transform of are equal to , .
-
(c)
If , then .
-
(d)
, where is considered over the set of functions of the form .
-
(e)
If f is four times continuously differentiable on , then
In Fig. 7.6, we show a schematic representation of the F 1-transform components of a generic function f.
Finally, we give simplified expressions of F1-transform components with respect to an h-uniform triangular fuzzy partition [16]
where .
7 Applications
In this section, we consider applications of the F-transform and F1-transform to image processing.
7.1 Image Compression and Reconstruction
A method of lossy image compression and reconstruction using fuzzy relations was proposed in [19]. The dominant idea was a choice of suitable granulation (represented by a fuzzy relation) of an image domain. We will refer to this method as FEQ. F-transform image compression (GlossaryTerm
FTR
) is based on the same idea of granulation but connects it with fuzzy partitions [1, 9]. In the cited papers, two approaches were proposed: a uniform fuzzy partition of the entire domain [1] and a two-step partition [9] in which initially the entire domain is partitioned into blocks and second, each block is uniformly partitioned into fuzzy sets. Both approaches were compared with JPEG and other compression techniques (including FEQ) [9], and the conclusion was that the F-transform-based method is slightly worse than JPEG but better than FEQ. Two further improvements of the F-transform-based compression have been proposed in [18, 28], where an advantage over JPEG was achieved in many cases.In this section, after reiterating the principles of image compression and reconstruction using the F-transform and its inverse, we explain how a proper choice of a fuzzy partition improves the quality of the reconstructed image. A detailed elaboration and comparison with other existing techniques is in [18, 28] and will be presented in subsequent papers.
7.1.1 Principles of Image Compression Using the F-Transform
Let a grayscale image of size pixels be represented by a function of two variables . The value represents the intensity range of each pixel in the gray scale. The problem of image compression is to reduce the image’s size to save space or transmission time. A desirable size (where and ) of a compressed image can be obtained from the compression ratio, . If a compression method is lossy (JPEG, FEQ, and the F-transform, for example), then the respective reconstruction to a full size image is compared with the original image using the two quality indices GlossaryTerm
PSNR
(peak signal-to-noise ratio) and GlossaryTermRMSE
(root-mean-square error), whereand
7.1.2 Simple F-Transform Compression
In [1], we proposed representing a compressed image by the matrix of F-transform components
computed over uniform fuzzy partitions (usually, triangular) and of the entire domains and , respectively
We proposed reconstructing to a full-size image using the inverse F-transform of u such that
This method does not take advantage of any property of the original image and therefore, its quality is not very high. Let us illustrate it on the image Cameraman taken from the Corel Gallery. In Fig. 7.7, we show the original image and its reconstruction using the simple F-transform compression described above. The compression ratio is , and (compare with for JPEG with a similar compression ratio).
7.1.3 F-Transform Compression with Block Decomposition
This F-transform-based compression [9] was inspired by the JPEG method in which, at first, the entire domain was decomposed into blocks and then, each block was compressed according to a compression ratio. In [9], the same principle is used. In the first step, a decomposition into blocks of the same size is performed, where the size (chosen experimentally) is such that a certain quality of approximation by the inverse F-transform should be guaranteed (Theorem 7.1 ). Each block is then uniformly partitioned into cosine-shaped fuzzy sets and compressed by the simple F-transform method according to a compression ratio. In comparison with the simple F-transform compression, this method considers the peculiarities of the original images when making the block decomposition. In Fig. 7.8, we show the GlossaryTerm
PSNR
quality measure of the image Cameraman compressed using three methods: FEQ, F-transform with block decomposition and JPEG. It is easily observed that the JPEG method is still better than the F-transform with block decomposition, whereas the latter is better than FEQ. However, for the particular image Cameraman and the compression ratio , the value of GlossaryTermPSNR
of the F-transform with block decomposition is similar to that of the simple F-transform compression: versus , respectively. This means that the uniform partition, even when applied to both steps independently, is not effective with respect to the quality estimated by GlossaryTermPSNR
. In the next subsection, we propose an F-transform compression method [18] that is almost nonlossy and is based on a nonuniform generalized partition adapted to each particular image.7.1.4 Advanced Image Compression
If we analyze the properties of the F-transform (Sect. 7.3.1), then it is immediate from (a) that the more the function behaves like a constant, the better is the approximation quality of the inverse F-transform. Thus, the following recommendation regarding the choice of a proper generalized fuzzy partition can be made:
-
A generalized fuzzy partition of the domain into fuzzy sets , where and , should guarantee that the difference between extremal values of the image over each is not greater than or (if the preceding condition cannot be fulfilled) the area of is not greater than .
There are several algorithms that can produce a generalized fuzzy partition with the mentioned property. In [18], we used the quad tree algorithm for this purpose; see the illustration in Fig. 7.9.
Let us add that the advanced image compression algorithm [18] uses the following two tricks to increase the quality of the reconstructed image:
-
Preserve sharp edges
-
Restore the histogram of the original image.
Figure 7.10 shows how the histogram restoration influences the quality of the reconstructed image. In Fig. 7.11, we see that the GlossaryTerm
PSNR
values of the advanced F-transform and the JPEG are almost equal.7.2 Image Fusion
Image fusion aims to integrate complementary distorted multisensor, multitemporal, and/or multiview scenes into one new image that contains the best parts of each scene. Thus, the primary problem in image fusion is to find the least distorted scene for every pixel.
A local focus measure is traditionally used for the selection of an undistorted scene. The scene that maximizes the focus measure is selected. Usually, the focus measure is a measure of high-frequency occurrences in the image spectrum. This measure is used when a source of distortion is connected with blurring, which suppresses high frequencies in an image. In this case, it is desirable that a focus measure decreases with an increase in blurring.
There are various fusion methodologies that are currently in use. They can be classified according to the primary technique: aggregation operators [22], fuzzy methods [30], optimization methods (e. g., neural networks and genetic algorithms [29]), and multiscale decomposition methods based on various transforms (e. g., discrete wavelet transforms; [31]).
The F-transform approach to image fusion was proposed in [32, 33]. The primary idea is a combination of (at least) two fusion operators, both of which are based on the F-transform. The first fusion operator is applied to the F-transform components of scenes and is based on a robust partition of the scene domain. The second fusion operator is applied to the residuals of scenes with respect to inverse F-transforms with fused components and is based on a finer partition of the same domain. Although this approach is not explicitly based on focus measures, it uses the fusion operator, which is able to choose an undistorted scene among the available blurred scenes.
7.2.1 Principles of Image Fusion Using the F-Transform
In this subsection, we present a short overview of the two methods of fusion that were proposed in [32, 33] and introduce a new method [34] that is a weighted combination of those two. We will demonstrate that the new method is computationally more effective than the first two.
The F-transform fusion is based on a certain decomposition of an image. We assume that the image u is a discrete real function defined on the array of pixels such that . Moreover, let fuzzy sets and , where , establish uniform Ruspini partitions of and , respectively. We begin with the following representation of u on P,
where u nm is the inverse F-transform of u and e is the respective first difference. If we replace e in (7.18) by its inverse F-transform e NM with respect to the finest partition of , the above representation can then be rewritten as follows,
We call (7.20 ) a one-level decomposition of u on P. If u is smooth, then the function e NM is small (this claim follows from the property (e) in Sect. 7.3.1), and we can stop at this level. In the opposite case, we continue with the decomposition of the first difference e in (7.18 ). We decompose e into its inverse F-transform (with respect to a finer fuzzy partition of with and basic functions) and the second difference . Thus, we obtain the second-level decomposition of u on P
In the same manner, we can obtain a higher level decomposition of u on P
where
7.2.2 Three Algorithms for Image Fusion
In [33], we proposed two algorithms:
-
1.
The simple F-transform-based fusion algorithm (GlossaryTerm
SA
) and -
2.
The complete F-transform-based fusion algorithm (GlossaryTerm
CA
).
The principal role in the fusion algorithms GlossaryTerm
CA
and GlossaryTermSA
is played by the fusion operator , which is defined as follows:7.2.3 The Simple F-Transform-Based Fusion Algorithm
In this subsection, we present a block description of the GlossaryTerm
SA
without technical details, which can be found in [33]. We assume that input (channel) images with various types of degradation are given. Our aim is to recognize undistorted parts in the given images and to fuse them into one image. The algorithm is based on the decompositions given in (7.20 ), which are applied to each channel image:-
1.
Choose values n and m such that and create a fuzzy partition of by fuzzy sets , where and .
-
2.
Decompose the input images into inverse F-transforms and error functions according to the one-level decomposition (7.20).
-
3.
Apply the fusion operator (7.23) to the respective F-transform components of , and obtain the fused F-transform components of a new image.
-
4.
Apply the fusion operator to the respective F-transform components of the error functions e i , , and obtain the fused F-transform components of a new error function.
-
5.
Reconstruct the fused image from the inverse F-transforms with the fused components of the new image and the fused components of the new error function.
The GlossaryTerm
SA
-based fusion is very efficient if we can guess values n and m that characterize a proper fuzzy partition. Usually, this is performed manually according to the user’s skills. The dependence on fuzzy partition parameters can be considered as a primary shortcoming of this otherwise effective algorithm. Two recommendations follow from our experience:-
For complex images (with many small details), higher values of n and m yield better results.
-
If a triangular shape for a basic function is chosen, than the generic choice of n and m is such that the corresponding values of n p and m p are equal to 3 (recall that n p is the number of points that are covered by every full basic function A k ).
7.2.4 The Complete F-Transform-Based Fusion Algorithm
The GlossaryTerm
CA
-based fusion does not depend on the choice of only one fuzzy partition (as in the case of the GlossaryTermSA
) because it runs through a sequence (7.22) of increasing values of n and m. The algorithm is based on the decomposition presented in (7.21), which is applied to each channel image. The description of the GlossaryTermCA
is similar to that of the GlossaryTermSA
except for step 4, which is repeated in a cycle. Therefore, the quality of fusion is high, but the implementation of the GlossaryTermCA
is rather slow and memory consuming, especially for large images. For an illustration, Fig. 7.12, Tables 7.1 and 7.2.7.2.5 Enhanced Simple Fusion Algorithm
In [34], we proposed an algorithm that is as fast as the GlossaryTerm
SA
and as efficient as the GlossaryTermCA
. We aimed at achieving the following goals:-
Avoid running through a long sequence of possible partitions (as in the case of GlossaryTerm
CA
). -
Automatically adjust the parameters of the fusion algorithm according to the level of blurring and the location of blurred areas in input images.
The algorithm adds another run of the F-transform over the first difference (7.18). The explanation is as follows: the first run of the F-transform is aimed at edge detection in each input image, whereas the second run propagates only sharp edges (and their local areas) to the fused image. We refer to this algorithm as to enhanced simple algorithm (GlossaryTerm
ESA
) and give its informal description:for all input (channel) images do
Compute the inverse F-transform
Compute the first absolute difference between the original image and the inverse F-transform of it
Compute the second absolute difference between the first one and its inverse F-transform and set them as the pixel weights
end for
for all pixels in an image do
Compute the value of sow – the sum of the weights over all input images
for all input images do
Compute the value of wr – the ratio between the weight of a current pixel and sow
end for
Compute the fused value of a pixel in the resulting image as a weighted (by wr) sum of input image values
end for
The primary advantages of the GlossaryTerm
ESA
are:-
Time – the execution time is smaller than for the GlossaryTerm
CA
(Table 7.1). -
Quality – the quality of the GlossaryTerm
ESA
fusion is better than that of the GlossaryTermSA
and for particular cases (Table 7.2), it is better than that of the GlossaryTermCA
.
Because of space limitations, we present only one illustration of the F-transform fusion performed using the three algorithms, GlossaryTerm
SA
, GlossaryTermCA
, and GlossaryTermESA
. We chose the image Balls with geometric figures to demonstrate that our fusion methods are able to reconstruct edges. In Fig. 7.13, two (channel) inputs of the image Balls are given, and in Fig. 7.12, three fusions of the same image are demonstrated.In Table 7.1, we demonstrate that the complexity (measured by the execution time or by the memory used) of the GlossaryTerm
ESA
is greater than the complexity of the GlossaryTermSA
and less than the complexity of the GlossaryTermCA
.In Table 7.2, we demonstrate that for the particular image Balls, the quality of fusion (measured by the values of GlossaryTerm
MSE
and GlossaryTermPSNR
) of the GlossaryTermESA
result is better (the GlossaryTermMSE
value is smaller) than the quality of the GlossaryTermSA
result and even than the quality of the GlossaryTermCA
result.7.3 -Transform Edge Detector
Edge detection is inevitable in image processing. In particular, it is a first step in feature extraction and image segmentation. We focused on the Canny edge detector [35], which is widely used in computer vision. It was developed to ensure three basic criteria: good detection, good localization, and minimal response. In these aspects, the Canny detector can be considered an optimal edge detector. In [26], we proposed using the F 1-transform with the purpose of simplifying the first two steps of the Canny algorithm. Below, we provide the details of our proposal.
The Canny algorithm is a multistep procedure for detecting edges as the local maxima of the gradient magnitude. The first step, performed using a Gaussian filter , is image smoothing and filtering noise. The second step is computation of a gradient of the image function to find the local maxima of the gradient magnitude and the gradient’s direction at each point. This step is performed using a convolution of the original image with directional masks (edge detection operators , such as those of Roberts, Prewitt, and Sobel, are some examples of these filters). The next step is called nonmaximum suppression [36], and it selects those points whose gradient magnitudes are maximal in the corresponding gradient direction. The final step is tracing edges and hysteresis thresholding, which leads to preserving the continuity of edges.
In our experiment, we removed the first two steps in the Canny algorithm and replaced them by computation of approximate gradient values using the F1-transform. The reason is that the F1-transform (similar to the ordinary F-transform) filters out noise when computing approximate values of the first partial derivatives given by (7.15 ). We assume that the image is represented by a discrete function of two variables, where is an array of pixels, and the fuzzy sets and establish a uniform triangular fuzzy partition of and , respectively.
Let and be the h x and h y -equidistant nodes of and , respectively.
According to property (e) in Sect. 7.6, the coefficients of the linear polynomials of the F 1-transform components are approximate values of the first partial derivatives of the image function at nodes (for simplicity, we assume and ), where by (7.17) and (7.5) the following hold,
Then, we can write approximations of the first partial derivatives as the respective inverse F-transforms
and
All other steps of the Canny algorithm – namely, finding the local maxima of the gradient magnitude and its direction, nonmaximum suppression, tracing edges through the image and hysteresis thresholding – are the same as in the original procedure.
In the two examples in Fig. 7.14, we demonstrate the results of the F1-transform edge detector on images chosen from the dataset available at ftp://figment.csee.usf.edu/pub/ROC/edge_comparison_dataset.tar.gz.
We observe that many thin edges/lines are detected as well as their connectedness and smoothness. Moreover, the following properties are retained:
-
Smoothness of circular lines
-
Concentricness circles
-
Smoothness of sharp connections.
8 Conclusions
In this chapter, the theory of the F-transform has been discussed from the perspective of the latest developments and applications. The importance of a proper choice of fuzzy partition has been stressed. Various fuzzy partitions have been considered, including the most general partition (currently known). The definition of the F-transform has been adapted to the generalized fuzzy partition, and the main properties of the F-transform have been re-established. The applications to image processing, namely image compression, fusion and edge detection, have been discussed with sufficient technical details.
Abbreviations
- CA:
-
complete F-transform-based fusion algorithm
- ESA:
-
enhanced simple algorithm
- FTR:
-
F-transform image compression
- MSE:
-
mean square error
- PSNR:
-
peak signal-to-noise ratio
- RMSE:
-
root-mean-square error
- SA:
-
simple F-transform-based fusion algorithm
References
I. Perfilieva: Fuzzy transforms: Theory and applications, Fuzzy Sets Syst. 157, 993–1023 (2006)
L.A. Zadeh: Outline of a new approach to the analysis of complex systems and decision processes, IEEE Trans. Syst. Man Cybern. SMC-3, 28–44 (1973)
L.A. Zadeh: The concept of a linguistic variable and its application to approximate reasoning, Part I, Inf. Sci. 8, 199–257 (1975)
L.A. Zadeh: The concept of a linguistic variable and its application to approximate reasoning, Part II, Inf. Sci. 8, 301–357 (1975)
L.A. Zadeh: The concept of a linguistic variable and its application to approximate reasoning, Part III, Inf. Sci. 9, 43–80 (1975)
T. Takagi, M. Sugeno: Fuzzy identification of systems and its application to modeling and control, IEEE Trans. Syst. Man Cybern. 15, 116–132 (1985)
I. Perfilieva, H. De Meyer, B. De Baets, D. Pisková: Cauchy problem with fuzzy initial condition and its approximate solution with the help of fuzzy transform, Proc. WCCI 2008, IEEE Int. Conf. Fuzzy Syst., Hong Kong (2008) pp. 2285–2290
I. Perfilieva: Fuzzy transforms and their applications to image compression, Lect. Notes Artif. Intell. 3849, 19–31 (2006)
F. Di Martino, V. Loia, I. Perfilieva, S. Sessa: An image coding/decoding method based on direct and inverse fuzzy transforms, Int. J. Approx. Reason. 48, 110–131 (2008)
V. Novák, M. Štěpnička, A. Dvořák, I. Perfilieva, V. Pavliska, L. Vavřičková: Analysis of seasonal time series using fuzzy approach, Int. J. Gen. Syst. 39, 305–328 (2010)
I. Perfilieva, V. Novák, V. Pavliska, A. Dvořák, M. Štěpnička: Analysis and prediction of time series using fuzzy transform, Proc. WCCI 2008, IEEE Int. Conf. Neural Netw., Hong Kong (2008) pp. 3875–3879
F. Di Martino, V. Loia, S. Sessa: Fuzzy transforms method in prediction data analysis, Fuzzy Sets Syst. 180, 146–163 (2011)
M. Štěpnička, A. Dvořák, V. Pavliska, L. Vavřičková: A linguistic approach to time series modeling with the help of F-transform, Fuzzy Sets Syst. 180, 164–184 (2011)
L. Troiano, P. Kriplani: Supporting trading strategies by inverse fuzzy transform, Fuzzy Sets Syst. 180, 121–145 (2011)
L. Stefanini: F-transform with parametric generalized fuzzy partitions, Fuzzy Sets Syst. 180, 98–120 (2011)
I. Perfilieva, M. Daňková, B. Bede: Towards F-transform of a higher degree, Fuzzy Sets Syst. 180, 3–19 (2011)
M. Holčapek, T. Tichý: A smoothing filter based on fuzzy transform, Fuzzy Sets Syst. 180, 69–97 (2011)
P. Hurtik, I. Perfilieva: Image compression methodology based on fuzzy transform, Int. Jt. Conf. CISIS'12-ICEUTE'12-SOCO'12 Special Sessions, Adv. Intell. Soft Comput., Vol. 189 (Springer, Berlin, Heidelberg 2013) pp. 525–532
K. Hirota, W. Pedrycz: Fuzzy relational compression, IEEE Trans. Syst. Man Cybern. 29, 407–415 (1999)
G. Patanè: Fuzzy transform and least-squares approximation: Analogies, differences, and generalizations, Fuzzy Sets Syst. 180, 41–54 (2011)
I. Perfilieva, V. Novák, A. Dvořák: Fuzzy transform in the analysis of data, Int. J. Approx. Reason. 48, 36–46 (2008)
R.S. Blum: Robust image fusion using a statistical signal processing approach, Inf. Fusion 6, 119–128 (2005)
I. Perfilieva, R. Valášek: Fuzzy transforms in removing noise. In: Computational Intelligence, Theory and Applications, ed. by B. Reusch (Springer, Heidelberg 2005) pp. 225–234
F. Di Martino, V. Loia, S. Sessa: A segmentation method for images compressed by fuzzy transforms, Fuzzy Sets Syst. 161, 56–74 (2010)
I. Perfilieva, M. Daňková: Image fusion on the basis of fuzzy transforms, Proc. 8th Int. FLINS Conf., Madrid (2008) pp. 471–476
I. Perfilieva, P. Hodáková, P. Hurtik: ${F}^{1}$-transform edge detector inspired by Canny's algorithm. In: Advances on Computational Intelligence (IPMU2012), ed. by S. Greco, B. Bouchon-Meunier, G. Coletti, M. Fedrizzi, B. Matarazzo, R.R. Yager (Catania, Italy 2012) pp. 230–239
V. Novák, I. Perfilieva, V. Pavliska: The use of higher-order F-transform in time series analysis, World Congr. IFSA 2011 AFSS 2011, Surabaya (2011) pp. 2211–2216
I. Perfilieva, B. De Baets: Fuzzy transform of monotonous functions, Inf. Sci. 180, 3304–3315 (2010)
A. Mumtaz, A. Masjid: Genetic algorithms and its applications to image fusion, IEEE Int. Conf. Emerg. Technol., Rawalpindi (2008) pp. 6–10
R. Ranjan, H. Singh, T. Meitzler, G.R. Gerhart: Iterative image fusion technique using fuzzy and neuro fuzzy logic and applications, Proc. IEEE Fuzzy Inf. Process. Soc., Detroit (2005) pp. 706–710
G. Piella: A general framework for multiresolution image fusion: From pixels to regions, Inf. Fusion 4, 259–280 (2003)
I. Perfilieva, M. Daňková, H.P.M. Vajgl: The use of f-transform for image fusion algorithms, Proc. Int. Conf. Soft Comput. Pattern Recognit. (SoCPaR2010), Cergy Pontoise (2010) pp. 472–477
I. Perfilieva, M. Daňková, P. Hodáková, M. Vajgl: F-transform based image fusion. In: Image Fusion, ed. by O. Ukimura (InTech, Rijeka 2011), pp. 3–22, available online from http://www.intechopen.com/books/image-fusion/f-transform-based-image-fusion
M. Vajgl, I. Perfilieva, P. Hodáková: Advanced F-transform-based image fusion, Adv. Fuzzy Syst. 2012, 125086 (2012)
J. Canny: A computational approach to edge detection, IEEE Trans. Pattern Anal. Mach. Intell. PAMI-8(6), 679–698 (1986)
A. Rosenfeld, M. Thurston: Edge and curve detection for visual scene analysis, IEEE Trans. Comput. C-20(5), 562–569 (1971)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Perfilieva, I. (2015). F-Transform. In: Kacprzyk, J., Pedrycz, W. (eds) Springer Handbook of Computational Intelligence. Springer Handbooks. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-43505-2_7
Download citation
DOI: https://doi.org/10.1007/978-3-662-43505-2_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-43504-5
Online ISBN: 978-3-662-43505-2
eBook Packages: EngineeringEngineering (R0)