Data compression on the basis of fuzzy transforms

Similar documents
Approximating models based on fuzzy transforms

Fuzzy relation equations with dual composition

F-TRANSFORM FOR NUMERICAL SOLUTION OF TWO-POINT BOUNDARY VALUE PROBLEM

FUZZY TRANSFORM: Application to Reef Growth Problem. Irina Perfilieva

Constructions of Models in Fuzzy Logic with Evaluated Syntax

An image coding/decoding method based on direct and inverse fuzzy transforms

Adjoint Fuzzy Partition and Generalized Sampling Theorem

Fuzzy Function: Theoretical and Practical Point of View

Data Retrieval and Noise Reduction by Fuzzy Associative Memories

Omitting Types in Fuzzy Predicate Logics

Computing with Words: Towards a New Tuple-Based Formalization

FB2-2 24th Fuzzy System Symposium (Osaka, September 3-5, 2008) On the Infimum and Supremum of T-S Inference Method Using Functional Type

On Perception-based Logical Deduction and Its Variants

A PROBABILITY DENSITY FUNCTION ESTIMATION USING F-TRANSFORM

EQ-algebras: primary concepts and properties

Fuzzy Local Trend Transform based Fuzzy Time Series Forecasting Model

A New Method to Forecast Enrollments Using Fuzzy Time Series

Sup-t-norm and inf-residuum are a single type of relational equations

Filtering out high frequencies in time series using F- transform

On the filter theory of residuated lattices

Fuzzy filters and fuzzy prime filters of bounded Rl-monoids and pseudo BL-algebras

Fuzzy Logic in Narrow Sense with Hedges

FORECASTING OF ECONOMIC QUANTITIES USING FUZZY AUTOREGRESSIVE MODEL AND FUZZY NEURAL NETWORK

Soft set theoretical approach to residuated lattices. 1. Introduction. Young Bae Jun and Xiaohong Zhang

Bandler-Kohout Subproduct with Yager s classes of Fuzzy Implications

THE FORMAL TRIPLE I INFERENCE METHOD FOR LOGIC SYSTEM W UL

Why Bellman-Zadeh Approach to Fuzzy Optimization

How to Define "and"- and "or"-operations for Intuitionistic and Picture Fuzzy Sets

On approximate reasoning with graded rules

Towards Formal Theory of Measure on Clans of Fuzzy Sets

Computations Under Time Constraints: Algorithms Developed for Fuzzy Computations can Help

KEYWORDS: fuzzy set, fuzzy time series, time variant model, first order model, forecast error.

Group Decision-Making with Incomplete Fuzzy Linguistic Preference Relations

On Proofs and Rule of Multiplication in Fuzzy Attribute Logic

Temperature Prediction Using Fuzzy Time Series

Previous Accomplishments. Focus of Research Iona College. Focus of Research Iona College. Publication List Iona College. Journals

On fuzzy entropy and topological entropy of fuzzy extensions of dynamical systems

Algorithms for Increasing of the Effectiveness of the Making Decisions by Intelligent Fuzzy Systems

The problem of distributivity between binary operations in bifuzzy set theory

On Conditional Independence in Evidence Theory

ISSN: Received: Year: 2018, Number: 24, Pages: Novel Concept of Cubic Picture Fuzzy Sets

Compenzational Vagueness

THE FORMAL TRIPLE I INFERENCE METHOD FOR LOGIC SYSTEM W UL

Non-Associative Fuzzy Flip-Flop with Dual Set-Reset Feature

Hybrid Logic and Uncertain Logic

Fuzzy attribute logic over complete residuated lattices

Computers and Mathematics with Applications

The R 0 -type fuzzy logic metric space and an algorithm for solving fuzzy modus ponens

Application of the Fuzzy Weighted Average of Fuzzy Numbers in Decision Making Models

Feature Selection with Fuzzy Decision Reducts

Averaging Operators on the Unit Interval

On Markov Properties in Evidence Theory

Forecasting Enrollments based on Fuzzy Time Series with Higher Forecast Accuracy Rate

International Journal of Scientific & Engineering Research, Volume 6, Issue 3, March ISSN

Fuzzy Matrix Theory and its Application for Recognizing the Qualities of Effective Teacher

