- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Annual Issues
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Reviewers Acknowledgment
- Submit a Manuscript
- Subscription Information
- Table of Contents
Advances in Fuzzy Systems
Volume 2013 (2013), Article ID 760704, 10 pages
Image Matching by Using Fuzzy Transforms
Dipartimento di Architettura, Università degli Studi di Napoli Federico II, Via Monteoliveto 3, 80134 Napoli, Italy
Received 3 March 2013; Accepted 9 May 2013
Academic Editor: Irina Perfilieva
Copyright © 2013 Ferdinando Di Martino and Salvatore Sessa. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
We apply the concept of Fuzzy Transform (for short, F-transform) for improving the results of the image matching based on the Greatest Eigen Fuzzy Set (for short, GEFS) with respect to max-min composition and the Smallest Eigen Fuzzy Set (for short, SEFS) with respect to min-max composition already studied in the literature. The direct F-transform of an image can be compared with the direct F-transform of a sample image to be matched and we use suitable indexes to measure the grade of similarity between the two images. We make our experiments on the image dataset extracted from the well-known Prima Project View Sphere Database, comparing the results obtained with this method with that one based on the GEFS and SEFS. Other experiments are performed on frames of videos extracted from the Ohio State University dataset.
Solution methods of fuzzy relational equations have been well studied in the literature (cf., e.g., [1–15]) and applied to image processing problems like image compression [16–19] and image reconstruction [7, 8, 20–22]. In particular, Eigen Fuzzy Sets [23–25] have been applied to image processing and medical diagnosis [2, 6, 7, 16]. If an image of sizes (pixels) is interpreted as a fuzzy relation on the set , the concepts of the Greatest Eigen Fuzzy Set (for short, GEFS) of with respect to the max-min composition and of the Smallest Eigen Fuzzy Set (for short, SEFS) of with respect to the min-max decomposition [2, 24, 25] were studied and used in [26, 27] for an image matching process defined over square images. The GEFS and SEFS of the original image are compared with the GEFS and SEFS of the image to be matched by using a similarity measure based on the Root Mean Square Error (for short, RMSE). The advantage of using GEFS and SEFS is in terms of memory storage is that we can indeed compress an image dataset (in which each image has sizes ) in a dataset in which each image is stored by means of its GEFS and SEFS which have total dimension .
The main disadvantage of using GEFS and SEFS is that we cannot compare images in which the number of rows is different from the number of columns. Our aim is to show that we can use an F-transform for image matching problems, reducing an image dataset of sizes (in general, is not necessarily equal to ) into a dataset of dimensions comparable with that one obtained by using GEFS and SEFS if , so having convenience in terms of memory storage.
The F-transform based method [28–30] is used in the literature for image and video compression [29, 31–33], image segmentation , and data analysis [22, 34]; indeed, in [31, 32] the quality of the decoded images obtained by using the F-transform compression method is shown to be better than that one obtained with the fuzzy relation equations and fully comparable with the JPEG technique.
The main characteristic of the F-transform method is to maintain an acceptable quality in the reconstructed image even under strong compression rates; indeed in  the authors show that the segmentation process can be applied directly over the compressed images. Here we use the direct F-transform in image matching analysis with the aim of reducing the memory used to store the image dataset. In fact, we compress a monochromatic image (or a band of a multiband image) of sizes via the direct F-transform to a matrix of sizes using a compression rate .
By using a distance, we compare the F-transform of each image with the F-transform of the sample image. We also adopt a preprocessing phase for compressing each image with several compression rates. In Figure 1 we show the preprocessing phase on a dataset of color images. We compress each color image in the three monochromatic components corresponding to the three bands , , and .
At the end of the preprocessing phase we can use the compressed image dataset for image matching analysis. Supposing that the original image dataset was composed by s color images of sizes using a compression rate , we obtain that the dimension of the compressed image dataset is constituted totally of pixels.
In Figure 2 we schematize the image matching process. The sample image is compressed by the F-transform method; then we compare the three compressed bands of each image obtained via F-transform with those ones deduced for the sample image by using the Peak Signal to Noise Ratio (for short, PSNR). At the end of this process, we determine the image in the dataset with the greatest overall PSNR with respect to the sample image.
Here a monochromatic image or a band of a color image of sizes is interpreted as a fuzzy relation whose entries are obtained by normalizing the intensity of each pixel with respect to the length of the scale, that is, . We show that our F-transform approach can be also applied in image matching processes to images of sizes (eventually, ), giving analogous results with respect to that one obtained with GEFS and SEFS based method. The comparison tests are made on the color image dataset extracted from View Sphere Database, an image dataset consisting in a set of images of objects in which an object is photographed from various directions by using a camera placed on a semisphere whose center is the same considered object. We also use the Ohio State University color video datasets sample for our tests. Each video is composed by frames consisting of color images; we show the results for the Mom-Daughter and sflowg motions. In Section 2 we recall the concepts of F-transform in two variables. In Section 3 we recall the GEFS and SEFS based method; in Section 4 we propose our image matching method based on the F-transforms. Our experiments are illustrated in Section 5, and Section 6 is conclusive.
2. F-Transforms in Two Variables
Following  and limiting ourselves to the discrete case, let and be a increasing sequence of points (nodes) of , . We say that the fuzzy sets (basic functions) form a fuzzy partition of if the following hold: (1) for every ;(2) if for ;(3) is a continuous function on ;(4) strictly increases on  for and strictly decreases on for ;(5) for every .
The fuzzy partition is said to be uniform if (6) and , where and (equidistant nodes);(7) for every and ;(8) for every and .
Let , be nodes such that . Furthermore, let be a fuzzy partition of , and let be an assigned function, , with and being “sufficiently dense” sets with respect to the chosen partitions; that is for each (resp., ) there exists an index (resp., ) such that (resp., ). The matrix is said to be the direct F-transform of with respect to and if we have for each and Then the inverse F-transform of with respect to and is the function defined as The following existence theorem holds .
Theorem 1. Let be a given function, , with and . Then for every , there exist two integers , and related fuzzy partitions of and of such that the sets , are sufficiently dense with respect to such partitions and is satisfied for every and .
Let be a gray image of sizes , seen as , with being the normalized value of the pixel given by if is the length of the gray scale. In  is compressed via the F-transform defined for each and as where , , , , , and (resp., ), (resp., ), is a fuzzy partition of (resp., ). The following fuzzy relation is the decoded version of and it is defined as for every . We have subdivided in submatrices of sizes , called blocks (cf., e.g., [2, 16]), compressed to blocks of sizes via defined for each and as The basic functions (resp., ), defined below, constitute a uniform fuzzy partition of (resp., ): where , , , , and where , , , . We decompress to of sizes by setting for every which approximates up to an arbitrary quantity in the sense of Theorem 1, which, unfortunately, does not give a method for finding two integers and such that . Then we prove several values of and . For every compression rate , we evaluate the quality of the reconstructed image via the PSNR defined as where is Here is the reconstructed image obtained by recomposing the blocks .
3. Max-Min and Min-Max Eigen Fuzzy Sets
Let be a nonempty finite set, and , such that where “” is the max-min composition. In terms of membership functions, we have that for all and is defined as an Eigen Fuzzy Set of . Let , , be defined iteratively by It is known [2, 24, 25] that there exists an integer such that is the GEFS of with respect to the max-min composition. We also consider the following: where “” denotes the min-max composition, that is, in terms of membership functions: for all and is also defined to be an Eigen Fuzzy Set of with respect to the min-max composition. It is easily seen that (14) is equivalent to the following: where and are pointwise defined as and for all . Since for some is the GEFS of with respect to the max-min composition, it is immediately proved that the fuzzy set defined as for every is the SEFS of with respect to the min-max composition.
In  a distance based on GEFS and SEFS for image matching is used over images of sizes . Indeed, considering two single-band images of sizes , say and , such distance is given by where , , are the GEFS and SEFS of the fuzzy relation , respectively, obtained by normalizing in the pixels of the image .
In [26, 27] experiments are presented over color images of sizes concerning two objects (an eraser and a pen) extracted from View Sphere Database. Each object is put in the center of a semisphere on which a camera is placed in 91 different directions. The camera establishes an image (photography) of the object for each direction which can be identified from two angles and as illustrated in Figure 3.
A sample image (with given , for the eraser and , for the pen) is to be compared with another image chosen among the remaining 90 directions. GEFS and SEFS are calculated in the three components of each image in the RGB space, for which it is natural to assume the following extension of (17): where , , are the measures (17) calculated in each band , , . For image matching, the GEFS and SEFS components in each band are extracted from each image, thus forming a dataset with reduced storage memory. An image is compared with the images in the dataset using (18). If the dataset contains color images of sizes and the dimension of the original dataset is , then the dimension of the GEFS and SEFS dataset is , so we have a compression rate given by So we obtain a compression rate if .
4. The Image Matching Process via F-Transforms
We consider an image dataset formed by color images of sizes . In the preprocessing phase we compress each image of the dataset using the direct F-transform. Each image is divided in blocks of sizes and each block is compressed in a block of sizes . Thus the images are coded with a compression rate . In our experiments we set the sizes of the original and compressed blocks, so that is comparable with (18). For example, for , we use and , so .
In the reduced dataset we store the F-transform components of each image. We use the PSNR between a sample image and an image defined for every compression rate (cf. (9)) as where RMSE (Root Mean Square Error) is given by (cf. (10)) If we have color images, we define an overall PSNR as where , , are the similarity measures (20) calculated in each band , , compression rate . In our experiments we compare the results obtained by using the F-transforms (resp., GEFS and SEFS) based method with the PSNR (20) (resp. (18)). We use the color image datasets of 256 gray levels and of sizes pixels, available in the View Sphere Database for each object considered, the best image of the object itself maximizes the PSNR (22). In other experiments we use our F-transform method over color video datasets in which each frame is formed by images of 256 gray levels and of sizes , available in the Ohio University sample digital color video database. A color video is schematically formed by a sequence of frames. If we consider a frame in a video as the sample image, we prove that the image with greatest PSNR with respect to the sample image is an image with frame number close to the frame number of the sample image.
5. Results of Tests
We compare results obtained by using the GEFS and SEFS and F-transform based methods for image matching on all the image datasets, each of sizes , extracted from the View Sphere Database. In the first image dataset, concerning an eraser, we consider, as sample image , the image obtained from the camera in the direction with angles and . For brevity, we consider a dataset of 40 test images, and we compare with the images considered in the remaining 40 other directions. In Table 1 (resp., Table 2) we report the distances (17) and (18) (resp., PSNR (20) and (22) with ) obtained using the GEFS and SEFS (resp., F-transform) based method.
As we can see from Tables 1 and 2, both methods give the same reply: the better image similar with the image eraser in the direction and (Figure 5) is given from that one at and (Figure 6). The trend in Figure 4 shows that the value of the distance (18) increases as the PSNR decreases.
In order to have a further confirmation of our approach, we have considered a second object, a pen, contained in the View Sphere Database whose sample image is obtained from the camera in the direction with angles and . We also limit the problem to a dataset of 40 test images whose best distances (17) and (18) (resp., (20) and (22) with ) under the SEFS and GEFS (resp., F-transform) based method, are reported in Table 3 (resp., Table 4).
In Figure 7 we show the trend of the index PSNR obtained by the F-transform method with respect to the distance obtained by using the GEFS and SEFS method. As we can see from Tables 3 and 4, in both methods the best image similar to the original image in the directions and (Figure 8) is given from that one at and (Figure 9). Also in this example, the trend in Figure 7 shows that the value of the distance (18) increases as the PSNR decreases.
Now we present the results over a sequence of frames of a video, Mom-Daughter, available in the Ohio University sample digital color video database. Each frame is a color image of sizes with 256 gray levels for each band. We use our method with a compression rate ; that is, in each band every frame is decomposed in 150 blocks, and each block has sizes compressed to a block of sizes . Since , the GEFS and SEFS based method is not applicable. We set the sample image as the image corresponding to the first frame of the video. We expect that the frame number of the image with higher PSNR with respect to the sample image is the image with frame number close to the frame number of sample image. In Table 5 we report the best results obtained using the F-transform based method in terms of the (20) and (22) with . As expected, albeit with slight variations, all the PSNRs diminish by increasing of the frame number, and the second frame (Figure 11) is the frame with the greatest PSNR w. r. t. the first frame (Figure 10) containing the sample image.
In Figure 12 we show the trend of the PSNR (22) with the frame number. This trend is obtained for all the sample video frames in the video dataset. For reasons of brevity, now we report only the results obtained for another test performed on the sequence of frames of another video in the Ohio sample digital video database, the video sflowg. The PSNR in Figure 15 diminishes by increasing the frame number, and the second frame (Figure 14) is the frame with the greatest PSNR w. r. t. the first frame (Figure 13) containing the sample image.
For supporting the validity of the F-transform method for all the sample frames, we measure, for the frame with the greatest PSNR w.r.t the sample frame, the correspondent value PSNR0 obtained by using the original frame instead of the correspondent compressed frame decoded via the inverse F-Transform. In Figure 16 we show the trend of the difference PSNR0 − PSNR with respect to PSNR0. The trend indicates that this difference is always less than 2. This result shows that if we compress the images in the dataset with rate by using the F-transform method, we can use the compressed image dataset for image matching processes, comparing the decompressed image with respect to a sample image despite the loss of information due to the compression.
The results on the images of sizes of the View Sphere Image Database show that, using our F-transform based method, we obtain the same results in terms of image matching and in terms of reduced memory storage reached also via the GEFS and SEFS based method, which is applicable only over images with , while our method concerns images of any sizes.
Moreover our tests executed on color video frames of sizes (, pixels with 256 gray levels) of the Ohio University color videos dataset show that, by choosing the first frame as the sample image, we obtain as image with the highest PSNR that one corresponding to the successive frame, as expected, although a loss of information on the decoded images because of the compression process.
- I. Bartolini, P. Ciaccia, and M. Patella, “Query processing issues in region-based image databases,” Knowledge and Information Systems, vol. 25, no. 2, pp. 389–420, 2010.
- B. De Baets, “Analytical solution methods for fuzzy relational equations,” in Fundamentals of Fuzzy Sets, D. Dubois and H. Prade, Eds., vol. 1 of The Handbooks of Fuzzy Sets Series, pp. 291–340, Kluwer Academic Publishers, Dordrecht, The Netherlands, 2000.
- A. Di Nola, W. Pedrycz, S. Sessa, and E. Sanchez, Fuzzy Relation Equations and Their Application to Knowledge Engineering, Kluwer Academic Publishers, Dordrecht, The Netherlands, 1989.
- M. Higashi and G. J. Klir, “Resolution of finite fuzzy relation equations,” Fuzzy Sets and Systems, vol. 13, no. 1, pp. 65–82, 1984.
- P. Li and S. C. Fang, “A survey on fuzzy relational equations, part I: classification and solvability,” Fuzzy Optimization and Decision Making, vol. 8, no. 2, pp. 179–229, 2009.
- V. Loia, W. Pedrycz, and S. Sessa, “Fuzzy relation calculus in the compression and decompression of fuzzy relations,” International Journal of Image and Graphics, vol. 2, no. 4, pp. 617–631, 2002.
- A. V. Markovskii, “On the relation between equations with max-product composition and the covering problem,” Fuzzy Sets and Systems, vol. 153, no. 2, pp. 261–273, 2005.
- M. Miyakoshi and M. Shimbo, “Lower solutions of systems of fuzzy equations,” Fuzzy Sets and Systems, vol. 19, no. 1, pp. 37–46, 1986.
- K. Peeva, “Resolution of min-max fuzzy relational equations,” in Fuzzy Partial Differential Equations and Relational Equations, M. Nikravesh, L. A. Zadeh, and V. Korotkikh, Eds., pp. 153–166, Springer, New York, NY, USA, 2004.
- K. Peeva, “Universal algorithm for solving fuzzy relational equations,” Italian Jour-Nal of Pure and Applied Mathematics, vol. 19, pp. 9–20, 2006.
- K. Peeva and Y. Kyosev, “Algorithm for solving max-product fuzzy relational equations,” Soft Computing, vol. 11, no. 7, pp. 593–605, 2007.
- K. Peeva and Y. Kyosev, Fuzzy Relational Calculus-Theory, Applications and Software, vol. 22 of Advances in Fuzzy Systems—Applications and Theory, World Scientific Publishing, River Edge, NJ, USA, 2004.
- E. Sanchez, “Resolution of composite fuzzy relation equations,” Information and Control, vol. 30, no. 1, pp. 38–48, 1976.
- B. S. Shieh, “New resolution of finite fuzzy relation equations with max-min composition,” International Journal of Uncertainty, Fuzziness and Knowlege-Based Systems, vol. 16, no. 1, pp. 19–33, 2008.
- Y. K. Wu and S. M. Guu, “An efficient procedure for solving a fuzzy relational equation with max-Archimedean t-norm composition,” IEEE Transactions on Fuzzy Systems, vol. 16, no. 1, pp. 73–84, 2008.
- F. Di Martino, V. Loia, and S. Sessa, “A method in the compression/decompression of images using fuzzy equations and fuzzy similarities,” in Proceedings of IFSA Conference, pp. 524–527, 2003.
- F. Di Martino, V. Loia, and S. Sessa, “A method for coding/decoding images by using fuzzy relation equations,” in 10th International Fuzzy Systems Association World Congress, T. Bilgic, B. De Baets, and O. Kaynak, Eds., vol. 2715 of Lecture Notes in Artificial Intelligence, pp. 436–441, Springer, Berlin, Germany, July 2003.
- V. Loia and S. Sessa, “Fuzzy relation equations for coding/decoding processes of images and videos,” Information Sciences, vol. 171, no. 1-3, pp. 145–172, 2005.
- H. Nobuhara, W. Pedrycz, and K. Hirota, “Fast solving method of fuzzy relational equation and its application to lossy image compression/reconstruction,” IEEE Transactions on Fuzzy Systems, vol. 8, no. 3, pp. 325–334, 2000.
- F. Di Martino, V. Loia, and S. Sessa, “A segmentation method for images compressed by fuzzy transforms,” Fuzzy Sets and Systems, vol. 161, no. 1, pp. 56–74, 2010, Special section: New Trends on Pattern Recognition with Fuzzy Models.
- J. Lu, R. Li, Y. Zhang, T. Zhao, and Z. Lu, “Image annotation techniques based on feature selection for class-pairs,” Knowledge and Information Systems, vol. 24, no. 2, pp. 325–337, 2010.
- I. Perfilieva, V. Novák, and A. Dvořák, “Fuzzy transform in the analysis of data,” International Journal of Approximate Reasoning, vol. 48, no. 1, pp. 36–46, 2008.
- L. Chen and P. Wang, “Fuzzy relational equations (I): the general and specialized solving algorithms,” Soft Computing, vol. 6, pp. 428–435, 2002.
- E. Sanchez, “Resolution of Eigen fuzzy sets equations,” Fuzzy Sets and Systems, vol. 1, no. 1, pp. 69–74, 1978.
- E. Sanchez, “Eigen fuzzy sets and fuzzy relations,” Journal of Mathematical Analysis and Applications, vol. 81, no. 2, pp. 399–421, 1981.
- F. Di Martino, S. Sessa, and H. Nobuhara, “Eigen fuzzy sets and image information retrieval,” in Proceedings of IEEE International Conference on Fuzzy Systems, vol. 3, pp. 1385–1390, IEEE Press, July 2004.
- F. Di Martino, H. Nobuhara, and S. Sessa, “Eigen fuzzy sets and image information retrieval,” in Handbook of Granular ComputIng, W. Pedrycz, A. Skowron, and V. Kreinovich, Eds., pp. 863–872, John Wiley & Sons, Chichester, UK, 2008.
- I. Perfilieva, “Fuzzy transforms: application to reef growth problem,” in Fuzzy Logic in Geology, R. B. Demicco and G. J. Klir, Eds., pp. 275–300, Academic Press, Amsterdam, The Netherlands, 2003.
- I. Perfilieva, “Fuzzy transforms: theory and applications,” Fuzzy Sets and Systems, vol. 157, no. 8, pp. 993–1023, 2006.
- I. Perfilieva and E. Chaldeeva, “Fuzzy transformation,” in Proceedings of 9th IFSA World Congress and 20th NAFIPS International Conference, pp. 1946–1948, 2001.
- F. Di Martino, V. Loia, I. Perfilieva, and S. Sessa, “An image coding/decoding method based on direct and inverse fuzzy transforms,” International Journal of Approximate Reasoning, vol. 48, no. 1, pp. 110–131, 2008.
- F. Di Martino and S. Sessa, “Compression and decompression of images with discrete fuzzy transforms,” Information Sciences, vol. 177, no. 11, pp. 2349–2362, 2007.
- I. Perfilieva and B. De Baets, “Fuzzy transforms of monotone functions with application to image compression,” Information Sciences, vol. 180, no. 17, pp. 3304–3315, 2010.
- F. Di Martino, V. Loia, and S. Sessa, “Fuzzy transforms method and attribute dependency in data analysis,” Information Sciences, vol. 180, no. 4, pp. 493–505, 2010.