 Research
 Open access
 Published:
On the influence of interpolation method on rotation invariance in texture recognition
EURASIP Journal on Image and Video Processing volume 2016, Article number: 17 (2016)
Abstract
In this paper, rotation invariance and the influence of rotation interpolation methods on texture recognition using several local binary patterns (LBP) variants are investigated.
We show that the choice of interpolation method when rotating textures greatly influences the recognition capability. Lanczos 3 and Bspline interpolation are comparable to rotating the textures prior to image acquisition, whereas the recognition capability is significantly and increasingly lower for the frequently used third order cubic, linear and nearest neighbour interpolation. We also show that including generated rotations of the texture samples in the training data improves the classification accuracies. For many of the descriptors, this strategy compensates for the shortcomings of the poorer interpolation methods to such a degree that the choice of interpolation method only has a minor impact.
To enable an appropriate and fair comparison, a new texture dataset is introduced which contains hardware and interpolated rotations of 25 texture classes. Two new LBP variants are also presented, combining the advantages of local ternary patterns and Fourier features for rotation invariance.
1 Introduction
In many computer vision and image analysis applications, the texture of an object is an important property that can be utilized for classification or segmentation procedures. However, texture analysis in digital images is not a trivial task and numerous texture descriptors have been proposed. In some applications, e.g. face recognition as in [1], the orientation of the object is known, while in many other applications the orientation of an object may be arbitrary and hence also the texture. In the latter case, the texture can be rotated to a main orientation or principal direction, see e.g. [2] where the Radon transform is used to accomplish this, or alternatively, a texture descriptor invariant to rotation can be used. A third way to achieve rotation invariance is to add rotated versions of the textures to the training data. This technique of adding a priori information to achieve invariance towards something through adding virtual training samples is explored in [3].
Rotation invariant texture descriptors have been widely studied, as reviewed in [4]. Texture descriptors invariant to viewpoint (adding even more degrees of freedom) have also been studied in for example [5]. However, the problem of arbitrary viewpoints is not addressed in this paper.
Rotation invariance for a texture descriptor can be achieved locally (at each pixel position) or globally (for the region/patch investigated). In [6], clusters of filter bank responses, denoted textons, are computed and the histogram of occurring textons are used as features. They propose a filter bank, denoted MR8, for which global rotation invariance is achieved by using the maximum response over six different orientations. A possible advantage with globally rotation invariant descriptors is that such a descriptor can retain the distribution of local orientations while this information will be lost in a local rotational invariant descriptor. Note however, that in the case of MR8, this information is lost when only keeping the maximum response over orientations. In [7], a globally rotation invariant descriptor retaining distributions over orientations is introduced based on Fourier transformed responses from Gabor filter banks. In [8], a local rotation invariant descriptor is introduced based on the local binary pattern (LBP) descriptor and [9, 10] proposed globally rotation invariant descriptors based on Fourier transformed of the LBP.
The LBP descriptor has over the past decades resulted in a whole family of texture descriptors. For this study on rotation invariance, we have selected the classic LBP descriptor together with seven extensions, including two different approaches to rotation invariance. The descriptors are the following: (i) the classic L B P descriptor [8], (ii) L B P ^{ri}—the approach to local rotation invariance [8], (iii) L B P ^{DFT}—an approach to rotation invariance where globally rotation invariant Fourier features are extracted [10], (iv) I L B P (improved LBP) which is a more noise robust extension of the LBP [11], (v) I L B P ^{ri} using the approach to local rotation invariance, (vi) I L B P ^{DFT} using the approach to global rotation invariance, (vii) L T P ^{DFT} (local ternary patterns) where three rather than two states are considered in the local neighbourhood ([12]) and using the approach to global rotation invariance, (viii) I L T P ^{DFT} combining ILBP, LTP and the approach to global rotation invariance. By studying these descriptors, we can get a baseline performance from the classic LBP and see how two well used extensions to the LBP perform. In addition, we can see how invariant the two different approaches to rotation invariance are.
In this paper, we investigate and compare the following: local rotation invariance, global rotation invariance, including rotations in the training data, and the effect of the different interpolation methods when rotating textures, in the setting of retaining discriminant texture information. In order to do this, we introduce a new texture dataset, the Kylberg Sintorn Rotation Dataset. The dataset includes images of hardwarerotated textures as well as texture images rotated by the interpolation kernels: nearest neighbour, linear, third order cubic, cubic Bspline and Lanczos 3. The dataset has 25 classes of different types of textured surfaces and is publicly available [13]. The images in the dataset are acquired in raw format avoiding compression artefacts.
2 The Kylberg Sintorn rotation dataset
There are, to our knowledge, two texture datasets available which contain images of rotated textures; the Outex dataset [14] and the Mondial Marmi dataset [10].
The Mondial Marmi dataset contains images of slabs of Italian marble. The textured surfaces are rotated prior to image acquisition to allow for studying rotation invariance in texture analysis. The imaging is done with a compact camera storing the images in JPEG format with notable compression artefacts.
The Outex dataset is a large dataset with 320 texture classes imaged at different resolutions, orientations and illuminations. Unfortunately, there are periodic stripelike artefacts in the images. In addition, for a given class, orientation, resolution and scale, the image data to generate samples from is rather limited.
Due to, for our purposes, undesirable artefacts in these rotation texture datasets (periodic stripes in Outex and JPEG compression in Mondial Marmi), a new dataset with rotations of textures was acquired. The Kylberg Sintorn Rotation Dataset is a generic texture dataset with similar types of textured surfaces as in the Outex dataset but with the same general dataset structure (many samples of each texturerotation combination) as the Mondial Marmi dataset. Furthermore, the acquisition setup used in the Kylberg Sintorn Rotation Dataset avoids the aforementioned limitations and artefacts.
The new dataset contains 25 texture classes, mainly consisting of fabrics and arranged textured surfaces using small articles. Figure 1 shows an example patch from each class. The images were acquired using a Canon EOS 550D DSLR camera with a Sigma 17–70mm zoom lens. The camera was mounted above the textured surfaces, as shown in Fig. 2. Fluorescent lights were placed on two sides of the camera, just above the lens opening. Focus and exposure settings were manually set once for each texture class. The 5184×3456 images were acquired as lossless compressed raw files (CR2). The raw files were corrected for lens distortion, chromatic aberration and vignetting formed by the Sigma lens. The corrections were performed according to the settings in the “Adobe (SIGMA 1770 mm F2.84 DC Macro OS HSM, Canon)” lens profile in Adobe Photoshop CS5 and then saved as lossless PNG files. The images were next converted to grey scale as 0.2989 R+0.5870 G+0.1140 B, where R, G and B are the red, green and blue intensities, respectively. The selected imaging conditions led to spatially oversampled images, and to get the textures in a more suitable scale for the relatively small local neighbourhoods used in many texture descriptors, the images were subsampled to half the original size (2 592×1 728 pixels) using a Lanczos 3 kernel. By this, the influence of sensor noise was also reduced.
2.1 Hardware rotation
The acquisition setup allows for rotation of the camera around the central axis of the camera lens. By rotating the camera rather than the textured surface, the same lighting conditions are kept throughout the image acquisition. For each texture class, one image is acquired for each orientation. The textures are imaged in the nine orientations θ∈{0°,40°,80°,…,320° } chosen not to be even multiples of 90° for which the choice of interpolation methods would not make a difference.
2.2 Rotation by interpolation
Five interpolation methods were used: nearest neighbour, linear, third order cubic, cubic Bspline and Lanczos. The images from the zero orientation were used to interpolate the eight other orientations using each of the interpolation approaches. For the interpolation methods based on convolution, Fig. 3 shows 1D versions of the kernels in spatial as well as in the Fourier domain. The ideal sinc function is also shown for reference. The 1D definitions of the interpolation methods are as follows:
2.2.1 Nearest neighbour
The interpolation points are assigned the value of the closest pixel:
2.2.2 Linear
Assuming a linear transition between pixel intensities gives
2.2.3 Cubic
The third order cubic interpolation kernel is a third order polynomial defined as in [15]:
2.2.4 Lanczos
The Lanczos kernel is introduced in [16] and is a windowed approximation to the sinc function:
where
and \(a\in \mathbb {N}\) sets the number of lobes to include of the sincfunction. In this paper, a=3 is used, resulting in the Lanczos kernel shown in Fig. 3. Interpolation of 2D signals using Lanczos kernels was introduced in [17].
2.2.5 Spline interpolation
In contrast to the interpolation methods based on convolution, spline interpolation fits piecewise polynomials between the data points. The interpolated values are then the values the polynomial assumes at the new sample positions. The cubic Bspline interpolation used here, introduced in [18], fits a third order polynomial of the following form:
The pieces fit smoothly together, forming a continuous function, going through the original data points.
MATLAB R2012b and the toolbox DIPimage [19] were used for all the interpolations.
2.3 Texture sample generation
All the images, rotated by hardware and software, are divided into smaller texture samples. The region of an image that is common among the different orientations is a disk centred in the image with the diameter that equals the height of the images (1728 pixels). The largest square within this disk (with the side \(\lfloor 1\,728/\sqrt {2}\rfloor = 1\,221\,\)) is divided into 100 subsquares with a size of 122×122 pixels (since ⌊1 222/10⌋=122). The partitioning scheme is illustrated in Fig. 4. Each texture sample is intensity normalized to have a mean value of 127 and a standard deviation of 40. The mean is set to be centred in the interval [0,255]. The standard deviation is set empirically so that intensity values in the dataset generally do not get mapped to integers ∉[0,255] while retaining most of the dynamic range of the dataset.
3 LBPbased descriptors
In the original definition of LBP [20], the eight connected neighbours of a centre pixel are considered. The neighbours are thresholded by the intensity of the centre pixel and placed in a clockwise order producing an 8bit binary code. The feature vector consists of the occurrences (histogram) of the different binary codes in a region/patch. The neighbourhood has been generalized to N samples on a radius R from the centre pixel in [8], here denoted LBP_{ N,R }. The local binary code for the pixel position (x _{ c },y _{ c }) with grey value g _{ c } is defined as:
where
If a point p does not coincide with a pixel centre, linear interpolation is used to compute the grey value g _{ p }. Finally, the histogram of occurring binary codes in a region is the feature vector of this region.
One way of making LBP more robust to noise is to threshold the value of a point, g _{ p } with the mean value of the neighbourhood (including the centre pixel), g _{mean}, rather than with the value of the centre pixel g _{ c }. The centre pixel is also thresholded with the mean value and included in the binary code. This descriptor is called improved local binary patterns (ILBP) and was introduced in [11]. It is defined as
where
and the function s is defined as in Eq. 2. Note that p _{ c } is part of the binary code making it N+1 bits long.
In [21], local ternary pattern (LTP) descriptor is proposed. The difference between neighbouring values g _{ p } and the centre pixel value g _{ c } are encoded with three values using a threshold value t:
In our implementation, as described above, the interval coded with zero is halfbound while in [21] it is open. Instead of using a code with base 3 to encode the three states in Eq. 5, LTP uses two binary codes representing the positive and the negative components of the ternary code, i.e., two binary codes coding for the two states {−1, 1}. These binary codes are collected in two separate histograms, and as a last step, the histograms are concatenated to form the LTP feature vector [21].
In analogy with the extension of LBP to ILBP, where the neighbourhood mean value (g _{mean}) is used as the local threshold and the centre pixel (g _{ c }) is included in the code, LTP can be extended to ILTP. This was done in [22]. For ILTP, the same scheme of using two concatenated binary codes as the final feature vector as for LTP is employed [22].
3.1 Rotation invariance
There are different approaches to making the classical LBP descriptor rotation invariant. One way is to group the binary codes that are rotations of one another (i.e. circular shifts of the binary code). Next, the occurrences of each group are computed and used as feature values. This approach is introduced in [8], and the descriptor is denoted \(\text {LBP}_{N,R}^{\text {ri}}\). For example, when N=8 is used, there are 36 such rotation invariant groups. Since occurrences of rotation groups are considered, the relative distribution within rotation groups is lost. It also means that the \(\text {LBP}_{N,R}^{\text {ri}}\) descriptor achieves rotation invariance by normalizing rotation locally, as described in [23].
Another way of making LBP rotation invariant is introduced in [9, 23]. The occurrences of rotation codes within the rotation groups are not summed, as in \(\text {LBP}_{N,R}^{\text {ri}}\), but Fourier transformed and the resulting power spectrum is used as the feature vector. The descriptor is called LBP histogram Fourier features (\(\text {LBP}_{N,R}^{\text {HF}}\)). Since the Fourier features are computed on the global histogram of binary codes in the region/patch investigated, \(\text {LBP}_{N,R}^{\text {HF}}\) achieves rotation invariance globally, and hence, retains the relative distribution within rotation groups [23]. However, the \(\text {LBP}_{N,R}^{\text {HF}}\) descriptor in [9] only considers uniform binary codes (binary codes with at the most two transitions between 0 and 1). It was generalized in [10] to include all binary codes, uniform and nonuniform, and called LBP ^{DFT}. Together with the LBP ^{DFT} descriptor, the corresponding ILBP ^{DFT} descriptor was also introduced in [10].
When having the aforementioned methods at hand, two interesting additional descriptors can be compiled; LTP ^{DFT} and ILTP ^{DFT}. Thus combining the generalized version of the Fourier features from [10], achieving global rotation invariance, with the promising descriptors LTP from [21] and ILTP from [22].
In the tests reported on here, eight descriptors were used, all with N=8 samples on a radius R=1; L B P _{8,1}, \(\mathrm {{LBP}_{8,1}^{ri}}\), \(\mathrm {{LBP}_{8,1}^{DFT}},\mathrm {{LTP}_{8,1}^{DFT}}\), I L B P _{8,1}, \(\mathrm {{ILBP}_{8,1}^{ri}}\), \(\mathrm {{ILBP}_{8,1}^{DFT}}\), \(\mathrm {{ILTP}_{8,1}^{DFT}}\). The descriptors are listed in Table 1 together with the length of their respective feature vector. The parameters are selected to describe the textures in their highest scale since the effects of interpolation methods are expected to be most prominent here. N≠9 is desirable since the dataset has nine equally spaced orientations and they would otherwise line up perfectly. N≫8 results in feature spaces of very high dimensionality (e.g. \(\mathrm {{LBP}_{16,1}^{DFT}}\in \mathbb {R}^{36\,883}\) and \(\mathrm {{ILTP}_{16,1}^{DFT}}\in \mathbb {R}^{147\,532}\)) and N=8 samples the local neighbourhood at R=1 well.
4 Classification procedure
The interpolation methods and texture descriptors are evaluated by comparing the obtained classification accuracies. A first nearest neighbour (1NN) classifier with Euclidean metric is used. The 1NN classifier is used to be able to compare classification results obtained on the same and fair basis. To validate the trained classifier 10folded crossvalidation is performed by randomly assigning each texture sample an index n∈{1,2,…,10}, creating 10 disjoint subsets with equal number of samples (stratified samples). In the first crossvalidation fold, samples with n∈{2,3,…,10} will be the training data and samples with n=1 will serve as test data. In the second fold, samples with n=2 will be the test data and the rest is used for training, and so on.
The indices for the crossvalidation folds are created once and then kept fixed throughout the experiments. The classification results from the 10 folds are combined into a single confusion matrix estimation and the mean and standard deviation of the classification accuracy is computed.
5 Evaluating interpolation methods and rotation invariance
Before the evaluation a baseline is established for each descriptor by training and testing on the θ=0° orientation. Table 2 lists the means and standard deviations of the classification accuracies of these baseline tests.
The descriptors are applied to all the texture samples, rotated by hardware and by each of the five interpolation methods. For the evaluation, the 1NN classifier is trained on features from the θ=0° orientation followed by testing on the remaining eight orientations, one by one. The results are shown in Fig. 5. The established baselines are shown as dashed red lines in Fig. 5. One dot in Fig. 5 corresponds to one classification test where the classifier has been trained on θ=0° orientation and tested on one of the remaining orientations (using 10folded crossvalidation).
5.1 Interpolation method
Figure 5 shows that the obtained classification accuracies differ greatly for the different interpolation methods (Additional file 1). This indicates that the characteristic properties of the textures are retained to a widely varying degree under rotation. Lanczos and Bspline interpolation results in accuracies similar to, or even better than, that of the hardware rotated textures. Nearest neighbour, linear and cubic interpolation all show lower accuracies for all descriptors compared.
For the nearest neighbour rotated textures, some rotation tests (dots in Fig. 5) show relatively high accuracies for several descriptors. To investigate this, Fig. 6 shows the result for the LBP\(_{8,1}^{\text {ri}}\) descriptor in more detail. Here, each dot is a crossvalidation fold in a rotation test. It can be seen that the nearest neighbour has noticeably higher accuracies at θ=80° and θ=280°. These two angles correspond to the two dots that often have higher accuracies than the rest for the nearest neighbour interpolation method in Fig. 5. Rotations of a digital image with even multiples of 90° are ideal/lossless. The two orientations of the textures θ∈{80°,280° } in the dataset are the two that are closest to even multiples of 90° and, hence, closest to ideal rotations for which nearest neighbour is relatively successful.
In a few cases, the result achieved using Lanczos and Bspline interpolation exceeds the result obtained using the hardware rotated textures, especially at θ∈{80°,280° }, see Fig. 6. This can, to a certain degree, be explained by that, in the case of hardware rotations, the sensor noise is sampled again and again for the different orientations, while the interpolated images all originate from one image with the sensor noise sampled once. The set of images which are rotated by interpolation is hence more homogeneous, and in addition, these two orientations are closest to ideal orientations of the original image, as was discussed above with respect to the higher performance for nearest neighbour interpolation for those two angles. Another explanation can be found by studying the perclass accuracies (data not shown). The classifier runs into problems with class number 12 and 20 for the hardware rotated textures while they are easier to classify in the Lanczos and Bspline interpolated data.
The tests were repeated using N=8 and R=2 for the eight LBP descriptors (data not shown). The interpolation methods appeared in the same order, accuracywise, with one exception. The nearest neighbour interpolation was found to perform on a level between linear and cubic interpolation. The descriptors generally achieved higher accuracies in the same order indicating that the selected parameters for the comparison is not optimal if the best overall classification result of the dataset is the objective. However, at R=1, the effects of interpolation methods and difference in the descriptor rotation invariance are more prominent and this is the main focus of this study.
5.2 Rotation invariance
The rotation invariance of the descriptors can be evaluated in Fig. 5. Mean and standard deviation is also reported in Table 3. A truly rotation invariant texture descriptor should only show subtle variations over different orientations of a texture. The classic LBP has obvious problems in the rotation tests and fall far below the baseline. The LBPversions design to be rotation invariant do achieve higher accuracies than the classic LBP. However, none of the descriptors reach their baseline accuracy.
Figure 6 shows that the crossvalidation folds give very similar results. This means that the standard deviations over orientations, see Fig. 5, are not due to inadequate validation of the classifier but a genuine variation in descriptor performance.
5.2.1 Reference methods
To put the rotation invariance of the LBPbased descriptor into perspective, three additional descriptors were evaluated in the same way. The rotation invariant Gabor filter bank achieved a mean accuracy over rotation tests of 90.4 %, Haralick features 75.3 % and MR8 56.6 %. These values should be compared to the mean classification accuracies reported in Table 3 (also showed as black lines in Fig. 5). The Gabor filter bank achieves as good results as the best descriptor tested in the LBP family \(\left (\text {ILTP}_{8,1}^{\text {DFT}}\right)\) while Haralick achieves just below the local rotation invariant \(\mathrm {{LBP}_{8,1}^ ri}\) descriptor. Below follows condensed details of how the reference methods were used.
For the Gabor filter bank, definitions and guidelines as described in [7, 24] were used. The frequency ratio was set to \(\sqrt {2}\), the number of orientations was set to eight, and the number of frequencies to six. The Gaussian envelope was set to (γ,η)=(3,2), and the kernel size was set to 19×19.
The Haralick features were defined and used as described in [25]. The contrast, correlation, energy and homogeneity measures were computed for four greylevel cooccurrence matrices (four directions) using quantization into 16 grey levels and a distance of two pixels.
MR8 was defined and used as in [26].
6 Computational cost
To assess the computational cost of the different interpolation methods and texture descriptors, the relative computation time was measured.
6.1 Interpolation methods
The computational time was measured while rotating the 2500 texture samples to the eight orientations. Figure 7 shows the computation time relative to rotating the texture sample using linear interpolation. The two best performing interpolation methods (in terms of retaining texture information) are slightly more computationally expensive; a factor of 1.27 for Lanczos and 1.45 for Spline.
6.2 Texture descriptors
The computational time for the different descriptors was measured while applying them to the 2500 texture samples of the 0° orientation. Figure 8 shows the computation time relative to the LBP descriptor. The slowest descriptor is the ILTP ^{DFT} being about 2.5 times slower than LBP. However, all the descriptors in the LBP family evaluated in this manuscript are computationally cheap compared to the filterbased texture descriptors used here as reference methods. The Gabor filter bank takes about 37 times as long to compute as the basic LBP. The numbers may vary with implementations and systems but convolving the texture sample with a whole bank of filter kernels is more computationally expensive than computing these LBPvariants.
7 Rotation representation in classification
To investigate the approach of adding virtual training samples by rotating existing training samples, an increasing number of orientations are used in the training data, from one to eight. The classifier is then tested on the remaining orientations. Consequently, the training and test sets are still disjoint, sample and orientationwise. The results are shown in Fig. 9. Using two orientations in the training data generally results in greatly improved classification accuracies and lower standard deviations. In fact, several of the texture measures approach their baseline. Another striking result is that the choice of interpolation methods is less important. The clear result seen in Fig. 5, that Lanczos 3 and Bspline outperform the other interpolation methods, is drastically reduced when the training data is somewhat more heterogeneous in terms of represented orientations.
In the first test, using training samples ∈{0°,40° }, the training set becomes twice as large. To make sure that the observed improvement originate from better representation of the rotated textures rather than a larger training set, we carried out a complementary test where every other sample was removed from the training set, making it the same size as in the previous tests. These results are shown as grey dots in the background in Fig. 9 and prove that the improvement is not from an increase in the number of training samples.
Figure 10 shows how the classification accuracies change when even more orientations are used in the training data, ranging from one (as in the evaluation reported on in Section 4) to eight orientations. The additional orientations are the Lanczos interpolated data, following the scenario of adding “artificial” samples to the training data. It shows that the introduction of a second orientation in the training data is very beneficial in terms of texture recognition. For the less rotation invariant texture descriptors, additional orientations (more than two) further improve the classification accuracies even though the achieved accuracies level out and do not reach the levels of the rotation invariant descriptors. This trend is not as clear for the more rotation invariant descriptors, for which a third and fourth orientation only improves the classification accuracies slightly. Overall, ILTP\(_{8,1}^{\text {DFT}}\) and LTP\(_{8,1}^{\text {DFT}}\) are found at the top with mean accuracies between 99 and 100 % when at least four orientations are included in the training data.
8 Conclusions
Based on the performed experiments we conclude that