AN ALGEBRAIC STRUCTURE FOR INTUITIONISTIC FUZZY LOGIC

On the Amount of Information Resulting from Empirical and Theoretical Knowledge

Fuzzy histograms and density estimation

COM S 330 Homework 05 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem.

The New Graphic Description of the Haar Wavelet Transform

Abstract. Keywords. Introduction

Fuzzy quantization of Bandlet coefficients for image compression

States of free product algebras

Vague Set Theory Applied to BM-Algebras

Using Matrix Decompositions in Formal Concept Analysis

Numerical Solution of Partial Differential Equations with Fuzzy Transform. By Huda Salim El-Zerii

Kybernetika. Michał Baczyński; Balasubramaniam Jayaram Yager s classes of fuzzy implications: some properties and intersections

Wavelets and Image Compression. Bradley J. Lucier

Solving Classification Problems By Knowledge Sets

Solving Fuzzy PERT Using Gradual Real Numbers

Towards Smooth Monotonicity in Fuzzy Inference System based on Gradual Generalized Modus Ponens

Fuzzy Systems. Introduction

Fuzzy Systems. Fuzzy Control

Extended Triangular Norms on Gaussian Fuzzy Sets

On queueing in coded networks queue size follows degrees of freedom

Metamorphosis of Fuzzy Regular Expressions to Fuzzy Automata using the Follow Automata

Autocontinuity from below of Set Functions and Convergence in Measure

Application of Fuzzy Relation Equations to Student Assessment

A New Method for Forecasting Enrollments based on Fuzzy Time Series with Higher Forecast Accuracy Rate

Some properties of residuated lattices

2010/07/12. Content. Fuzzy? Oxford Dictionary: blurred, indistinct, confused, imprecisely defined

A note on fuzzy predicate logic. Petr H jek 1. Academy of Sciences of the Czech Republic

Approximation Capability of SISO Fuzzy Relational Inference Systems Based on Fuzzy Implications

Evaluation of Fuzzy Linear Regression Models by Parametric Distance

Rough Approach to Fuzzification and Defuzzification in Probability Theory

2 Interval-valued Probability Measures

University of Ostrava. Non-clausal Resolution Theorem Proving for Fuzzy Predicate Logic

FEEDFORWARD NETWORKS WITH FUZZY SIGNALS 1

MAL TSEV CONSTRAINTS MADE SIMPLE

Quantization Index Modulation using the E 8 lattice

INFLUENCE OF NORMS ON THE RESULTS OF QUERY FOR INFORMATION RETRIEVAL MECHANISMS BASED ON THESAURUS. Tanja Sekulić and Petar Hotomski

A Generalized Decision Logic in Interval-set-valued Information Tables

An Analysis on Consensus Measures in Group Decision Making

year

THEOREMS, ETC., FOR MATH 515

The Fuzzy Description Logic ALC F LH

van Rooij, Schikhof: A Second Course on Real Functions

H. Zareamoghaddam, Z. Zareamoghaddam. (Received 3 August 2013, accepted 14 March 2014)

Fuzzy directed divergence measure and its application to decision making

A Generalized Fuzzy Inaccuracy Measure of Order ɑ and Type β and Coding Theorems

Transcription:

Data compression on the basis of fuzzy transforms Irina Perfilieva and Radek Valášek University of Ostrava Institute for Research and Applications of Fuzzy Modeling 30. dubna 22, 701 03 Ostrava 1, Czech Republic e-mail:irina.perfilieva@osu.cz, Radek.Valasek@osu.cz Abstract The technique of the direct and inverse fuzzy (F-) transform is introduced and approximating properties of the inverse F-transforms are described. A method of lossy image compression and reconstruction on the basis of F-transforms is illustrated on examples of pictures and music. 1 Introduction In classical mathematics, various kinds of transforms (Fourier, Laplace, integral, wavelet) are used as powerful methods for construction of approximation models and for solution of differential or integral-differential equations. The main idea of them consists in transforming the original model into a special space where the computation is simpler. The transform back to the original space produces an approximate model or an approximate solution. In this contribution, we put a bridge between these well known methods and methods for construction of fuzzy approximation models. We have developed [9] the general method called fuzzy transform (or, shortly, F-transform) that encompasses both classical transforms as well as approximation methods based on elaboration of fuzzy IF-THEN rules studied in fuzzy modelling. In this paper, we will use approximation models on the basis of three different fuzzy transforms to data compression and decompression. A method of lossy image compression and reconstruction on The paper has been supported by the Grant IAA1187301 of the GA AV ČR. the basis of F-transforms is illustrated on examples of pictures and music. 2 Fuzzy Partition Of The Universe and the Direct F-transform The core idea of the technique proposed in this paper is a fuzzy partition of an interval as a universe. We claim that for a sufficient (approximate) representation of a function, defined on the interval, we may consider its average values within subintervals which constitute a partition of that interval. Then, an arbitrary function can be associated with a mapping from thus obtained set of subintervals to the set of average values of this function. Moreover, the set of the above mentioned average values gives an approximate (compressed) representation of the considered function. Let us give the necessary details (see [9]). We take an interval [a, b] as a universe. That is, all (real-valued) functions considered in this chapter have this interval as a common domain. The fuzzy partition of the universe is given by fuzzy subsets of the universe [a, b] (determined by their membership functions) which must have properties described in the following definition. Definition 1 Let x 1 <... < x n be fixed nodes within [a, b], such that x 1 = a, x n = b and n 2. We say that fuzzy sets A 1,..., A n, identified with their membership functions A 1 (x),..., A n (x) defined on [a, b], form a fuzzy partition of [a, b] if they fulfil the following conditions for k = 1,..., n: 1. A k : [a, b] [0, 1], A k (x k ) = 1; 663

2. A k (x) = 0 if x (x k 1, x k+1 ) where for the uniformity of denotation, we put x 0 = a and x n+1 = b; 3. A k (x) is continuous; 4. A k (x), k = 2,..., n, monotonically increases on [x k 1, x k ] and A k (x), k = 1,..., n 1, monotonically decreases on [x k, x k+1 ]; 5. for all x [a, b] A k (x) = 1. (1) k=1 The membership functions A 1 (x),..., A n (x) are called basic functions. Let us remark that basic functions are specified by a set of nodes x 1 <... < x n and the properties 1 5. The shape of basic functions is not predetermined and therefore, it can be chosen additionally. We say that a fuzzy partition A 1 (x),..., A n (x), n > 2, is uniform if the nodes x 1,..., x n are equidistant, i.e. x k = a + h(k 1), k = 1,..., n, where h = (b a)/(n 1), and two more properties are fulfilled for k = 2,..., n 1: 6. A k (x k x) = A k (x k + x), for all x [0, h], 7. A k (x) = A k 1 (x h), for all x [x k, x k+1 ] and A k+1 (x) = A k (x h), for all x [x k, x k+1 ] Let L 2 ([a, b], A 1,..., A n ) be the set of functions which are weighted square integrable on the interval [a, b] with the weights given by basic functions A k (x), k = 1,..., n. The following definition (see also [7, 9]) introduces the fuzzy transform of a function f L 2 ([a, b], A 1,..., A n ). Definition 2 Let A 1,..., A n (x) be basic functions which form a fuzzy partition of [a, b] and f(x) be any function from L 2 ([a, b], A 1,..., A n ). We say that the n- tuple of real numbers [F 1,..., F n ] given by b a F k = f(x)a k(x)dx b a A, k = 1,..., n, (2) k(x)dx is the (integral) F-transform of f with respect to A 1,..., A n. Denote the F-transform of a function f with respect to A 1,..., A n by F n [f]. Then according to Definitions 2, we can write F n [f] = [F 1,..., F n ]. (3) The elements F 1,..., F n are called components of the F-transform. It is easy to see that if the fuzzy partition of [a, b] (and therefore, basic functions) is fixed then the F-transform establishes a linear mapping from L 2 ([a, b], A 1,..., A n ) to R n so that F n [αf + βg] = αf n [f] + βf n [g] for α, β R and functions f, g L 2 ([a, b], A 1,..., A n ). This linear mapping is denoted by F n where n is the dimension of the image space. Let us specially consider the discrete case, when an original function f(x) is known (may be computed) only at some nodes p 1,..., p l [a, b]. Then the (discrete) F-transform of f is introduced as follows. Definition 3 Let a function f(x) be given at nodes p 1,..., p l [a, b] and A 1 (x),..., A n (x), n l, be basic functions which form a fuzzy partition of [a, b]. We say that the n-tuple of real numbers [F 1,..., F n ] is the discrete F-transform of f with respect to A 1,..., A n if l j=1 F k = f(p j)a k (p j ) l j=1 A. (4) k(p j ) 2.1 Inverse F-transform A reasonable question is the following: can we reconstruct the function by its F-transform? The answer is clear: not precisely in general, because we are losing information when passing to the F- transform. However, the function that can be reconstructed (by the inversion formula) approximates the original one in such a way that a universal convergence can be established. Moreover, 664

