• No results found

Automatic Feature Point Selection through Hybrid Metaheauristics based on Tabu Search and Memetic Algorithm for Augmented Reality

N/A
N/A
Protected

Academic year: 2021

Share "Automatic Feature Point Selection through Hybrid Metaheauristics based on Tabu Search and Memetic Algorithm for Augmented Reality"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Procedia Computer Science 60 ( 2015 ) 1120 – 1127

1877-0509 © 2015 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

Peer-review under responsibility of KES International doi: 10.1016/j.procs.2015.08.160

ScienceDirect

19th International Conference on Knowledge Based and Intelligent Information and Engineering

Systems

Automatic Feature Point Selection through

Hybrid Metaheauristics based on Tabu Search and

Memetic Algorithm for Augmented Reality

Takeshi Matsui

a,∗

, Yuichi Katagiri

b

, Hideki Katagiri

a

, Kosuke Kato

c

aHiroshima University, 1-4-1, Kagamiyama, Higashi-Hiroshima, Hiroshima, 739-8527, Japan bThe University of Electro-Communications, 1-5-1, Chofugaoka, Chofu, Tokyo, 182-8585, Japan

cHiroshima Institute of Technology, 2-1-1, Miyake, Saeki-ku, Hiroshima, 731-5193, Japan

Abstract

In recent years, augmented reality (AR) have received considerable attention along with the popularization of mobile devices (for example, iPhone, Android smartphone). However, under active use of AR applications on mobile devices, we need to take account of processing speed and precision due to mobile processors. Therefore, many researchers have studied about the algorithms which are computationally cheap and high accuracy. Under these circumstances, in this research, we formulate the new feature point selection problem as combinational optimization one and propose a hybrid metaheuristics through tabu search and memetic algorithm for the formulated feature point selection problem. Illustrative numerical examples are provided to demonstrate the feasibility and efficiency of the proposed method.

c

 2015 The Authors. Published by Elsevier B.V. Peer-review under responsibility of KES International.

Keywords: Augmented reality; Feature point selection; Combinational optimization; Hybrid metaheuristics

1. Introduction

With the spread of mobile devices (for example, iPhone, Android smartphone and so on), augmented reality (AR) has been drawing additional attention. AR means the real world expanded with the computers and its techniques. In addition, application developments of mobile devices for outdoors have been done actively. However, under active use of AR applications on mobile devices, we need to take account of processing speed and precision due to mobile processors. Therefore, matching methods (feature/area-based matching) and feature point selection have been stud-ied2,5,13,15,16. In particular, Fukuyama et al.7studied about automatic feature point selection method through random

sample consensus (RANSAC)5and showed its effectiveness. For the drawback that RANSAC has difficulty

recogniz-ing high-precision automatic feature point selection due to occur some extent idiosyncratic of the selected positions, genetic algorithm based method was proposed in that study7. Bias, however, is not restrained sufficiently.

Corresponding author. Tel.:+84-82-424-7695 ; fax: +84-82-422-7195.

E-mail address: [email protected]

© 2015 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

(2)

In the meantime, Guo and Katagiri8proposed a hybrid metaheauristics based on tabu search and memetic algorithm

for k-cardinality tree problems, one of combinational optimization problems, and showed the feasibility and efficiency of the proposed method.

Under these circumstances, in this research, we formulate the new feature point selection problem as combinational optimization one and propose a hybrid metaheuristics through tabu search and memetic algorithm for the formulated feature point selection problem. The feasibility and efficiency of the proposed method are demonstrated by comparing with the performance of an existing automatic feature point selection method7through the numerical example.

2. Feature Point Selection

2.1. Augmented Reality

Augmented reality (AR)1is the variety of virtual reality (VR) and expands the real environment adding, removing

and emphasizing information. Whereas VR replaces reality by sense for the real constructed artificially and should be valued reality of a virtual object to post on a person, AR is the technique to rework part of reality and should be valued relevance with context such as a position and/or an object of the real world. In the AR systems, it sometimes happens that simple devices are used to display information as a way to expand reality. Devices and/or techniques in VR are used to display or obtain information in many systems. However, in order to support work in the real world, a notice with a screen of a small information device (cellular phone) is examined. For instance, computerized driving directions17, aircraft maintenance training and operations3, and information notices for operation support4in

a medical field are studied.

2.2. Marker Pose Estimation through Feature-based Matching

