scieee AI-readable full text Open interactive document viewer

Automatic material recognition using computer vision

Ruiz Cepeda, José Vicente

Abstract

[EN] The ability to correctly identify the materials of objects in the real world is key in human’s life. Therefore, an automatic system with that skill would be a great step in the path to simulate human vision. This work describes a new approach to try to solve this still open problem where the key idea is the use of image-inferable properties as an intermediate step to recognize materials. The algorithm is based on the extraction and quantization of SIFT descriptors, which are later used to train SVMs to recognize material properties, both of touch and shape, at different scales. Finally, models based on Naive Bayes and SVMs are trained and compared in terms of material recognition from the properties. Despite of the high cost of the markup, this approach offers interesting intermediate results and competitive accuracy compared with other methods applied to the same image dataset.

Full text

Escola Tècnica Superior d’Enginyeria Informàtica Universitat Politècnica de València Automatic Material Recognition Using Computer Vision Trabajo Final de Grado Grado en Ingeniería Informática UIUC advisor David A. Forsyth <[email protected]> UPV advisor Roberto Paredes <[email protected]> Student José Vicente Ruiz Cepeda <[email protected]> Curso 2013 / 2014 José Vicente Ruiz Cepeda Resumen La habilidad de identificar los materiales de los objetos del mundo real es clave para los seres humanos. Por ello, un sistema automático con esta capacidad sería un gran paso en el camino hacia la simulación de la visión humana. Este trabajo describe una nueva aproximación para intentar resolver este problema aún abierto, donde la idea clave es el uso de propiedades inferibles a través de las imágenes como paso intermedio para reconocer materiales. El algoritmo se basa en la extracción y cuantización de descriptores SIFT, que son usados para entrenar SVMs en el reconocimiento de propiedades de los materiales, tanto táctiles como de forma, en diferentes escalas. Finalmente, modelos basados en Naive Bayes ySVMs son entrenados y comparados para clasificar materiales a partir de las propiedades. A pesar del alto costo del marcado, esta aproximación ofrece interesantes resultados intermedios y precisión competitiva con otros métodos utilizados sobre el mismo conjunto de imágenes. Palabras clave: Vision por Computador, reconocimiento de materiales, SVM, SIFT. Abstract The ability to correctly identify the materials of objects in the real world is key in human’s life. Therefore, an automatic system with that skill would be a great step in the path to simulate human vision. This work describes a new approach to try to solve this still open problem where the key idea is the use of image-inferable properties as an intermediate step to recognize materials. The algorithm is based on the extraction and quantization of SIFT descriptors, which are later used to train SVMs to recognize material properties, both of touch and shape, at different scales. Finally, models based on Naive Bayes and SVMs are trained and compared in terms of material recognition from the properties. Despite of the high cost of the markup, this approach offers interesting intermediate results and competitive accuracy compared with other methods applied to the same image dataset. Keywords: Computer Vision, material recognition, SVM, SIFT. 3 Automatic Material Recognition Using Computer Vision Contents 1 Introduction 6 2 Dataset 6 3 Algorithm 9 3.1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 From images to properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2.1 Manual markup of properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2.2 Extraction of Scale-Invariant Feature Transform (SIFT) descriptors . . . . . 10 3.2.3 Vector quantization through k-means clustering . . . . . . . . . . . . . . . . 13 3.2.4 Support Vector Machines (SVMs) for properties recognition . . . . . . . . . . 14 3.3 From properties to materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.3.1 Support Vector Machines (SVMs) for material recognition . . . . . . . . . . . 14 3.3.2 Naive Bayes classifier for material recognition . . . . . . . . . . . . . . . . . . 15 4 Approach motivation 15 4.1 Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2 Drawbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5 Engineering 16 5.1 Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2 Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.3 Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6 Results 17 6.1 Parameter tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6.2 Properties recognition accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.3 Confusion matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.4 Material recognition accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7 Conclusions and future work 37 A Markup 39 A.1 Birch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 A.2 Brick . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 A.3 Concrete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 A.4 Corduroy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 A.5 Denim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 A.6 Elm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 A.7 Feathers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 A.8 Fur . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 A.9 Hair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 A.10 KnitAran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 A.11 KnitGuernsey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 A.12 Leather . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 A.13 Marble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 A.14 Scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 4 José Vicente Ruiz Cepeda A.15 Silk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 A.16 Slate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 A.17 Stucco . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 A.18 Velour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 B Materials by property 96 B.1 Coarse scale - Bumpy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 B.2 Coarse scale - Coarse touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 B.3 Coarse scale - Extended disorganized shape images . . . . . . . . . . . . . . . . . . . 98 B.4 Coarse scale - Extended organized shape images . . . . . . . . . . . . . . . . . . . . 99 B.5 Coarse scale - Feathery touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 B.6 Coarse scale - Flat shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 B.7 Coarse scale - Furry touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 B.8 Coarse scale - Round shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 B.9 Coarse scale - Scratchy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 B.10 Coarse scale - Smooth touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 B.11 Coarse scale - Velvety touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 B.12 Fine scale - Bumpy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 B.13 Fine scale - Coarse touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 B.14 Fine scale - Extended disorganized shape images . . . . . . . . . . . . . . . . . . . . 109 B.15 Fine scale - Extended organized shape images . . . . . . . . . . . . . . . . . . . . . . 110 B.16 Fine scale - Flat shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 B.17 Fine scale - Furry touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 B.18 Fine scale - Round shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 B.19 Fine scale - Scratchy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 B.20 Fine scale - Smooth touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 B.21 Fine scale - Velvety touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 B.22 Medium scale - Bumpy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 B.23 Medium scale - Coarse touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 B.24 Medium scale - Extended disorganized shape images . . . . . . . . . . . . . . . . . . 119 B.25 Medium scale - Extended organized shape images . . . . . . . . . . . . . . . . . . . 120 B.26 Medium scale - Feathery touch images . . . . . . . . . . . . . . . . . . . . . . . . . . 121 B.27 Medium scale - Flat shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 B.28 Medium scale - Furry touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 B.29 Medium scale - Round shape images . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 B.30 Medium scale - Scratchy touch images . . . . . . . . . . . . . . . . . . . . . . . . . . 125 B.31 Medium scale - Smooth touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 B.32 Medium scale - Velvety touch images . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 5 Automatic Material Recognition Using Computer Vision 1 Introduction The word material has its origin in the Latin word ‘materia’, in English, matter. In the same way that reality is made of matter, every concrete entity can be defined in terms of materials: the silk of a dress, the scales of a python or the concrete of the pavement, for example. Therefore, materials represent an important part of the real world, since they are the key to understand and infer the physical properties of objects just looking at them. Human beings, thanks to thousand of years of evolution, have become very good at recognizing materials. This skill could even determine the difference between life and death in the beginning of times, when being able to start a fire depended on choosing the right type of rock to make sparks. Nowadays, fortunately, our life does not depend on this ability, but we still use it everyday, even without noticing, for example, when deciding which side of a sidewalk step to avoid slippery ice during winter. Because of all of this, an automatic system able to see the objects and recognize their materials would be really valuable, since it would be one more step on the way of building a machine able to see as well as a human, or even better. In that sense, despite of the achievements of Computer Vision, material recognition is still an open problem in the field. We present a new approach in the problem of materials recognition, using feature extraction methods and Support Vector Machines (SVMs) to obtain the physical properties of the objects and applying SVMs again to this intermediate dataset to obtain the final material category in a set of 18 possible ones. The obtained results using the dataset of [3] beat any other system used on this dataset and prove that this approach has a great potential as a first step in the solution to the problem. 2 Dataset The dataset comes from [3] and is composed of 18 material categories: 1. Birch. 2. Brick. 3. Concrete. 4. Corduroy. 5. Denim. 6. Elm. 7. Feathers. 8. Fur. 9. Hair. 10. KnitAran. 11. KnitGuernsey. 12. Leather. 13. Marble. 14. Scale. 15. Silk. 16. Slate. 17. Stucco. 18. Velour. Each category contains 12 different sample images in PNG format with resolutions generally around 400 x 400 pixels. Therefore, the total number of sample images is 216, two of which can be seen in figures 1 and 2. 6 José Vicente Ruiz Cepeda Figure 1: Birch/04.png Figure 2: Denim/07.png Each sample contains a material in the central part of the image that, most of the times, extends till the borders of it. In some cases, watermarks and other kinds of noise appear in the image. The whole dataset, with reduced scale and each category in one row, can be seen in figure 4. Figure 3: Example of images with noise: Hair/10.png and Knitguernsey/02.png 7 Automatic Material Recognition Using Computer Vision Figure 4: Complete dataset 8 José Vicente Ruiz Cepeda 3 Algorithm 3.1 Outline The classification process is divided in two main phases: • In the first phase, the material properties are inferred from the images. To achieve this, SIFT descriptors are extracted from all the sample images. Next, a vector quantization process is applied over them using k-means. The results are finally used as input feature vectors for the SVMs, along with manually defined markup of properties. • In the second phase, the material label is obtained using the inferred material properties. For this purpose, the vectors of properties and the real material labels are used as input for SVMs and Naive Bayes classifiers. 3.2 From images to properties 3.2.1 Manual markup of properties The first step is to manually markup the properties of each of the sample images. This procedure consists on defining its shape and touch for the fine,medium and coarse scales. Figure 5 shows an example of the approximate size of them, although its position can be arbitrary. Figure 5: Visual representation of the different scales. 9 Automatic Material Recognition Using Computer Vision 4.1 Advantages Thanks to the intermediate classification step, the approach presents several clear advantages: • In case of absolute lack of samples of one class, the approach would, at least, be able to compute its properties if they are present in other samples of the dataset. • A classification of an image with only one training sample of that same material would be possible with relative robustness, again, if its properties are present in other samples. 4.2 Drawbacks Also, some drawbacks are inherent to the use of more steps in the classification process: • The recognition of material properties is based on a supervised learning that requires a costly manual markup of the properties. Unfortunately, the more powerful, varied and precise the vocabulary, the more costly the process of marking the images. • The computational cost of the algorithm increases because of the double recognition problem, first properties, then materials. 5 Engineering 5.1 Tools The main tool used while completing this project has been MATLAB. Its powerful built-in functions and routines for vector and matrix manipulation, along with its wide popularity in academia and, in particular, among the image processing scientists, made it really suitable for the purpose. All the code has been written in MATLAB programming language and the debugger that comes with its IDE has been widely used to test and polish it. The text editor used to write all the code has been Sublime Text 2, because of its flexibility, MATLAB syntax highlight and features like multiple cursors or quick selection of the same word, which make the coding task much easier and smooth. This report has been generated using L A T EX. The main reason to choose it over a WYSIWYG editor are the look and feel of the result and its flexibility in many aspects, like the definition of reusable functions or the availability of packages for almost any imaginable task. 5.2 Libraries VLFeat has been the main library for this project. Its functions for SIFT,k-means and SVMs have been really helpful for the implementation. For a complete reference about the library, [6] should be checked. 16 José Vicente Ruiz Cepeda 5.3 Maintenance Every part of this project has been included in the version-control system Git since the beginning, and uploaded frequently to Github3, a website where the code is publicly available. Besides, MATLAB code has been written taking into account one of the most important styleguides of the language [2], to produce code cleaner and easier to read and understand. Also, comments have been included to emphasize even more the later point. 6 Results 6.1 Parameter tuning Given that several steps of the algorithm produce slightly different outputs depending on some predefined parameters, it is natural to have an interest to find the combination of parameter values that gives the best results. In order to achieve that, the following parameters were considered: • Maximum number of SIFT descriptors per sample image and, related to it, density of SIFT while computing them. If the amount of descriptors exceeded the maximum allowed, they were randomly sampled. Its default value was non-dense SIFT without maximum amount of descriptors limitation. The results are shown in figures 12 and 13. •kparameter in k-means, i.e. number of clusters, with a default value of 300. Its results can be seen in figures 16 and 17. •λvalue in SVMs, a regularization parameter directly related with the number of iterations performed while computing the best separation hyperplane. Its default value was 10−5, and the results are represented by figures 14 and 15. The testing procedure consisted on applying Cross-Validation to the dataset, using as test samples a set of 18 images, one per material class, each time. With respect to Cross-Validation, it is a widely used model validation technique that allows to measure how the results will generalize to an independent dataset. As can be seen, the models trained using as feature vectors the material properties from the markup get a really good accuracy, around 80%, almost invariably. This invariability makes sense, specially in the case of the parameter tuning for the number of clusters and the SIFT descriptors, since the model are not affected by those. On the other side, the models trained with predicted feature vectors, obtain accuracies around 30% - 40% in all cases. When tested independently, the best value of each parameter is dense SIFT (PHOW) with a maximum of 1000 descriptors per image, 800 clusters for k-means and a SVMs λ=0.01. Nevertheless, when tested as a whole, the best accuracy was obtained by a different, although close, set of parameters, as will be seen. 3https://github.com/josruice/CS499 17 Automatic Material Recognition Using Computer Vision 10 20 30 40 50 60 70 80 90 100 SIFT PHOW 1000 PHOW 2000 PHOW 3000 % accuracy Feature method and # maximum descriptors per image Material classification accuracy tested with predicted data w.r.t. # SIFT descriptors. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 12: Graph showing the relation between the material recognition accuracy and the maximum number of SIFT descriptors per image, using 300 clusters and SVMs λ=10−5. All these results were obtained using predicted data, i.e. the predicted material properties. In the case of the x-label SIFT, no maximum was forced. 10 20 30 40 50 60 70 80 90 100 SIFT PHOW 1000 PHOW 2000 PHOW 3000 % accuracy Feature method and # maximum descriptors per image Material classification accuracy tested with real data w.r.t. # SIFT descriptors. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 13: Graph showing the relation between the material recognition accuracy and the maximum number of SIFT descriptors per image, using 300 clusters and SVMs λ=10−5. All these results were obtained using real data, i.e. the material properties from the manual markup. In the case of the x-label SIFT, no maximum was forced. 18 José Vicente Ruiz Cepeda 10 20 30 40 50 60 70 80 90 100 1e-06 1e-05 0.0001 0.001 0.01 0.1 % accuracy lambda value Material classification accuracy tested with predicted data w.r.t. value of SVMs lambda. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 14: Graph showing the relation between the material recognition accuracy and the value of SVMs λ, using 300 clusters and non-dense SIFT without maximum descriptors limitation. All these results were obtained using predicted data, i.e. the predicted material properties. 10 20 30 40 50 60 70 80 90 100 1e-06 1e-05 0.0001 0.001 0.01 0.1 % accuracy lambda value Material classification accuracy tested with real data w.r.t. value of SVMs lambda. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 15: Graph showing the relation between the material recognition accuracy and the value of SVMs λ, using 300 clusters and non-dense SIFT without maximum descriptors limitation. All these results were obtained using real data, i.e. the material properties from the manual markup. 19 Automatic Material Recognition Using Computer Vision 10 20 30 40 50 60 70 80 90 100 100 200 300 400 500 600 700 800 900 1000 % accuracy # clusters Material classification accuracy tested with predicted data w.r.t. number of clusters. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 16: Graph showing the relation between the material recognition accuracy and the number of clusters in k-means, using SVMs λ=10−5and non-dense SIFT without maximum descriptors limitation. All these results were obtained using predicted data, i.e. the predicted material properties. 10 20 30 40 50 60 70 80 90 100 100 200 300 400 500 600 700 800 900 1000 % accuracy # clusters Material classification accuracy tested with real data w.r.t. number of clusters. NB - Trained with predicted data NB - Trained with real data SVM - Trained with predicted data SVM - Trained with real data Figure 17: Graph showing the relation between the material recognition accuracy and the number of clusters in k-means, using SVMs λ=10−5and non-dense SIFT without maximum descriptors limitation. All these results were obtained using real data, i.e. the material properties from the manual markup. 20 José Vicente Ruiz Cepeda 6.2 Properties recognition accuracy As previously said, one of the most important parts of the algorithm is its ability to correctly identify the properties present on the material images. To measure this, the following three metrics have been considered: •Global accuracy: Percentage of classifications where the algorithm correctly identifies that a property is present or that is not present. In other words, true positives plus true negatives, all divided by the total number of samples. •Precision: Percentage of classifications where the algorithm correctly identifies that a property is present over the total number of times it identifies (correctly or uncorrectly) that same property is present, i.e., true positives divided by true positives plus false positives. •Recall: Percentage of classifications where the algorithm correctly identifies that a property is present over the total number of samples that actually present that property. Technically, true positives divided by true positives plus true negatives. The results have been obtained using Cross-validation with 12 partitions, guaranteeing that exactly one image of each class was present in every test set. The bar charts for the two first iterations have been plotted, with two versions for every previous metrics: one sorted by material property name (x-axis) and another sorted by the metric value itself (y-axis). The bar charts for the first partition can be seen in the figures 18, 19, 20, 21, 22 and 23, while the ones for the second partition are represented in the figures 24, 25, 26, 27, 28 and 29. A careful look at the results, reveals that, although the global accuracy seems pretty high for most properties, there is a great room for improvement, as the precision and recall show. Furthermore, in the case of the global accurary, a random classifiers would yield a value approximate to 50%, which is close, even from the upper part, to the performance obtained in some properties. It can be seen how some properties, like a flat shape at fine scale, or a extended disorganized shape at medium scale are hard to recognize for the current set up. On the other side, several touch properties are well recognized at different scales, achieving even a 100% accuracy. The conclusion that can be extracted from these results is that while SIFT descriptors plus vector quantization technique is able to capture enough details for the touch properties, there is still room for improvement in the recognition of shapes. 21 Automatic Material Recognition Using Computer Vision 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−bumpy coarse−coarse coarse−extended_disorganized coarse−extended_organized coarse−feathery coarse−flat coarse−furry coarse−round coarse−scratchy coarse−smooth coarse−velvety fine−bumpy fine−coarse fine−extended_disorganized fine−extended_organized fine−flat fine−furry fine−round fine−scratchy fine−smooth fine−velvety medium−bumpy medium−coarse medium−extended_disorganized medium−extended_organized medium−feathery medium−flat medium−furry medium−round medium−scratchy medium−smooth medium−velvety Figure 18: Bar chart showing the global accuracy in the detection of a property or the lack of it, sorted by scale-property. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 fine−flat medium−extended_organized coarse−coarse coarse−extended_disorganized fine−coarse fine−extended_organized medium−round medium−coarse fine−smooth medium−bumpy coarse−extended_organized coarse−round medium−extended_disorganized medium−smooth fine−velvety coarse−bumpy fine−round medium−flat medium−velvety coarse−flat coarse−feathery coarse−smooth coarse−velvety fine−bumpy coarse−furry coarse−scratchy fine−extended_disorganized fine−furry fine−scratchy medium−feathery medium−furry medium−scratchy Figure 19: Bar chart showing the global accuracy in the detection of a property or the lack of it, sorted by the accuracy itself. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 22 José Vicente Ruiz Cepeda 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−bumpy coarse−coarse coarse−extended_disorganized coarse−extended_organized coarse−feathery coarse−flat coarse−furry coarse−round coarse−scratchy coarse−smooth coarse−velvety fine−bumpy fine−coarse fine−extended_disorganized fine−extended_organized fine−flat fine−furry fine−round fine−scratchy fine−smooth fine−velvety medium−bumpy medium−coarse medium−extended_disorganized medium−extended_organized medium−feathery medium−flat medium−furry medium−round medium−scratchy medium−smooth medium−velvety Figure 20: Bar chart showing the precision in the detection of a property, i.e. the number of true positives over the total number of image samples that has been classified as having the property, sorted by scale-property. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 fine−round fine−velvety medium−round medium−velvety coarse−coarse medium−coarse coarse−flat fine−coarse medium−extended_organized coarse−extended_disorganized fine−extended_organized fine−flat medium−flat coarse−extended_organized coarse−round medium−bumpy fine−smooth medium−extended_disorganized medium−smooth coarse−bumpy coarse−furry coarse−scratchy coarse−smooth fine−bumpy fine−furry medium−furry medium−scratchy coarse−feathery coarse−velvety fine−extended_disorganized fine−scratchy medium−feathery Figure 21: Bar chart showing the precision in the detection of a property, i.e. the number of true positives over the total number of image samples that has been classified as having the property, sorted by the precision itself. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 23 Automatic Material Recognition Using Computer Vision 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−bumpy coarse−coarse coarse−extended_disorganized coarse−extended_organized coarse−feathery coarse−flat coarse−furry coarse−round coarse−scratchy coarse−smooth coarse−velvety fine−bumpy fine−coarse fine−extended_disorganized fine−extended_organized fine−flat fine−furry fine−round fine−scratchy fine−smooth fine−velvety medium−bumpy medium−coarse medium−extended_disorganized medium−extended_organized medium−feathery medium−flat medium−furry medium−round medium−scratchy medium−smooth medium−velvety Figure 22: Bar chart showing the recall in the detection of a property, i.e. the number of true positives over the total number of image samples with the property, sorted by scale-property. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−feathery coarse−velvety fine−round fine−velvety medium−round medium−velvety medium−bumpy medium−coarse fine−extended_organized fine−smooth medium−extended_organized coarse−coarse coarse−extended_organized coarse−flat coarse−round fine−bumpy fine−flat medium−extended_disorganized medium−smooth coarse−smooth coarse−extended_disorganized coarse−bumpy fine−coarse coarse−furry coarse−scratchy fine−furry medium−flat medium−furry medium−scratchy fine−extended_disorganized fine−scratchy medium−feathery Figure 23: Bar chart showing the recall in the detection of a property, i.e. the number of true positives over the total number of image samples with the property, sorted by the recall itself. The test set was composed of the first image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 24 José Vicente Ruiz Cepeda 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−bumpy coarse−coarse coarse−extended_disorganized coarse−extended_organized coarse−feathery coarse−flat coarse−furry coarse−round coarse−scratchy coarse−smooth coarse−velvety fine−bumpy fine−coarse fine−extended_disorganized fine−extended_organized fine−flat fine−furry fine−round fine−scratchy fine−smooth fine−velvety medium−bumpy medium−coarse medium−extended_disorganized medium−extended_organized medium−feathery medium−flat medium−furry medium−round medium−scratchy medium−smooth medium−velvety Figure 24: Bar chart showing the global accuracy in the detection of a property or the lack of ifig:t, sorted by scale-property. The test set was composed of the second image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 coarse−extended_disorganized fine−flat fine−smooth medium−extended_organized medium−extended_disorganized medium−smooth coarse−bumpy fine−coarse medium−bumpy coarse−round medium−flat coarse−coarse coarse−extended_organized fine−extended_organized fine−velvety medium−round coarse−feathery coarse−furry medium−coarse coarse−flat fine−round coarse−smooth fine−furry coarse−scratchy fine−extended_disorganized fine−scratchy medium−furry medium−scratchy medium−velvety coarse−velvety fine−bumpy medium−feathery Figure 25: Bar chart showing the global accuracy in the detection of a property or the lack of ifig:t, sorted by the accuracy itself. The test set was composed of the second image of each material class, while the rest of the images were part of the training set. Measurements obtained using dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. 25 Automatic Material Recognition Using Computer Vision Figure 33: Heat map representing the confusion matrix of the material recognition process using Naive Bayes trained with real data, i.e., properties extracted from the manual markup, and tested also with predicted data. The results are the average of a cross-validation process of 12 partitions, where the test set had at least one sample of each class. The parameters used are dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The average precision obtained is 79.63 %, with 172 out of 216 samples correctly classified. 32 José Vicente Ruiz Cepeda Figure 34: Heat map representing the confusion matrix of the material recognition process using SVMs trained with predicted data, i.e., properties estimated algorithmically, and tested also with predicted data. The results are the average of a cross-validation process of 12 partitions, where the test set had at least one sample of each class. The parameters used are dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The average precision obtained is 44.44 %, with 96 out of 216 samples correctly classified. 33 Automatic Material Recognition Using Computer Vision Figure 35: Heat map representing the confusion matrix of the material recognition process using SVMs trained with predicted data, i.e., properties estimated algorithmically, and tested with real data, i.e., properties extracted from the manual markup. The results are the average of across-validation process of 12 partitions, where the test set had at least one sample of each class. The parameters used are dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The average precision obtained is 81.02 %, with 175 out of 216 samples correctly classified. 34 José Vicente Ruiz Cepeda Figure 36: Heat map representing the confusion matrix of the material recognition process using SVMs trained with real data, i.e., properties extracted from the manual markup, and tested with predicted data, i.e., properties estimated algorithmically. The results are the average of across-validation process of 12 partitions, where the test set had at least one sample of each class. The parameters used are dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The average precision obtained is 44.44 %, with 96 out of 216 samples correctly classified. 35 Automatic Material Recognition Using Computer Vision Figure 37: Heat map representing the confusion matrix of the material recognition process using SVMs trained with real data, i.e., properties extracted from the manual markup, and tested also with predicted data. The results are the average of a cross-validation process of 12 partitions, where the test set had at least one sample of each class. The parameters used are dense SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The average precision obtained is 82.41 %, with 178 out of 216 samples correctly classified. 36 José Vicente Ruiz Cepeda 6.4 Material recognition accuracy The randomness inherent to some of the steps of techniques such as k-means and SVMs yield different results even when using the same parameters. Taking this into account, the best accuracy was obtained in an execution of the algorithm using the same set up as the graphs and bar charts shown above, i.e., SIFT (PHOW) limited to a maximum of 2000 descriptors per image, with 600 clusters and SVM λ=10−3. The number of correctly classifier samples were the following: • 95 out of 216 (43.98 %) in NB trained with predicted data and tested with predicted data. • 172 out of 216 (79.63 %) in NB trained with predicted data and tested with real data. • 93 out of 216 (43.06 %) in NB trained with real data and tested with predicted data. • 172 out of 216 (79.63 %) in NB trained with real data and tested with real data. • 101 out of 216 (46.76 %) in SVMs trained with predicted data and tested with predicted data. • 178 out of 216 (82.41 %) in SVMs trained with predicted data and tested with real data. • 103 out of 216 (47.69 %) in SVMs trained with real data and tested with predicted data. • 178 out of 216 (82.41 %) in SVMs trained with real data and tested with real data. As can be seen, the trend with respect to the testing data is the same as in previous executions, and the results are in the same range, although some points above. The result of this execution can be compared in terms of accuracy with the ones shown in [3], where the most accurate method, the one presented in the paper, gets a modest 43.5 %. Therefore, the approach introduced in this work beats all the other approaches to the problem using this dataset. 7 Conclusions and future work Material recognition using Computer Vision is still an open problem in the industry. Many different approaches have been tried to solve it, being Deep Learning the one that, nowadays, is giving the most promising results. Even though, it is still worth it to try different, new approaches. In this work, we have covered a solution based on classic Machine Learning techniques, such as SVMs,k-means and Naive Bayes, along with the powerful and widely used SIFT descriptors, but including an innovation in the use of an intermediate step based on a vocabulary of material properties. We have analyzed the hightlights and lowlights of the approach, both from a theoretical and practical point of view, providing results using several metrics for different parts of the algorithm. 37 Automatic Material Recognition Using Computer Vision While the results look promising when using the real material properties to classify materials, further research is required to test the effects of a higher dataset and different feature descriptors methods in terms of accuracy. Even if better results are achieved in harsher conditions, the high cost of the manual markup of properties is still an important drawback of the algorithm. Apart from the material recognition use, it cannot be denied that the information obtained in the intermediate step provides value to the classification process that could be useful even in real life applications. Besides, the theoretical possibility of one sample classification is interesting enough to motivate the continuation of this work. References [1] C. Cortes and V. Vapnik. Support-vector networks. In Machine Learning, pages 273–297, 1995. [2] R. Johnson. MATLAB programming style guidelines, Oct. 2002. [3] Z. Liao, J. Rock, Y. Wang, and D. Forsyth. Non-parametric filtering for geometric detail extraction and material representation. June 2013. [4] S. P. Lloyd. Least squares quantization in pcm. IEEE Transactions on Information Theory, 28:129–137, 1982. [5] D. G. Lowe. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vision, 60(2):91–110, Nov. 2004. [6] A. Vedaldi and B. Fulkerson. Vlfeat: An open and portable library of computer vision algorithms. In Proceedings of the International Conference on Multimedia, MM ’10, pages 1469–1472, New York, NY, USA, 2010. ACM. 38 José Vicente Ruiz Cepeda A Markup A.1 Birch Birch 01: •Fine:flat,coarse. •Medium:extended disorganized,scratchy. •Coarse:extended organized,scratchy. Birch 02: •Fine:flat,coarse. •Medium:flat,coarse. •Coarse:extended disorganized,scratchy. Birch 03: •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended organized,scratchy. Birch 04: Watermark and big crack. •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:round,coarse. 39 Automatic Material Recognition Using Computer Vision Birch 05: •Fine:flat,coarse. •Medium:flat,coarse. •Coarse:extended organized,scratchy. Considering for the medium scale the part without horizontal lines. Birch 06: •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended organized,scratchy. Birch 07: •Fine:flat,coarse. •Medium:extended organized,coarse. •Coarse:extended organized,coarse. Birch 08: Watermark. •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended organized,scratchy. 40 José Vicente Ruiz Cepeda Birch 09: •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended disorganized,scratchy. Birch 10: •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended organized,scratchy. Birch 11: Big crack. •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:round,scratchy. Birch 12: •Fine:flat,coarse. •Medium:extended organized,scratchy. •Coarse:extended organized,scratchy. 41 Automatic Material Recognition Using Computer Vision A.4 Corduroy Corduroy 01: Logo in the right bottom corner. •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended organized,bumpy. Corduroy 02: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended disorganized,bumpy. Considering that the perpendicular direction of the lines makes them disorganized. Corduroy 03: •Fine:flat,smooth. •Medium:extended organized,bumpy. •Coarse:extended disorganized,bumpy. Corduroy 04: •Fine:flat,smooth. •Medium:extended organized,bumpy. •Coarse:extended disorganized,bumpy. 48 José Vicente Ruiz Cepeda Corduroy 05: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended disorganized,bumpy. Corduroy 06: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:round,bumpy. Considering the buttons as part of the course scale. Corduroy 07: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended organized,bumpy. Corduroy 08: Logo in the bottom left corner. •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended organized,bumpy. 49 Automatic Material Recognition Using Computer Vision Corduroy 09: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended organized,bumpy. Corduroy 10: •Fine:extended organized,bumpy. •Medium:extended organized,bumpy. •Coarse:round,bumpy. Considering the figures of the bottom left corner for the coarse scale. Corduroy 11: •Fine:flat,velvety. •Medium:extended organized,bumpy. •Coarse:extended organized,bumpy. Corduroy 12: •Fine:extended organized,bumpy. •Medium:extended organized,bumpy. •Coarse:round,bumpy. Considering the flower for the coarse scale. 50 José Vicente Ruiz Cepeda A.5 Denim Denim 01: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. Denim 02: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. Denim 03: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended disorganized,bumpy. Denim 04: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended disorganized,bumpy. 51 Automatic Material Recognition Using Computer Vision Denim 05: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. Denim 06: •Fine:round,smooth. •Medium:round,smooth. •Coarse:round,smooth. Denim 07: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. Denim 08: Watermark. •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. 52 José Vicente Ruiz Cepeda Denim 09: •Fine:round,smooth. •Medium:round,smooth. •Coarse:round,smooth. Denim 10: •Fine:extended organized,smooth. •Medium:extended organized,smooth. •Coarse:extended disorganized,bumpy. Denim 11: •Fine:round,smooth. •Medium:round,smooth. •Coarse:round,bumpy. Denim 12: •Fine:round,smooth. •Medium:round,smooth. •Coarse:round,bumpy. 53 Automatic Material Recognition Using Computer Vision A.6 Elm Elm 01: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Considering the bark to be disorganized. Elm 02: •Fine:flat,coarse. •Medium:round,bumpy. •Coarse:round,bumpy. Elm 03: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Elm 04: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. 54 José Vicente Ruiz Cepeda Elm 05: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Elm 06: •Fine:flat,coarse. •Medium:extended organized,bumpy. •Coarse:extended organized,bumpy. Considering the bark as organized. Elm 07: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. 55 Automatic Material Recognition Using Computer Vision Elm 08: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Elm 09: •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Elm 10: •Fine:flat,coarse. •Medium:flat,coarse. •Coarse:extended disorganized,bumpy. Elm 11: Extremely low quality image. •Fine:flat,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. 56 José Vicente Ruiz Cepeda Elm 12: •Fine:flat,coarse. •Medium:round,bumpy. •Coarse:round,bumpy. 57 Automatic Material Recognition Using Computer Vision A.9 Hair Considering that the touch of hair is smooth at a high scale. Hair 01: Watermark. •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. Hair 02: Watermark. •Fine:extended organized,bumpy. •Medium:extended disorganized,smooth. •Coarse:extended disorganized,smooth. Hair 03: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. 64 José Vicente Ruiz Cepeda Hair 04: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. Hair 05: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. Hair 06: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. Hair 07: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. 65 Automatic Material Recognition Using Computer Vision Hair 08: •Fine:extended organized,bumpy. •Medium:extended disorganized,smooth. •Coarse:extended disorganized,smooth. Hair 09: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. Hair 10: Watermark. •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. Hair 11: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended organized,smooth. 66 José Vicente Ruiz Cepeda Hair 12: •Fine:extended organized,bumpy. •Medium:extended organized,smooth. •Coarse:extended disorganized,smooth. 67 Automatic Material Recognition Using Computer Vision A.10 KnitAran Considering that non-linear patterns are disorganized. KnitAran 01: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. KnitAran 02: •Fine:extended disorganized,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. KnitAran 03: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. Considering that the round parts of the pattern are extended disorganized. KnitAran 04: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:round,bumpy. Considering the buttons at the coarse level. 68 José Vicente Ruiz Cepeda KnitAran 05: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:round,bumpy. KnitAran 06: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:round,bumpy. KnitAran 07: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,bumpy. KnitAran 08: •Fine:extended disorganized,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,bumpy. 69 Automatic Material Recognition Using Computer Vision KnitAran 09: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. KnitAran 10: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,bumpy. KnitAran 11: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:round,bumpy. Considering the buttons at the coarse level. KnitAran 12: •Fine:extended organized,coarse. •Medium:extended disorganized,bumpy. •Coarse:extended disorganized,bumpy. 70 José Vicente Ruiz Cepeda A.11 KnitGuernsey Considering that non-linear patterns are disorganized. KnitGuernsey 01: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 02: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,coarse. Ignoring the table behind. KnitGuernsey 03: •Fine:round,coarse. •Medium:round,coarse. •Coarse:extended disorganized,bumpy. 71 Automatic Material Recognition Using Computer Vision KnitGuernsey 04: •Fine:round,coarse. •Medium:round,coarse. •Coarse:extended organized,bumpy. KnitGuernsey 05: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 06: •Fine:extended disorganized,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 07: •Fine:round,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,bumpy. 72 José Vicente Ruiz Cepeda KnitGuernsey 08: •Fine:extended organized,coarse. •Medium:extended organized,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 09: •Fine:round,coarse. •Medium:round,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 10: •Fine:round,coarse. •Medium:round,coarse. •Coarse:extended disorganized,bumpy. KnitGuernsey 11: •Fine:round,coarse. •Medium:round,coarse. •Coarse:extended disorganized,bumpy. 73 Automatic Material Recognition Using Computer Vision Marble 09: •Fine:round,smooth. •Medium:round,smooth. •Coarse:round,smooth. Marble 10: •Fine:flat,smooth. •Medium:extended disorganized,smooth. •Coarse:round,smooth. Marble 11: •Fine:round,coarse. •Medium:round,coarse. •Coarse:round,coarse. Marble 12: •Fine:flat,smooth. •Medium:extended disorganized,smooth. •Coarse:extended disorganized,smooth. 80 José Vicente Ruiz Cepeda A.14 Scale Scale 01: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 02: •Fine:flat,coarse. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 03: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 04: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. 81 Automatic Material Recognition Using Computer Vision Scale 05: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 06: Watermark. •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 07: Watermark. •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 08: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. 82 José Vicente Ruiz Cepeda Scale 09: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 10: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 11: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. Scale 12: •Fine:flat,smooth. •Medium:round,bumpy. •Coarse:round,bumpy. 83 Automatic Material Recognition Using Computer Vision A.15 Silk Silk 01: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 02: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 03: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 04: •Fine:extended organized,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. 84 José Vicente Ruiz Cepeda Silk 05: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 06: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 07: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 08: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. 85 Automatic Material Recognition Using Computer Vision Silk 09: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 10: •Fine:extended organized,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 11: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. Silk 12: •Fine:flat,smooth. •Medium:flat,smooth. •Coarse:extended disorganized,bumpy. 86 José Vicente Ruiz Cepeda A.16 Slate Slate 01: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 02: ? •Fine:flat,coarse. •Medium:extended organized,coarse. •Coarse:extended organized,coarse. Slate 03: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 04: •Fine:flat,coarse. •Medium:flat,coarse. •Coarse:extended disorganized,coarse. 87 Automatic Material Recognition Using Computer Vision Slate 05: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 06: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 07: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,bumpy. Slate 08: •Fine:flat,coarse. •Medium:flat,coarse. •Coarse:flat,coarse. 88 José Vicente Ruiz Cepeda Slate 09: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 10: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Slate 11: Watermark. •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. Same as slate 09. Slate 12: •Fine:flat,coarse. •Medium:extended disorganized,coarse. •Coarse:extended disorganized,coarse. 89 Automatic Material Recognition Using Computer Vision B Materials by property B.1 Coarse scale - Bumpy touch images Figure 38: Coarse scale - Bumpy touch images 96 José Vicente Ruiz Cepeda B.2 Coarse scale - Coarse touch images Figure 39: Coarse scale - Coarse touch images 97 Automatic Material Recognition Using Computer Vision B.3 Coarse scale - Extended disorganized shape images Figure 40: Coarse scale - Extended disorganized shape images 98 José Vicente Ruiz Cepeda B.4 Coarse scale - Extended organized shape images Figure 41: Coarse scale - Extended organized shape images 99 Automatic Material Recognition Using Computer Vision B.5 Coarse scale - Feathery touch images Figure 42: Coarse scale - Feathery touch images 100 José Vicente Ruiz Cepeda B.6 Coarse scale - Flat shape images Figure 43: Coarse scale - Flat shape images 101 Automatic Material Recognition Using Computer Vision B.7 Coarse scale - Furry touch images Figure 44: Coarse scale - Furry touch images 102 José Vicente Ruiz Cepeda B.8 Coarse scale - Round shape images Figure 45: Coarse scale - Round shape images 103 Automatic Material Recognition Using Computer Vision B.9 Coarse scale - Scratchy touch images Figure 46: Coarse scale - Scratchy touch images 104 José Vicente Ruiz Cepeda B.10 Coarse scale - Smooth touch images Figure 47: Coarse scale - Smooth touch images 105 Automatic Material Recognition Using Computer Vision B.17 Fine scale - Furry touch images Figure 54: Fine scale - Furry touch images 112 José Vicente Ruiz Cepeda B.18 Fine scale - Round shape images Figure 55: Fine scale - Round shape images 113 Automatic Material Recognition Using Computer Vision B.19 Fine scale - Scratchy touch images Figure 56: Fine scale - Scratchy touch images 114 José Vicente Ruiz Cepeda B.20 Fine scale - Smooth touch images Figure 57: Fine scale - Smooth touch images 115 Automatic Material Recognition Using Computer Vision B.21 Fine scale - Velvety touch images Figure 58: Fine scale - Velvety touch images 116 José Vicente Ruiz Cepeda B.22 Medium scale - Bumpy touch images Figure 59: Medium scale - Bumpy touch images 117 Automatic Material Recognition Using Computer Vision B.23 Medium scale - Coarse touch images Figure 60: Medium scale - Coarse touch images 118 José Vicente Ruiz Cepeda B.24 Medium scale - Extended disorganized shape images Figure 61: Medium scale - Extended disorganized shape images 119 Automatic Material Recognition Using Computer Vision B.25 Medium scale - Extended organized shape images Figure 62: Medium scale - Extended organized shape images 120 José Vicente Ruiz Cepeda B.26 Medium scale - Feathery touch images Figure 63: Medium scale - Feathery touch images 121