Lanczos 3 interpolation, closely followed by Bsplines outperform the other interpolation strategies in all tests. The same levels of texture recognition are achieved using these two interpolation methods as those using hardwarerotated textures.

As expected, the interpolation methods closer to the ideal sinc function retain the texture information best. The commonly used linear and cubic interpolation clearly have shortcomings in preserving texture information in the setting of texture recognition.

The best performing interpolation methods are only slightly more computationally expensive. Lanczos stands out as it is both the best interpolation method in terms of preserving texture information and faster to compute than the second best interpolation method Bspline.

Both the local rotation invariant versions (by counting occurrences of rotation groups), and the global rotation invariant versions (by computing Fourier descriptors of the groups) of the LBPbased texture descriptors are less rotation variant than the classic LBP descriptor but they still suffer from rotation variance.

The LTP ^{DFT} and ILTP ^{DFT} descriptors perform better than the other tested descriptors. They both show high classification accuracies and low standard deviations over different orientations.

The ILTP ^{DFT} achieves the same high classification accuracy as an optimized and rotation invariant Gabor filter bank. The other reference descriptors are inferior to all the tested rotation invariant forms of the LBP descriptors.

Even though the more advanced descriptors in the LBP family are more computationally expensive than the basic LBP, they are all computationally inexpensive compared to common filter bankbased texture descriptors such as Gabor filter banks and MR8.