the inverse F-transform fulfils the best approximation criterion which can be called the piecewise integral least square criterion. Definition 4 Let A 1 (x),..., A n (x) be basic functions which form a fuzzy partition of [a, b] and f(x) be a function from L 2 ([a, b], A 1,..., A n ). Let F n [f] = [F 1,..., F n ] be the integral F-transform of f with respect to A 1,..., A n. Then the function f F,n (x) = F k A k (x) (5) k=1 is called the inverse F-transform. The theorem below shows that the inverse F- transform f F,n can approximate the original continuous function f with an arbitrary precision. Theorem 1 Let f(x) be a continuous function on [a, b]. Then for any ε > 0 there exist n ε and a fuzzy partition A 1,..., A nε of [a, b] such that for all x [a, b] f(x) f F,nε (x) ε (6) where f F,nε is the inverse F-transform of f with respect to the fuzzy partition A 1,..., A nε. In the discrete case, we define the inverse F- transform only at nodes where the original function is given. Definition 5 Let function f(x) be given at nodes p 1,..., p l [a, b] and F n [f] = [F 1,..., F n ] be the discrete F- transform of f w.r.t. A 1,..., A n. Then the function f F,n (p j ) = F k A k (p j ), k=1 defined at the same nodes, is the inverse discrete F-transform. Analogously, the inverse discrete F-transform f F,n approximates the original function f at common nodes with an arbitrary precision. Moreover, the following theorem shows that the components of the discrete F-transform of f minimizes the weighted least squared criterion. Theorem 2 Let function f(x) be given at nodes p 1,..., p l [a, b] and A 1 (x),..., A n (x) be basic functions which form a fuzzy partition of [a, b]. Then the k-th component of the discrete F-transform gives minimum to the function Φ(y) = l (f(p j ) y) 2 A k (p j ) (7) j=1 with the domain [f(a), f(b)]. 3 F-Transforms of Functions of Two and More Variables The direct and inverse F-transforms of a function of two and more variables can be introduced as a direct generalization of the case of one variable. We will do it briefly and refer to [10] for more details. Suppose that the universe is a rectangle [a, b] [c, d] and x 1 <... < x n are fixed nodes from [a, b] and y 1 <... < y m are fixed nodes from [c, d], such that x 1 = a, x n = b, y 1 = c, x m = d and n, m 2. Let us formally extend the set of nodes by x 0 = a, y 0 = nd x n+1 = b, y m+1 = d. Assume that A 1 (x),..., A n (x) are basic functions which form a fuzzy partition of [a, b] and B 1 (x),..., B m (x) are basic functions which form a fuzzy partition of [c, d]. Let L 2 ([a, b] [c, d], A 1,..., A n, B 1,..., B m ) be the set of functions of two variables f(x, y) which are weighted square integrable on the domain [a, b] [c, d] with the weights given by all combinations A k (x)b l (y), k = 1,..., n, l = 1,..., m. Definition 6 Let A 1,..., A n (x) be basic functions which form a fuzzy partition of [a, b] and B 1 (x),..., B m (x) be basic functions which form a fuzzy partition of [c, d]. Let f(x, y) be any function from L 2 ([a, b] [c, d], A 1,..., A n, B 1,..., B m ). We say that the n m-matrix of real numbers F nm [f] = (F kl ) is the (integral) F-transform of f with respect to A 1,..., A n and B 1,..., B m if for each k = 1,..., n, l = 1,..., m, F kl = d c b a f(x, y)a k(x)b l (y)dxdy A. (8) k(x)b l (y)dxdy 665