In order to achieve AR, we align photographed image containing a marker and template image (marker) to extract the target for extension of photographed one. For example, it pulls Russian from the left image in Fig. 1, and translate into English for each letter, then convert into the right image in Fig. 1. To detect a letter, it finds some feature points from two images, matches them and aligns. However, computational time with many feature points increases and it cannot align on real time image processing. Therefore, it matches after choosing useful feature points by random

sample consensus (RANSAC)5.

Fig. 1. an example of application of augmented reality on mobile devices

2.3. Random Sample Consensus

Random sample consensus (RANSAC) is an iterative method to estimate parameters of a mathematical model from a set of observed data which contains outliers. It is a non-deterministic algorithm in the sense that it produces a reasonable result only with a certain probability, with this probability increasing as more iterations are allowed.

(3)

Problem (LDP), where the goal is to determine the points in the space that project onto an image into a set of landmarks with known locations.

A basic assumption is that the data consists of inliers, i.e., data whose distribution can be explained by some set of model parameters, though may be subject to noise, and outliers which are data that do not fit the model. The outliers can come, e.g., from extreme values of the noise or from erroneous measurements or incorrect hypotheses about the interpretation of data. RANSAC also assumes that, given a (usually small) set of inliers, there exists a procedure which can estimate the parameters of a model that optimally explains or fits this data.

An advantage of RANSAC is its ability to do robust estimation5of the model parameters, i.e., it can estimate the parameters with a high degree of accuracy even when a significant number of outliers are present in the data set. A disadvantage of RANSAC is that there is no upper bound on the time it takes to compute these parameters (except exhaustion). When the number of iterations computed is limited the solution obtained may not be optimal, and it may not even be one that fits the data in a good way. In this way RANSAC offers a trade-off; by computing a greater number of iterations the probability of a reasonable model being produced is increased. Moreover, RANSAC is not always able to find the optimal set even for moderately contaminated sets and it usually performs badly when the

number of inliers is less than 50%. Optimal RANSAC6was proposed to handle both these problems and is capable

of finding the optimal set for heavily contaminated sets, even for an inlier ratio under 5%. Another disadvantage of RANSAC is that it requires the setting of problem-specific thresholds.

RANSAC can only estimate one model for a particular data set. As for any one-model approach when two (or more) model instances exist, RANSAC may fail to find either one. The Hough transform is one alternative robust estimation technique that may be useful when more than one model instance is present. Another approach for multi

model fitting is known as PEARL,11which combines model sampling from data points as in RANSAC with iterative

re-estimation of inliers and the multi-model fitting being formulated as an optimization problem with a global energy functional describing the quality of the overall solution.

2.4. Genetic Algorithm based Feature Point Selection

In AR, matching with a photographed image and a marker is required. Considering using AR application in a mobile device, it is questionable processing speed. That is, application of techniques in the mobile device which is powerless CPU, such as SIFT13and SURF2, is difficult. Therefore, Fukuyama et al.7proposed the auto select of the

feature points by genetic algorithms (GA), and feature point matching method based on fast feature point detection using FAST15and HIP16. Effective feature points in recognition of a marker are beforehand chosen and optimized by

GA, and cutting of the feature points is aimed at.

However, feature points selected by7 which are unbalanced in distance between each points are still scope for

improvement. In this research, we formulate the new feature point selection problem as 0-1 programming problem incorporating Hellinger distance12on objective function to control the concentration of feature points.

3. Problem Formulation

The feature point selection problem is formulated as the following 0-1 programming problem.

maximize m−1  i=1 m  j=i+1  n k=1   ck(xi)−  ck(xj) 2 xixj subject to m  i=1 xi≤ CPmax xi∈ {0, 1}, i = 1, . . . , m (1)

where xi, i = 1, . . . , m, is a 0-1 decision variable, ck(xi) is k coordinate of the potential feature point i, m and n are

the number of potential feature points and the dimension number of coordinates, respectively, CPmaxis the maximum

number of selected feature points.

Many solving methods were proposed for dealing with the 0-1 programming problem, due to various applications of this problem. Recently a hybrid algorithm based tabu search9and memetic algorithm10was proposed by Guo and

(4)

Katagiri8and the experimental results showed that their hybrid algorithm provided a better performance with solution

accuracy over existing algorithms for k-minimum spanning tree problems, one of 0-1 programming problems. In this research, we extend hybrid metaheuristics based on tabu search and memetic algorithm for the formulated feature point selection problem.

4. Hybrid Metaheuristics

4.1. Tabu Search

For solving the 0-1 programming problems, it is constructive to extend tabu search based on strategic oscillation

for multidimensional 0− 1 knapsack problems9into general 0-1 programming problems.