Including several different orientations of the textures in the training data has great positive impact on the classification accuracies. This also compensates to a large extent the shortcomings of choosing a simple interpolation method. Hence, a simple strategy that should be generally considered!
Linear and cubic interpolation is still commonly used even though they are easily outperformed in terms of retaining texture information. For example, in the image processing software ImageJ, linear interpolation is the default, in GIMP cubic is default (although Lanzos 3 is offered as an option) and MATLAB only supports nearest neighbour, linear and cubic interpolation when rotating images. The software library OpenCV has linear interpolation as default while cubic is optional.
Furthermore, these tests show that the use of rotation invariant texture descriptors may not be enough to achieve rotation invariant texture recognition; representing different orientations of the textures in the training data shows to be very important, even if the extra orientations are artificially generated by rotating already existing samples by means of interpolation.
In the light of these findings, the use of linear interpolation to compute the intensity samples in the local neighbourhoods in all the LBP_{ N,R }based descriptors should perhaps be revised.
References
X Tan, B Triggs, Enhanced local texture feature sets for face recognition under difficult lighting conditions. IEEE Trans. Image Process. 19(6), 1635–1650 (2010).
K JafariKhouzani, H SoltanianZadeh, Radon transform orientation estimation for rotation invariant texture analysis. IEEE Trans. Pattern Anal. Mach. Intell. 27(6), 1004–1008 (2005).
B Schölkopf, Support vector learning (PhD thesis, Technische Universität Berlin, 1997).
J Zhang, T Tan, Brief review of invariant texture analysis methods. Pattern Recogn. 35(3), 735–747 (2002).
Y Xu, H Ji, C Fermüller, Viewpoint invariant texture description using fractal analysis. Int. J. Comput. Vis. 83(1), 85–100 (2009).
M Varma, A Zisserman, A statistical approach to texture classification from single images. Int. J. Comput. Vision. 62(12), 61–81 (2005).
F Bianconi, A Fernández, A Mancini, in Proceedings of the 20th International Congress on Graphical Engineering. Assessment of rotationinvariant texture classification through gabor filters and discrete Fourier transform (ACMValencia, Spain, 2008).
T Ojala, T Mäenpää, Multiresolution GrayScale and Rotation Invariant Texture Classification with Local Binary Patterns. IEEE Trans. Pattern Anal. Mach. Intell. 24(7), 971–987 (2002).
T Ahonen, J Matas, C He, M Pietikäinen, in Proceedings of the 16th Scandinavian Conference on Image Analysis. LNCS, 5575. Rotation invariant image description with local binary pattern histogram Fourier features (SpringerBerlin Heidelberg, 2009), pp. 61–70.
A Fernández, O Ghita, E González, F Bianconi, PF Whelan, Evaluation of robustness against rotation of LBP, CCR and ILBP features in granite texture classification. Mach. Vis. Appl. 22(6), 913–926 (2011).
H Jin, Q Liu, H Lu, X Tong, in Proceedings of the Third International Conference on Image and Graphics. Face detection using improved LBP under Bayesian framework, (IEEE Computer Society, WashingtonDC, USA, 2004), pp. 306–309. doi:http://dx.doi.org/10.1109/ICIG.2004.62.
A Fernández, M Álvarez, F Bianconi, Texture description through histograms of equivalent patterns. J. Math. Imaging Vis. 45:, 76–102 (2013).
G Kylberg, IM Sintorn, Kylberg Sintorn Rotation dataset (2015). http://www.cb.uu.se/~gustaf/KylbergSintornRotation/. Accessed 1 Jan 2016.
T Ojala, T Mäenpää, M Pietikäinen, J Viertola, J Kyllönen, S Huovinen, in Proceedings of the 16th International Conference on Pattern Recognition, Quebec, Canada. Outex  New Framework for Empirical Evaluation of Texture Analysis Algorithms (IEEE Computer SocietyWashington, DC, USA, 2002), pp. 701–706.
R Keys, Cubic convolution interpolation for digital image processing. IEEE Trans. Acoust. Speech Signal Process. 29(6), 1153–1160 (1981).
C Lanczos, Applied Analysis. PrenticeHall mathematics series (PrenticeHall, New Jersey, 1956).
CE Duchon, Lanczos Filtering in One and Two Dimensions. J. Appl. Meteor. 18(8), 1016–1022 (1979).
H Hou, H Andrews, Cubic splines for image interpolation and digital filtering. IEEE Trans. Acoust. Speech Signal Process. 26(6), 508–517 (1978).
C Luengo, DIPimage, a Matlab toolbox for scientific image processing and analysis. http://www.diplib.org/. Accessed 1 Jan 2016.
T Ojala, M Pietikäinen, D Harwood, A comparative study of texture measures with classification based on featured distributions. Pattern Recogn. 29(1), 51–59 (1996).
X Tan, B Triggs, in Analysis and Modeling of Faces and Gestures. Lecture Notes in Computer Science, 4778, ed. by SK Zhou, W Zhao, X Tang, and S Gong. Enhanced local texture feature sets for face recognition under difficult lighting conditions (SpringerSpringerVerlag Berlin Heidelberg, 2007), pp. 168–182.
L Nanni, S Brahnam, A Lumini, A local approach based on a Local Binary Patterns variant texture descriptor for classifying pain states. Expert Syst. Appl. 37(12), 7888–7894 (2010).
G Zhao, T Ahonen, J Matas, M Pietikainen, Rotationinvariant image and video description with local binary pattern features. IEEE Trans. Image Process. 21(4), 1465–1477 (2012).
F Bianconi, A Fernández, Evaluation of the effects of Gabor filter parameters on texture classification. Pattern Recog. 40(12), 3325–3335 (2007).
RM Haralick, K Shanmugam, I Dinstein, Textural Features for Image Classification. IEEE Trans. Syst. Man Cybern. 3(6), 610–621 (1973).
M Varma, A Zisserman, in Proceedings of the 7th European Conference on Computer Vision, Copenhagen, Denmark. Computer Vision, 3. Classifying images of materials: Achieving viewpoint and illumination independence (SpringerBerlin, 2002), pp. 255–271.
Acknowledgements
The authors would like to thank Cris Luengo for expanding the set of interpolation kernels implemented in DIPimage. This work has been part of the MiniTEM E!6143 project funded by EU and EUREKA through the Eurostars Programme.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors do not have any competing interests.
Authors’ contributions
Both authors have contributed equally to the text while GK have implemented the texture descriptors and performed most of the tests.
Additional file
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Kylberg, G., Sintorn, IM. On the influence of interpolation method on rotation invariance in texture recognition. J Image Video Proc. 2016, 17 (2016). https://doi.org/10.1186/s1364001601176
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1364001601176