In the discrete case, when an original function f(x, y) is known only at some nodes (p i, q j ) [a, b] [c, d], i = 1,..., I, j = 1,..., J, the (discrete) F-transform of f can be introduced analogously to the case of a function of one variable. As in the case of functions of one variable, the elements F kl, k = 1,..., n, l = 1,..., m, are called components of the F-transform. If the partitions of [a, b] and [c, d] by A 1,..., A n and B 1,..., B m are uniform then the expression (8) for the components of the F-transform may be simplified: F 11 = 4 F 1m = 4 F n1 = 4 F nm = 4 c a f(x, y)a 1 (x)b 1 (y)dxdy, f(x, y)a 1 (x)b m (y)dxdy, f(x, y)a n (x)b 1 (y)dxdy, f(x, y)a n (x)b m (y)dxdy, and for k = 2,..., n 1 and l = 2,..., m 1 F k1 = 2 F km = 2 F 1l = 2 F nl = 2 F kl = 1 c a f(x, y)a k (x)b 1 (y)dxdy, f(x, y)a k (x)b m (y)dxdy, f(x, y)a 1 (x)b l (y)dxdy, f(x, y)a n (x)b l (y)dxdy, f(x, y)a k (x)b l (y)dxdy. Remark 1 The expression (8) can be rewritten with the help of a repeated integral F kl = d c B l(y)dy b a f(x, y)a k(x)dx d c B l(y)dy b a A. k(x)dx On the basis of this expression, all the properties (linearity etc.) which have been proved for the F-transform of a function of one variable can be easily generalized and proved for the considered case too. Definition 7 Let A 1,..., A n (x) and B 1 (x),..., B m (x) be basic functions which form fuzzy partitions of [a, b] and [c, d] respectively. Let f(x, y) be a function from L 2 ([a, b] [c, d], A 1,..., A n, B 1,..., B m ) and F nm [f] be the F-transform of f with respect to A 1,..., A n and B 1,..., B m. Then the function f F nm(x, y) = k=1 l=1 m F kl A k (x)b l (y) (9) is called the the inverse F-transform. Similarly to the case of a function of one variable we can prove that the inverse F-transform f F n,m can approximate the original continuous function f with an arbitrary precision. Theorem 3 Let f(x, y) be any continuous function on [a, b] [c, d]. Then for any ε > 0 there exist n ε, m ε and fuzzy partitions A 1,..., A nε and B 1,..., B mε of [a, b] and [c, d] respectively, such that for all (x, y) [a, b] [c, d] f(x, y) f F n εm ε (x, y) ε. (10) The function fn F εm ε in (10) is the inverse F- transform of f with respect to A 1,..., A nε and B 1,..., B mε. 4 Application of the F-transform to Image Compression and Reconstruction A method of lossy image compression and reconstruction on the basis of fuzzy relations has been proposed in a number of papers (see e.g. [1, 3]). Let us briefly formulate this problem and show that the technique of the F-transform can be successfully applied. Moreover, we will compare a method proposed here with the known methods proposed in the papers cited above and prove the advantage of our proposal. Let an image I of the size N M pixels be represented by a function of two variables (a fuzzy relation) f I : N N [0, 1] partially defined at nodes (i, j) [1, N] [1, M]. The value f I (i, j) represents an intensity range of each pixel. We propose to compress this image with the help 666