With this observation, consider a general 0-1 programming problem formulated as: minimize f (x) subject to gi(x) ≤ 0, i = 1, . . . , m x∈ {0, 1}n ⎫⎪⎪⎪ ⎬ ⎪⎪⎪⎭ (2)

where f (·) and gi(·), i = 1, . . . , m are convex or nonconvex real-valued functions and x = (x1, . . . , xn)T is an

n-dimensional column vector of 0-1 decision variables.

The tabu search proposed in9made use of the property of multidimensional 0-1 knapsack problems that the

im-provement or disimim-provement of the objective function value corresponds with the decrease or increase of the degree of feasibility. From the property, it is clear that the optimal solution to multidimensional 0-1 knapsack problems exists in the area near the boundary of the feasible region which is called the promising zone. Thus, the search direction in multidimensional 0-1 knapsack problems can be controlled by checking the change of the objective function value. In the case of general 0-1 programming problems, observing that the monotone relation between the objective function value and the degree of feasibility no longer holds, the promising zone does not always exist near the boundary of the feasible region. Considering that the promising zone originally means the area which include an optimal solution, we define the promising zone for general 0-1 programming problems as neighborhoods of local optimal solutions. Thus, in order to use not only the change of the objective function value but the degree of feasibility, we introduce the index of surplus of constraintsδ(x) and that of slackness of constraints (x) defined as:

δ(x) = i∈I+ δi(x)=  i∈I+ gi(x) (x) = i∈I− i(x)=  i∈I−gi(x)

where I+= {i | gi(x)> 0, i ∈ {1, . . . , m}} and I= {i | gi(x)< 0, i ∈ {1, . . . , m}}, Furthermore, let Δjf (x) denote the

change of f (x) by setting xj:= 1 − xj. Similarly,Δjδ(x), Δjδi(x),Δj(x) and Δji(x) are defined for xj:= 1 − xj. In

addition, we assign the feasible solution to x, and update x†when the feasible solution is updated. Computational procedure of tabu search for general 0-1 programming problems

Step 0: INITIALIZATION

Generate an initial solution x at random, and initialize the tabu list (TL). Set the tabu term (TT), the depth (D), the maximum number of oscillation (Omax) and the oscillation counter O := 1. If x is feasible, go to step 4. Otherwise,

go to step 1.

Step 1: TS PROJECT

The aim of this step is to move the current solution in the infeasible region to the promising zone in the gentlest ascent (disimproving) direction about the objective function with decreasing the surplus of constraintsδ(x)

Whileδ(x) is positive, i.e., the current solution is infeasible, repeat finding a non-tabu decision variable which

decreasesδ(x) and gives the lest disimprovement of the objective function value when its value would be changed,

changing the value of the decision variable actually and adding the decision variable to TL. If there does not exist any non-tabu decision variable that decreasesδ(x), select a decision variable randomly, change its value even if δ(x)

(5)

improves the objective function value by changing its value, go to step 2.

Step 2: TS COMPLEMENT

The aim of this step is to search the promising zone intensively.

Let x:= x and x:= x. Then, select several tabu decision variables of xand change their values. Ifδ(x)= 0, then carry out step 4. Otherwise, carry out step 1. If f (x)< f (x) for the solution δ(x) obtained by step 4 or step 1, let x := x. This procedure is repeated D times. If the previous step of this step is step 1, then go to step 3. If the

previous step of this step is step 4, then go to step 5.

Step 3: TS DROP

The aim of this step is to move the current solution in the promising zone to the inside of the feasible region in the gentlest ascent direction of the objective function with increasing the slackness of constraints(x)

Repeat finding a non-tabu decision variable which increases(x) and gives the lest disimprovement of the objective function when its value would be changed, changing the value of the decision variable actually and adding the decision variable to TL. If there does not exist any non-tabu decision variable that increases(x) or the number of repetitions of the above procedure exceeds TT, go to step 4.

Step 4: TS ADD

The aim of this step is to move the current solution in the feasible region to the promising zone in the steepest descent (improving) direction about the objective function with keepingδ(x) = 0.

Whileδ(x) = 0, i.e., the current solution is feasible, repeat finding a non-tabu decision variable which keeps δ(x) = 0 and gives the greatest improvement of the objective function value when its value would be changed, changing the value of the decision variable actually and adding the decision variable to TL. If there does not exist such a decision variable, go to step 2.

Step 5: TS INFEASIBLE ADD

The aim of this step is to move the current solution in the promising zone to the infeasible region in the steepest descent (if exist) or the gentlest ascent direction about the objective function with decreasing the slackness of constraints(x) or increasing the surplus of constraintsδ(x).

Repeat finding a non-tabu decision variable which decreasing the slackness of constraints(x) or increasing the surplus of constraintsδ(x) and gives the greatest improvement (if exist) or the lest disimprovement of the objective function value when its value would be changed, changing the value of the decision variable actually and adding the decision variable to TL. If there does not exist such a decision variable or the number of repetitions of the above procedure exceeds Omax, return to step 1.

The search procedure of the proposed tabu search for general 0-1 programming problems is illustrated in Fig. 2

initial solution feasible region infeasible region promising zone [TS_ADD] [TS_COMPLEMENT] [TS_INFEASIBLE_ADD] [TS_DROP] promising zone [TS_PROJECT]

Fig. 2. Tabu search for general 0-1 programming.

4.2. Memetic Algorithm

As a rising field of evolutionary computation, memetic algorithm was first introduced by Moscato in 198914.

Tra-ditional evolutionary computation (e.g. genetic algorithm) have been applied widely to solve optimization problems because of their good search abilities. However, they may not be efficient to some problems which contain many local optimal solutions. As a matter of fact, an efficient method, calling memetic algorithm, is constructed by combining local search with evolutionary computation.

(6)

Memetic algorithm is shown in the following.

Step 1: P := Initialize(P)

while stop criterion not satisfied do

Step 2: P:= GeneticOperations(P) Step 3: P:= U pdatingPopulation(P)

Step 4: P:= Replace(P ∪ P)

Step 5: P:= LocalS earch(P)

Step 6: P:= U pdatingPopulation(P)

Step 7: P := Replace(P ∪ P) endwhile

Step 8: Return(P)

where P means the population of individuals now, P means the individuals which are generated from the genetic

operations, and Pdenotes the individuals improved by local search.

4.3. Hybrid Approach

If a solution could not be improved any more by tabu search, we would like to try memetic algorithm as a diversi-fication strategy to improve the solution once more. This procedure is used to make the algorithm escape from local optimal solution by evolutionary computation operators. We can now summarize the algorithm of hybrid metaheau-ristics based on tabu search and memetic algorithm for augmented reality as follows.

Step 1: Select initial CPmaxfeature points from P projection transform images which have mi, i = 1, 2, . . . , P feature

points. Go to Step 2.

Step 2: Set P model individuals obtained by RANSAC from P images current population. Go to Step 3. Step 3: For current population, solve the problem (1) by tabu search and update local population Pb

l and global

population Pb

g. Go to Step 4.

Step 4: If there does not exit any decision variable which improves local population Pb

l, then set current population

local population Pb

l, go to Step 5. Otherwise, return to Step 3.

Step 5: Generate subpopulation Pmb by memetic algorithm for global population Pb

g. Update the value of global

population Pb

g. Go to Step 6.

Step 6: If the termination condition is satisfied, the search procedure is terminated. Otherwise, return to Step 3. 5. Numerical Example

As an illustrative numerical example, consider the original image as shown in Fig. 3. We extract feature points for the original image and generate 100 projection-converted images. Then, we match with the original image and 100 projection-converted images. For the feature points matching correctly, we solve the problem using the feature points

applied RANSAC as the population. We computed the feature points to problem (1) by using genetic algorithm7

and the proposed hybrid metaheauristics based on tabu search and memetic algorithm. We used a PC with AMD A8-5600K, and the computational times of genetic algorithm and hybrid metaheuristics were 1058.54 seconds and 1174.16 seconds, respectively. The selected results are shown in Fig. 4 and 5.

From Fig. 5, feature points selected by our proposed method are chosen widely as compared to Fig. 4 and promising. However, reduction of the computational time is necessary considering the actual use.

(7)

Fig. 3. original image

Fig. 4. selected feature points in7 Fig. 5. selected feature points by proposed method

6. Conclusion

In this research, focusing on feature point selection under augmented reality, we formulated the new feature point selection problem as 0-1 programming problem incorporating Hellinger distance on objective function. Furthermore, we proposed hybrid metaheuristics through tabu search and memetic algorithm for the formulated problem. An illustrative numerical example for the formulated feature point selection problem was provided to demonstrate the feasibility of the proposed method. However, further computational experiences should be carried out for several types of images. From such experiences the proposed method must be revised. As a subject of future work, other objective functions will be considered elsewhere.

References