of the discrete F-transform of a function of two variables by the n m-matrix of real numbers F nm [f I ] = (F kl ) where F kl = M N j=1 i=1 f I(i, j)a k (i)b l (j) M N j=1 i=1 A k(i)b l (j) and A 1,..., A n, B 1,..., B m where n N, m M, be basic functions which form fuzzy partitions of [1, N] and [1, M], respectively. A reconstruction of the image f I, being compressed by F nm [f I ] = (F kl ) with respect to A 1,..., A n and B 1,..., B m, is given by the inverse F-transform (9) adapted to the domain [1, N] [1, M]: f F nm(i, j) = k=1 l=1 m F kl A k (i)b l (j). On the basis of Theorem 3, we are convinced that the reconstructed image is close to the original one and moreover, it can be obtained with a prescribed level of accuracy. Let us illustrate the proposed method on Fig. 1. To show the advantage of this method over other ones proposed in [1, 3], let us remark that the latter methods are based precisely on our concept of F -transform presented in [9]. On the basis of theorems, proved in [9], we may state that the compression which is based on the F- transform, leads to a better approximation of an original image than the compressions based either on the mentioned above F -transform, or on the other lattice-based F-transform presented in [9]. Moreover, the computational complexity of the F-transform based compression is lower. To justify this claim we have evaluated the quality of the reconstructed image of Lena (this benchmark is not presented in this contribution due the space limitation) with help of PSNR value given by 255 P SNR = 20log 10 ε where ε is the root mean square error (RMSE) given by ε = N n i=1 j=m (f I(i, j) fnm(i, F j)). MN For the F-transform based compression with the ratio 0.25 we have obtained the following: P SNR = 76.01 RMSE = 0.04. On the basis of Theorem 2, we may proclaim that the obtained quality is the best one in the class of other compression methods based on fuzzy relations. We will not go into further details in this paper since a detailed paper on the compression methods is in preparation. Let us only illustrate our conclusion by an example of the same image as in Fig. 1 which has been compressed and reconstructed with the help of the F -transform, based on Lukasiewicz algebra (cf. [1]). Figure 1: The image a) is compressed with the ratio 0.25 and the compressed image is shown on c). The reconstructed image is shown on b) and the reconstructed image sharpened by a simple algorithm is shown on d). 5 Conclusion We have introduced a new technique of direct and inverse fuzzy transforms (F-transforms for short) which enables us to construct various approximating models depending on the choice of basic functions. The best approximation property of the 667

[7] I. Perfilieva, Fuzzy Transform: Application to Reef Growth Problem, in: R. B. Demicco, G. J. Klir (Eds.), Fuzzy Logic in Geology, Academic Press, Amsterdam, 2003, pp. 275 300. Figure 2: The image a) is compressed with the ratio 0.25 and the reconstructed images are shown on b) (by the F-transform) and d) (by the F - transform). inverse F-transform is established within the respective approximating space. A method of lossy compression and reconstruction data on the basis of fuzzy transforms has been proposed and its advantage over the similar method based on a lattice-based F-transform is discussed. The proposed method can be applied not only to pictures, but also to musind other kind of digital data. References [8] I. Perfilieva, Logical Approximation, Soft Computing 7 (2002) 73 78. [9] I. Perfilieva, E. Chaldeeva, Fuzzy Transformation, in: Proc. of IFSA 2001 World Congress, Vancouver, Canada, 2001. [10] M. Štepnička, R. Valášek, Fuzzy Transforms for Functions with Two Variables, in: J. Ramík, V. Novák (Eds.), Methods for Decision Support in Environment with Uncertainty Applications in Economics, Business and Engineering, University of Ostrava, IRAFM, 2003, pp. 96 102. [11] L. A. Zadeh, Outline of a new approach to the analysis of complex systems and decision processes, IEEE Trans. on Systems, Man, and Cybernetics, SMC-3 (1973) 28 44. [1] K. Hirota, W. Pedricz, Fuzzy relational compression, IEEE Trans. Syst., Man, Cyber. 29 (1999) 407 415. [2] R. Kruse, J. Gebhart, F. Klawonn, Fuzzy- Systeme, B.E. Teubner, Stuttgart, 1993. [3] V. Loia, S. Sessa, Fuzzy relation equations for coding/decoding processes of images and videos, Information Sciences, 2005, to appear. [4] V. Novák, I. Perfilieva, J. Močkoř, Mathematical Principles of Fuzzy Logic, Boston/Dordrecht, 1999. [5] V. Novk, I. Perfilieva, On Semantics of Perception-Based Fuzzy Logic Deduction, Int. Journal of Intelligent Systems 19 (2004) 1007 1031. [6] I. Perfilieva, Normal Forms in BL-algebra of functions and their contribution to universal approximation, Fuzzy Sets and Systems 143 (2004) 111 127. 668