1. Azuma, R. T., A Survey of Augmented Reality, Teleoperators and Virtual Environments, Vol. 6, No. 4, pp. 355–385, 1997.

2. Bay, H., Tuytelaars, T., Van Gool, L., SURF: Speeded Up Robust Features, Computer Vision and Image Understanding, Vol. 110, No. 3, pp. 346–359, 2008.

3. De Crescenzio, F., Fantini, M., Persiani, F., Di Stefano, L., Azzari, P., Salti, S., Augmented Reality for Aircraft Maintenance Training and Operations Support, Computer Graphics and Applications, IEEE, Vol. 31, No. 1, pp. 96–101, 2011.

4. D’Antoni, L., Dunn, A., Jana, S., Kohno, T., Livshits, B., Molnar, D., Moshchuk, A., Roesner, F., Saponas, S., Veanes, M., Wang, H. J., Operating system support for augmented reality applications, HotOS’13 Proceedings of the 14th USENIX conference on Hot Topics in Operating Systems, pp. 21–21, 2013.

5. Fischler, M. A., Bolles, R. C., Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography, Communications of the ACM, Vol. 24, No. 6, pp. 381–395, 1981.

6. Forsyth, D. A., Ponce, J., Computer Vision, a modern approach, Prentice Hall, 2003.

7. Fukuyama, S., Shirakawa, T., Koutaki, G., Uchimura, K., Feature point auto selected using GA for AR, Information Processing Society of Japan Technical Report, pp. 1–6, 2013 (in Japanese).

8. Guo, Q., Katagiri, H., A memetic algorithm based on tabu search for k-cardinality tree problems, Scientiae Mathematicae Japonicae, Vol. 77, No. 1, pp. 107–117, 2014.

9. Hanafi, S., Freville, A., An efficient tabu search approach for the 0-1 multidimensional knapsack problem, European Journal of Operational Research, Vol. 106, No. 2–3, 659–675, 1998.

(8)

10. Hart, W. E., Krasnogor, N., Smith, J. E., Recent Advances in Memetic Algorithms, Springer, 2005.

11. Hartley, R., Zisserman, A., Multiple View Geometry in Computer Vision (2nd ed.), Cambridge University Press, 2003. 12. Liese, F., Miescke, K.-J., Statistical Decision Theory: Estimation, Testing, and Selection, Springer, 2008.

13. Lowe, D. G., Distinctive Image features from Scale-Invariant Keypoints, International Journal of Computer Vision, Vol. 60, No. 2, pp. 91–110, 2004.

14. Moscato, P., On evolution, search optimization, genetic algorithms and martial arts: Toward memetic algorithms, Caltech Concurrent Comput. Program, CalTech, Pasadena, CA, Rep. 826, 1989.

15. Rosten, E., Drummond, T., Machine learning for high-speed corner detection, European Conference on Computer Vision, pp. 430–443, 2006. 16. Taylor, S., Rosten, E., Drummond, T., Robust feature matching in 2.3μs, In IEEE CVPR Workshop on Feature Detectors and Descriptors: The

State Of The Art and Beyond, pp. 15–22, 2009.

17. Tenmoku, R., Kanbara, M., Yokoya, N., A Wearable Tour Guide System Based on Augmented Reality : Heijyokyuseki Navi, Technical Report of The Institute of Electronics, Information and Communication Engineers, Vol. 103, No. 584, pp. 1–6, 2004 (in Japanese).

References

Related documents

God’s method of fulfilling the Abrahamic Covenant is literal, inasmuch as God partially fulfilled the covenant in history: God blessed Abraham by giving him the land (Genesis...

Recently, many articles have been devoted to the study of the orthogonal stability of quadratic functional equations of Pexider type on the restricted domain of orthogonal vectors

Summing up to this point, through means of stepwise logit and stepwise discriminant analysis procedure, we manage to select “best” ratios to be used in constructing prediction

Cells grown for 120 hours on LOD medium supple- mented with 0.5% switchgrass as the sole carbon source showed a similar profile to that on cellobiose, with the Δldh strain producing

The algorithm who reduces the average total travel time of all vehicles in the network is considered the best;.. The average total delay per vehicle in

The results of this study showed that cowpea, maize and peanut plants used as previous crops allowed soybean plants to produce the best yields and heights in the period

Chronic stress also suppressed male sexual behaviour, induced behavioural depression (Porsolt’s swim despair test and learned helplessness test) and cognitive dysfunction (attenuated

In the final substantive section of this paper, I looked to two different forms representative of the bureaucratic form of life, the T2201 Disability Tax Credit Certificate, and