T E L K O M N I K A ,   V o l . 9 ,   N o . 3 ,   D e c e m b e r   2 0 1 1 ,   p p .   4 4 5 ~ 4 5 2   I S S N :   1 6 9 3 - 6 9 3 0   a c c r e d i t e d   b y   D G H E   ( D I K T I ) ,   D e c r e e   N o :   5 1 / D i k t i / K e p / 2 0 1 0           4 4 5       R e c e i v e d   J u n e   1 6 th ,   2 0 1 1 ;   R e v i s e d   A u g u s t   8 th ,   2 0 1 1 ;   A c c e p t e d   A u g u s t   2 0 th ,   2 0 1 1   A u t o m a t e d   N a v i g a t i o n   S y s t e m   b a s e d   o n   W e a p o n - T a r g e t   A s s i g n m e n t       G a y u h   T i t i s   P e r m a n a 1 ,   M a m a n   A b d u r o h m a n 1 ,   M o h a m m a d   K h a i r u d i n 2 ,   M o h a m m a d   L u t f i 1   1 F a c u l t y   o f   I n f o r m a t i c s ,   T e l k o m   I n s t i t u t e   o f   T e c h n o l o g y   J l .   T e l e k o m i n i k a s i   n o . 1     D a y e u h k o l o t     4 0 2 5 7   t l p / f a x   0 2 2 - 7 5 6 5 9 3 1   e - m a i l :   m m a @ i t t e l k o m . a c . i d ,   m _ a b d u r o h m a n @ y a h o o . c o m   2 D e p a r t m e n t   o f   E l e c t r i c a l   E n g i n e e r i n g ,   U n i v e r s i t a s   N e g e r i   Y o g y a k a r t a   J l .   C o l o m b o   5 5 2 8 1   K a r a n g m a l a n g - Y o g y a k a r t a ,   I n d o n e s i a ,   T e l p / F a x   + 6 2 2 7 4 - 5 4 8 1 6 1   e - m a i l :   m o h _ k h a i r u d i n @ u n y . a c . i d       A b s t r a k   P e n g o p e r a s i a n   s e n a p a n   p a d a   t a n k   m a s i h   d i g e r a k k a n   s e c a r a   m a n u a l .   K o n d i s i   i n i   t i d a k   i d e a l   u n t u k   o p e r a s i   y a n g   b e r b a h a y a .   D i p e r l u k a n   s i s t e m   p e n g e n d a l i   o t o m a t i s   u n t u k   m e n g o p e r a s i k a n   s e n j a t a   d e n g a n   t e t a p   m e m p e r t a h a n k a n   k e t e p a t a n   t a r g e t   s a s a r a n .   P a d a   p a p e r   i n i   t e l a h   d i r a n c a n g   s u a t u   s i s t e m   p e n g e n d a l i a n   s e n j a t a   o t o m a t i s   b e r b a s i s   c i t r a   d i g i t a l .   B e b e r a p a   m e t o d e   p e n g o l a h a n   c i t r a   d i g i t a l   d i g u n a k a n   u n t u k   m e n i n g k a t k a n   k e t e l i t i a n   a r a h   s e n a p a n   s e h i n g g a   m e n d a p a t k a n   t a r g e t   y a n g   d i t u j u .   M e t o d e   y a n g   d i g u n a k a n   d a l a m   p e n g o l a h a n   c i t r a   d i g i t a l   a d a l a h   p e n j e j a k a n   p e r g e r a k a n   C a m s h i f t .   M e t o d e   i n i   d i b a n d i n g k a n   d e n g a n   m e t o d e   p e n j e j a k a n   p e r g e r a k a n   L u c a s   C a n a d e .   P e r b a n d i n g a n   i n i   d i l a k u k a n   u n t u k   m e n d a p a t k a n   h a s i l   y a n g   l e b i h   p r e s i s i   d i a n t a r a   k e d u a   m e t o d e   t e r s e b u t .   H a s i l   p e n g o l a h a n   c i t r a   d i g i t a l   i n i   d i g u n a k a n   u n t u k   m e n g e n d a l i k a n   a r a h   s e n a p a n   s e h i n g g a   m e n u j u   p a d a   s a s a r a n   y a n g   d i i n g i n k a n .   H a s i l   p e n g u j i a n   p e n e l i t i a n   m e n u n j u k k a n   b a h w a   i m p l e m e n t a s i   p e n j e j a k a n   p e r g e r a k a n   d e n g a n   m e t o d e   L u c a s   K a n a d e   p a d a   a l a t   s i m u l a s i   t e m b a k   t e l a h   b e r h a s i l .   K i n e r j a   m e t o d e   p e n j e j a k a n   p e r g e r a k a n   L u c a s   C a n a d e   l e b i h   b a i k   d i b a n d i n g k a n   d e n g a n   m e t o d e   C a m s h i f t .   P e n g g u n a a n   m e t o d e   L u c a s   C a n a d e   u n t u k   p e n g e n d a l i a n   s e n a p a n   t a n k   l e b i h   b a i k   d a n   t e l a h   m e m e n u h i   k e b u t u h a n .       K a t a   k u n c i :   C a m s h i f t ,   L u c a s   C a n a d e ,   p e n g o l a h a n   c i t r a ,   p e n j e j a k a n   p e r g e r a k a n ,   s e n a p a n       A b s t r a c t   O p e r a t i n g   o f   w e a p o n   o n   t h e   t a n k   i s   m o s t l y   b y   m a n u a l l y .   I t   i s   n o t   d e s i r e d   p e r f o r m a n c e   f o r   a   c r i t i c a l   o p e r a t i o n .   A n   a u t o m a t i c   c o n t r o l   s y s t e m   i s   r e q u i r e d   t o   o p e r a t e   t h e   w e a p o n   w i t h   t h e   t a r g e t   w h i l e   m a i n t a i n i n g   t h e   a c c u r a c y .   I n   t h i s   p a p e r   h a s   d e s i g n e d   a n   a u t o m a t i c   w e a p o n   c o n t r o l   s y s t e m   u s i n g   o b j e c t   i m a g e   p r o c c e s s i n g .   V a r i o u s   a n   i m a g e   p r o c e s s i n g   m e t h o d s   u s e d   t o   i m p r o v e   t h e   w e a p o n   a c c u r a c y   t o   o b t a i n   t h e   i n t e n d e d   t a r g e t .   T h e   m e t h o d   u s e d   i n   d i g i t a l   i m a g e   p r o c e s s i n g   i s   t h e   C a m s h i f t   m o t i o n   t r a c k i n g   m e t h o d .   T h i s   m e t h o d   i s   c o m p a r e d   w i t h   t h e   L u c a s   C a n a d e   m o t i o n   t r a c k i n g   m e t h o d .   T h i s   c o m p a r i s o n   i s   c o n d u c t e d   t o   f o u n d   m o r e   p r e c i s e   r e s u l t s   b e t w e e n   t h e   t w o   m e t h o d s .   R e s u l t s   o f   o b j e c t   i m a g e   p r o c e s s i n g   a r e   u s e d   t o   c o n t r o l   t h e   d i r e c t i o n   o f   t h e   w e a p o n   t h a t   t o w a r d s   t h e   d e s i r e d   g o a l .   T h e   r e s u l t s   s h o w   t h a t   t h e   i m p l e m e n t a t i o n   o f   t h e   L u c a s   C a n a d e   m o t i o n   t r a c k i n g   m e t h o d   u s i n g   f i r e   s i m u l a t i o n   t o o l s   h a v e   b e e n   s u c c e s s f u l .   T h e   p e r f o r m a n c e   o f   t h e   L u c a s   C a n a d e   m o t i o n   t r a c k i n g   m e t h o d s   i s   b e t t e r   t h a n   t h e   C a m S h i f t   m e t h o d .   U s i n g   L u c a s   C a n a d e   m e t h o d   f o r   w e a p o n   c o n t r o l l e r   i s   a c c o r d a n c e   w i t h   t h e   p u r p o s e s .       K e y w o r d s :   C a m s h i f t ,   i m a g e   p r o c e s s i n g ,   L u c a s   C a n a d e ,   m o t i o n   t r a c k i n g ,   w e a p o n         1 .     I n t r o d u c t i o n   T h e   m i l i t a r y   w e a p o n s   d e v e l o p   r a p i d l y   i n   s e v e r a l   c o u n t r i e s .   A   b a t t l e   t a n k   i s   a m o n g   o f   c o m b a t   a r m s   t h a t   a r e   o f t e n   u s e d   i n   t h e   l a n d .   I n   t h e   t a n k   t h e r e   i s   a   w e a p o n   t h a t   i s   e s s a m b l i e d   o n   t o p .   A   w e a p o n t a r g e t   a s s i g n m e n t   ( W T A )   p r o b l e m   i s   t o   o b t a i n   a   p r o p e r   a s s i g n m e n t   o f   w e a p o n s   t o   t a r g e t s   w i t h   t h e   o b j e c t i v e   o f   m i n i m i z i n g   t h e   e x p e c t e d   d a m a g e   o f   o w n - f o r c e   a s s e t s .   C o n t r o l   t o   Evaluation Warning : The document was created with Spire.PDF for Python.
                                        I S S N :   1 6 9 3 - 6 9 3 0   T E L K O M N I K A     V o l .   9 ,   N o .   3 ,     D e c e m b e r   2 0 1 1   :     4 4 5     4 5 2   4 4 6 t h e   t a n k   w e a p o n   w a s   o p e r a t e d   m a n u a l l y   b y   h u m a n s .   O n e   o f   i t s   a d v a n t a g e   i s   t h e   g u n   c a n   b e   m o v e d   f r e e l y   i n   a c c o r d a n c e   o f   t h e   h u m a n   a n d   i t s   d i s a d v a n t a g e   i s   o p e r a t o r   s a v e l e s s .     A   p r e v i o u s   r e s e a r c h   o n   m o d e l i n g   a n d   a l g o r i t h m   o f   w e a p o n   t a r g e t   a s s i g n m e n t   ( W T A )   i s   c o n d u c t e d   b y   C a i   [ 1 ] .   S e v e r a l   m e t h o d s   a r e   u s e d   f o r   s o l v i n g   W T A   p r o b l e m .   S o l v i n g   W T A   p r o b l e m   b y   c o m b i n i n g   o f   a n t   c o l o n y   o p t i m i z a t i o n   a n d   t h e   a b i l i t y   t o   c o o p e r a t i v e l y   e x p l o r e   t h e   s e a r c h   s p a c e   a n d   t o   a v o i d   c o n v e r g e n c e   h a v e   c o n d u c t e d   b y   [ 2 ]   a n d   [ 3 ] .     W a c h o l d e r   [ 4 ]   p r e s e n t e d   a   n e u r a l   n e t w o r k - b a s e d   o p t i m i z a t i o n   a l g o r i t h m   f o r   t h e   s t a t i c   w e a p o n - t a r g e t   a s s i g n m e n t   p r o b l e m .       A   d e s i r e d   w e a p o n   p r o f i l e s   c a n   b e   o b t a i n e d   b y   a p p l y i n g   d i g i t a l   i m a g e   p r o c c e s s i n g   f o r   a u t o m a t i c i t y   o f   t h e   d i r e c t e d   w e a p o n .   T h e   c a m e r a   c a n   b e   u s e d   a s   s e n s o r s   t o   i d e n t i f y   o b j e c t s   t h a t   c a n   r e p l a c e   t h e   r o l e   o f   t h e   h u m a n s   s e n s i n g .   T h e   o b j e c t   t h a t   w a s   c a p t u r e d   b y   a   c a m e r a   s e n s o r   c a n   b e   p r o c e s s e d   u s i n g   i m a g e   p r o c e s s i n g   t e c h n i q u e s   [ 5 ] ,   [ 6 ] .   M o t i o n   t r a c k i n g   m e t h o d   s u c h   a s   C a m s h i f t   a n d   L u c a s   K a n a d e   a l g o r t h m s   c a n   b e   u s e d   f o r   i m a g e   p r o c e s s i n g .   C o n t i n u o u s l y   A d a p t i v e   M e a n   S h i f t   ( C a m s h i f t )   a l g o r i t h m   i s   a n   a d v a n c e   d e v e l o p m e n t   o f   b a s i c   a l g o r i t h m   M e a n S h i f t   p e r f o r m e d   r e p e a t e d l y   i n   o r d e r   t o   s e a r c h   f o r   a   l o c a l   p r o b a b i l i t y   d e n s i t y   f u n c t i o n   ( P D F )   t h a t   a p p r o x i m a t e s   t h e   e m p i r i c a l   P D F   [ 7 ] .   W h i l e   L u c a s   K a n a d e   m e t h o d   i s   o n e   o f   t h e   M o t i o n   T r a c k i n g   a l g o r i t h m s   t h a t   p e r f o r m   s e a r c h e s   b a s e d   o n   c o l o r .   T h e   o b j e c t i v e s   o f   t h i s   p a p e r   a r e   d e s i g n i n g   a n d   i m p l e m e n t i n g   a u t o m a t i c   r i f l e   a c t i v a t o r   s y s t e m   i n   f o l l o w i n g   a   m o v i n g   t a r g e t   u s i n g   m o t i o n   t r a c k i n g   w i t h   C a m S h i f t   a n d   L u c a s   K a n a d e   m e t h o d .   A n a l y z i n g   t h e   p e r f o r m a n c e   o f   t h e   s y s t e m   i n   c a p t u r i n g   a n d   f o l l o w i n g   a   m o v i n g   t a r g e t   w i t h   a   v a r i e t y   o f   o b j e c t s ,   o b j e c t   s i z e ,   s p e e d   a n d   d i s t a n c e   o f   o b j e c t s   m o v i n g   o b j e c t s   o n   t h e   c a m e r a   a n d   m e a s u r e   t h e   r e s p o n s e   t i m e   s i n c e   t h e   d e t e r m i n a t i o n   o f   t h e   t a r g e t   u n t i l   t h e   o b j e c t   i s   l o c k e d .       2 .     R e s e a r c h   M e t h o d   2 . 1     D i g i t a l   I m a g e   D i g i t a l   i m a g e   i s   a n   i m a g e   f   ( x ,   y )   t h a t   h a s   s p a t i a l   c o o r d i n a t e s ,   a n d   t h e   d i s c r e t e   l e v e l s   o f   b r i g h t n e s s .   T h e   i m a g e   i s   l i g h t   w h i c h   i s   r e f l e c t e d   f r o m   a n   o b j e c t .   T h e   f   ( x ,   y )   f u n c t i o n   c a n   b e   v i e w e d   a s   a   f u n c t i o n   w i t h   t w o   e l e m e n t s .   T h e   f i r s t   e l e m e n t   i s   t h e   p o w e r   s o u r c e   o f   l i g h t   t h a t   s u r r o u n d s   o u r   v i e w   o f   t h e   o b j e c t   ( i l l u m i n a t i o n ) .   T h e   s e c o n d   e l e m e n t   i s   t h e   a m o u n t   o f   l i g h t   r e f l e c t e d   b y   o b j e c t s   i n t o   o u r   e y e s   ( r e f l e c t a n c e   c o m p o n e n t s ) .   B o t h   w e r e   w r i t t e n   a s   a   f u n c t i o n   o f   i   ( x ,   y )   a n d   r   ( x ,   y )   w h i c h   a r e   i n c o r p o r a t e d   a s   a   m u l t i p l i c a t i o n   f u n c t i o n   t o   f o r m   t h e   f u n c t i o n   f   ( x ,   y ) :       F ( x , y )   =   i ( x , y )   *   r ( x , y )   W h e r e     0 < i ( x , y )   <   a n d   0 < r ( x , y ) < 1                                     ( 1 )     D i g i t a l   i m a g e   i s   a   m a t r i x   c o n s i s t i n g   o f   r o w s   a n d   c o l u m n s ,   w h e r e   e a c h   r o w   a n d   c o l u m n   i n d e x   p a i r   c l a i m e d   a   p o i n t   i n   t h e   i m a g e .   T h e   v a l u e   m a t r i x   i s   e x p r e s s e d   b r i g h t n e s s   v a l u e s   t h a t   p o i n t .   T h e   p o i n t s   a r e   r e f e r r e d   t o   a s   i m a g e   e l e m e n t s ,   o r   p i x e l s   ( p i c t u r e   e l e m e n t s ) .     2 . 2   R G B   a n d   H S V   c o l o r   m o d e l   R G B   c o l o r   m o d e l   i s   a   c o l o r   m o d e l   b a s e d   o n   t h e   c o n c e p t   o f   a   s t r o n g   i n c r e a s e   p r i m a r y   l i g h t   i s   R e d ,   G r e e n   a n d   B l u e .   M o d e l   H S V   s h o w s   t h e   c o l o r   s p a c e   i n   t h e   f o r m   o f   t h r e e   m a i n   c o m p o n e n t s ,   H u e ,   S a t u r a t i o n   a n d   V a l u e .   A   h u e   i s   t h e   a n g l e   f r o m   0   t o   3 6 0   d e g r e e s .   U s u a l l y   0   i s   r e d ,   6 0   d e g r e e s   i s   y e l l o w ,   g r e e n   i s   1 2 0   d e g r e e s ,   1 8 0   d e g r e e s   i s   c y a n ,   2 4 0   d e g r e e s   i s   3 0 0   d e g r e e s   i s   b l u e   a n d   m a g e n t a .   A   h u e   i n d i c a t e s   t h e   c o l o r   t y p e   ( s u c h   a s   r e d ,   b l u e   o r   y e l l o w )   o r   s h a d e s   o f   c o l o r ,   w h e r e   c o l o r   w a s   f o u n d   i n   t h e   c o l o r   s p e c t r u m .   R e d ,   y e l l o w   a n d   p u r p l e   ( p u r p l e )   a r e   w o r d s   t h a t   i n d i c a t e   h u e .   S a t u r a t i o n   o f   a   c o l o r   i s   a   m e a s u r e   o f   h o w   m u c h   t h e   p u r i t y   o f   c o l o r .     2 . 3   L u c a s   K a n a d e     O p t i c a l   f l o w   i s   d e f i n e d   a s   a   v i s i b l e   m o v e m e n t   d u e   t o   t h e   i m a g e   b r i g h t n e s s   ( d a r k   l i g h t   i m a g e ) .   S u p p o s e   I   ( x ,   y ,   t )   i s   t h e   i m a g e   b r i g h t n e s s   v a r i e s   w i t h   t i m e   a s   a n   i l l u s t r a t i o n   o f   a   s e q u e n c e   o f   s e v e r a l   i m a g e s   ( i m a g e   s e q u e n c e s ) .   T h e r e   a r e   t w o   a s s u m p t i o n s :   B r i g h t n e s s   I   ( x ,   y ,   t )   d e p e n d s   o n   x ,   y   c o o r d i n a t e s   c o n t a i n e d   i n   a   l a r g e r   p a r t   o f   t h e   i m a g e   a n d   b r i g h t n e s s   o f   e a c h   p o i n t   o f   a n   o b j e c t   m o v i n g   o b j e c t   d o e s   n o t   c h a n g e   w i t h   t i m e .   T h e   t w o   m o s t   i m p o r t a n t   c o m p o n e n t s   o f   t h e   t r a c k i n g   f e a t u r e   a r e   t h e   a c c u r a c y   a n d   t o u g h n e s s .   C o m p o n e n t s   r e l a t e   t o   s u b - p i x e l   a c c u r a c y   l o c a l l y   a t t a c h e d   t o   t h e   t r a c k i n g   a c c u r a c y .   I n t u i t i v e l y ,   a   s m a l l   s e a r c h i n g   w i n d o w   w i l l   b e   b e t t e r   f o r   l e v e l i n g   t h a t   i s   c o n t a i n e d   i n   a n   i m a g e .   T h i s   i s   e s p e c i a l l y   n e e d e d   i n   t h e   c a l c u l a t i o n   a r e a s   w i t h i n   t h e   i m a g e   w h e r e   t w o   p a t c h e s   a r e   Evaluation Warning : The document was created with Spire.PDF for Python.
T E L K O M N I K A     I S S N :   1 6 9 3 - 6 9 3 0       A u t o m a t e d   N a v i g a t i o n   S y s t e m   b a s e d   o n   W e a p o n - T a r g e t   A s s i g n m e n t   ( G a y u h   T i t i s   P e r m a n a )   4 4 7   p o t e n t i a l l y   m o v i n g   w i t h   a   s p e e d   t h a t   i s   v e r y   d i f f e r e n t .   A s   f o r   t h e   c o m p o n e n t s   o f   r e s i l i e n c e   o r   r o b u s t n e s s   i s   r e l a t e d   t o   s e n s i t i v i t y   o f   t r a c k i n g   t o   t h e   r e s p e c t   o f   a n y   c h a n g e   t o   t h e   l i g h t ,   t h e   s i z e   o f   t h e   i m a g e   m o v e m e n t ,   i n   p a r t i c u l a r ,   i n   o r d e r   t o   h a n d l e   l a r g e   m o v e m e n t s ,   t h e   b e t t e r   w e   c h o o s e   t o   u s e   a   l a r g e   i n t e g r a t i o n   w i n d o w .   B y   u s i n g   o p t i c a l   f l o w   e q u a t i o n   f o r   a   g r o u p   o f   p i x e l s   a n d   a s s u m e   t h a t   t h e   p i x e l s   h a v e   t h e   s a m e   s p e e d ,   i t   w i l l   f a c i l i t a t e   t h e   p r o c e s s   o f   c o m p u t i n g   t o   s o l v e   a   l i n e a r   e q u a t i o n .     2 . 4   C a m S h i f t     C o n t i n u o u s l y   A d a p t i v e   M e a n   S h i f t   ( C h a m S h i f t )   i s   t h e   a d v a n c e   o f   M e a n   S h i f t   a l g o r i t h m .   M e a n S h i f t   a l g o r i t h m   e s s e n t i a l l y   o p e r a t e s   w i t h   f i n d i n g   a n   a v e r a g e   ( m e a n )   o f   t h e   f u n c t i o n   o f   s o l i d   o p p o r t u n i t i e s   a   d i s t r i b u t i o n   o f   t h e   i m a g e   i n   t h e   d o m a i n   o f   x ,   y   [ 8 ] ,   [ 9 ] .   F o r   e x a m p l e ,   w e   a s s u m e   a   d i s t r i b u t i o n   f ,   E u c l i d e a n   c o n t a i n s   d i s t r i b u t i o n   o f   s t a g e   a l g o r i t h m s   M e a n   S h i f t   i n   E u c l i d e a n   d i s t r i b u t i o n   i s   a s   f o l l o w s :   ( 1 ) .   T h e   s i z e   o f   t h e   p r e d e f i n e d   s e a r c h   w i n d o w .   ( 2 ) .   I n i t i a l   s e a r c h   w i n d o w   l o c a t i o n s   t h a t   h a v e   b e e n   d e t e r m i n e d .   ( 3 ) .   C a l c u l a t e   t h e   m e a n   a r e a   i n   t h e   s e a r c h   w i n d o w .   ( 4 ) .   P o s i t i o n   t h e   s e a r c h   w i n d o w   t o   t h e   m i d d l e   o f   t h e   m e a n   a s   c a l c u l a t e d   i n   s t e p   ( 3 ) .   ( 5 ) .   R e p e a t   s t e p   ( 3 )   a n d   ( 4 )   u n t i l   c o n v e r g e n c e   ( o r   u n t i l   a   s h i f t   i n   t h e   m e a n   a r e a   i s   l e s s   t h a n   t h e   t h r e s h o l d / l i m i t   s p e c i f i e d ) .   C a m S h i f t   a l g o r i t h m   i s   a   d e v e l o p m e n t   o f   t h e   b a s i c   a l g o r i t h m   M e a n S h i f t   p e r f o r m e d   r e p e a t e d l y   i n   o r d e r   t o   d e t e c t   m o v e m e n t   o f   o b j e c t s   f r o m   v i d e o   i m a g e r y .   M e a n S h i f t   o p e r a t e s   b a s e d   o n   t h e   p r o b a b i l i t y   d i s t r i b u t i o n   o f   t h e   i m a g e .   T o   d e t e c t   c o l o r   i m a g e s   o n   a   v i d e o ,   t h e n   t h e   c o l o r   i m a g e   s h o u l d   b e   r e p r e s e n t e d   i n   t h e   f o r m   o f   p r o b a b i l i t y   d i s t r i b u t i o n   i m a g e   w i t h   t h e   h e l p   o f   i m a g e   h i s t o g r a m .   C o l o r   d i s t r i b u t i o n   o f   t h e   v i d e o   i s   a l w a y s   c h a n g i n g   e v e r y   t i m e ,   t h e n   t h e   a l g o r i t h m   M e a n S h i f t   m u s t   b e   d e v e l o p e d   t o   b e   u s e d   t o   t r a c k   o b j e c t s   o n   e v e r y   f r a m e .                                                       ( a )                                                                                           ( b )                         ( c )     F i g u r e   1 .   ( a )   B l o c k   D i a g r a m   S y s t e m   ( b )   i n i t i a l i s a t i o n   o f   t a r g e t   ( c )   p r o c e s s   t o   l o c k   t h e   t a r g e t .       3 .     R e s u l t   a n d   D i s c u s s i o n   3 . 1   S y s t e m   a n a l y s i s   S y s t e m   r e q u i r e m e n t s   c o n s i s t   o f   t w o   p a r t s ,   s o f t w a r e   a n d   h a r d w a r e .   T h e   h a r d w a r e   u s e d   t o   b u i l d   t h i s   a p p l i c a t i o n   c o n s i s t s   o f   P C :   I n t e l   C o r e   2   D u o   T 5 4 5 0 ,   1 . 6 6   G H z ,   H D   1 0 0   G B ,   1 . 5   G B   D D R   R A M ,   V G A   C a r d   2 5 6   M B ,   K e y b o a r d   a n d   M o u s e ,   F u s i l :   L o g i t e c h   Q u i c k C a m   S 5 5 0 0 ,   M i c r o c o n t r o l l e r   A T M e g a   8 5 3 5 ,   M o t o r   D r i v e r ,   M o t o r   D C   1 2   V .   D B 2 5   c o n n e c t o r   ( m a l e ,   f e m a l e )   d a t a   c a b l e   a n d   C o n s t r u c t i o n   f u s i l   ( w o o d e n   b o a r d s ,   b e a r i n g s ,   a x l e s ) .   S o f t w a r e   i s   u s e d   t o   b u i l d   a p p l i c a t i o n   a r e   O p e r a t i n g   S y s t e m   W i n d o w s   X P   H o m e ,   M i c r o s o f t   V i s u a l   S t u d i o   2 0 0 8 ,   I n t e l   o p e n   s o u r c e   C o m p u t e r   V i s i o n   L i b r a r y .   T h e   s y s t e m   w a s   e x p e r i m e n t e d   i n   t h i s   p a p e r   i s   a   d i r e c t i o n a l   c o n t r o l   s y s t e m   b a s e d   o n   a   t a r g e t   r i f l e   m o t i o n   c a p t u r e d   u s i n g   a   v i d e o   i m a g e   a s   i n p u t .   T h e   f u n c t i o n a l i t y   o f   t h e   s y s t e m   b e i n g   d e s i g n e d   i s :   D e t e c t i n g   o b j e c t s   a s   t a r g e t s .   T h e   s y s t e m   c a n   d e t e c t   o b j e c t s   t h a t   h a v e   b e e n   t a r g e t e d   b y   t h e   u s e r   f r o m   i m a g e s   c a p t u r e d   b y   v i d e o .   T h e   s y s t e m   t a k e s   a   t a r g e t   c o o r d i n a t e s   i n f o r m a t i o n   a n d   c o l o r .   T h e   s y s t e m   m a y   l o c k   t a g e t   b y   p l a c i n g   t h e   c o o r d i n a t e s   o f   t h e   t a r g e t   a t   t h e   Evaluation Warning : The document was created with Spire.PDF for Python.
                                        I S S N :   1 6 9 3 - 6 9 3 0   T E L K O M N I K A     V o l .   9 ,   N o .   3 ,     D e c e m b e r   2 0 1 1   :     4 4 5     4 5 2   4 4 8 c e n t e r   o f   t h e   s c r e e n   c o o r d i n a t e s .   F r o m   t h e   i n f o r m a t i o n   o b t a i n e d   f r o m   t r a c k i n g   t h e   o b j e c t ,   w o u l d   p r o d u c e   a   c o n t r o l   t h a t   w i l l   m o v e   t h e   r i f l e   f o r   t r a c k i n g   o b j e c t   i s   a t   t h e   s p e c i f i e d   c o o r d i n a t e s .     3 . 2   S y s t e m   D e s i g n     O v e r v i e w   o f   f u n c t i o n a l i t y   a n d   i n t e r a c t i o n   b e t w e e n   t h e   u s e r ' s   s y s t e m s   w i t h   t h e   s y s t e m   a r e   m o d e l e d   i n   a   U s e   C a s e   D i a g r a m .   B a s e d   o n   U s e   C a s e   D i a g r a m   o n   F i g u r e   2 .   T h e   s y s t e m   h a s   t h r e e   m a i n   a c t i o n   n a m e l y :   t r a c k i n g   t a r g e t ,   s e t t i n g   c a m e r a   a n d   s e t t i n g   c o n t r o l .           F i g u r e   2 .   S y s t e m   U s i n g   a   C a s e   D i a g r a m       S e q u e n c e   d i a g r a m   s h o w s   h o w   a   p r o c e s s   r u n   i n   t h e   s y s t e m .   F i g u r e s   3   a n d   4   s h o w   t h e   s e q u e n c e   d i a g r a m   o f   t r a c k i n g   t a r g e t .             ( a )               ( b )     F i g u r e   3 .   S e q u e n c e   D i a g r a m   o f   ( a )   T r a c k i n g   T a r g e t   a n d   ( b )   s e t t i n g   c o n t r o l   Evaluation Warning : The document was created with Spire.PDF for Python.
T E L K O M N I K A     I S S N :   1 6 9 3 - 6 9 3 0       A u t o m a t e d   N a v i g a t i o n   S y s t e m   b a s e d   o n   W e a p o n - T a r g e t   A s s i g n m e n t   ( G a y u h   T i t i s   P e r m a n a )   4 4 9       F i g u r e   4 .   S e q u e n c e   D i a g r a m   o f   t a c k i n g   t a r g e t       4 .   I m p l e m e n t a t i o n   a n d   S y s t e m   T e s t i n g     I m p l e m e n t a t i o n   o f   t h e   s y s t e m   c a r r i e d   o u t   i n   t w o   d i f f e r e n t   e n v i r o n m e n t s ,   a   P C   a n d   a   m i c r o c o n t r o l l e r - b a s e d   h a r d w a r e   i n   t h e   f o r m   o f   f i r e   s i m u l a t i o n   t o o l .   I n p u t   v i d e o   i m a g e   i s   t a k e n   f r o m   a   s e n s o r ,   c a m e r a .       4 . 1   E x p e r i m e n t   s c e n a r i o s   S c e n a r i o   I :   t e s t i n g   t h e   a c c u r a c y   a n d   s p e e d   o f   t h e   s y s t e m   i n   a   s t a t i o n a r y   t r a c k   o b j e c t s .   T e s t s   c a r r i e d   o u t   r e p e a t e d   1 0   t i m e s ,   w i t h   v a r i a t i o n s   o f   o b j e c t s ,   d i s t a n c e   a n d   l o c a t i o n .   T e s t s   c o n d u c t e d   b y   p u t t i n g   s o m e   p a p e r   t h a t   h a s   a   d i f f e r e n t   c o l o r   d i f f e r e n c e   t o   b e   u s e d   a s   a   t a r g e t .     S c e n a r i o   I I   t e s t   t h e   a c c u r a c y   a n d   s p e e d   o f   t h e   s y s t e m   i n   t r a c k i n g   a   m o v i n g   o b j e c t   ( R i f l e   a n d   o b j e c t s   a r e   b o t h   m o v i n g ) .   T e s t s   c a r r i e d   o u t   r e p e a t e d   1 0   t i m e s ,   w i t h   d i f f e r e n t   v a r i a t i o n s   o f   t h e   o b j e c t   c o l o r ,   s p e e d   a n d   d i r e c t i o n   o f   m o v e m e n t   o f   t h e   t a r g e t .   B y   d i r e c t i o n   o f   t h e   r o t a t i n g   t a r g e t ,   m o v e   u p ,   d o w n ,   r i g h t ,   l e f t   a n d   m o v e d   i r r e g u l a r l y .   T h e   v a r i a t i o n   o f   s p e e d   i s   d o n e   b y   b e g i n n i n g   t h e   m o v e m e n t   s l o w l y   a n d   t h e n   f a s t   a n d   s l o w s   a g a i n .     S e c e n a r i o   I I I   i s   u s e d   t o   d e t e r m i n e   t h e   m a x i m u m   s p e e d   o f   m o v e m e n t   o f   t h e   t a r g e t   c a n   s t i l l   b e   c a p t u r e d   b y   t h e   s y s t e m .   T e s t i n g   i s   d o n e   b y   c o n d i t i o n i n g   t h e   c a m e r a   s e n s o r   i s   a t   r e s t ,   t h e n   t a k e   t h e   t a r g e t   o f   r e p e a t e d   w i t h   i n c r e a s i n g   s p e e d .   T h e   s p e e d   t h a t   c a n t   b e   c a p t u r e d   b y   t h e   s y s t e m   t h a t   b e c a m e   t h e   m a x i m u m   c a p a b i l i t y   i n   c a p t u r i n g   t h e   t a r g e t   s y s t e m   b a s e d   o n   i t s   s p e e d .       T a b l e   1 .   T e s t i n g   r e s u l t   o f   S c e n a r i o   1   w i t h   L u c a s   K a n a d e   N o   F r a m e   n u m b e r   T a r g e t   c o o r d i n a t   D i s t   ( p x l )   T i m e ( s )   S p e e d   ( F r a m e / s e c )   I n i t   X   I n i t   Y   C u r r   X   C u r r   Y   1   2 2   8 0   8 0   1 6 0   1 2 1   8 9 . 4 4   3 . 4 0 7   6 . 4 6   2   3 5   4 6   1 8 4   1 6 1   1 1 5   1 3 0 . 7 4   4 . 8 2 8   7 . 2 5   3   5 1   2 5 8   7 3   1 6 1   1 1 8   1 0 8 . 6 9   7 . 3 6   6 . 9 3   4   4 9   2 4 9   4 5   1 6 2   1 2 0   2 5 3 . 7 8   4 . 1 7 2   1 1 . 7 4   5   6 7   8   1 6 3   1 5 5   1 1 5   1 5 7 . 9 7   4 . 8 6   1 3 . 7 9   6   2 2   1 7 6   4 7   1 6 4   1 1 8   1 7 7 . 3 7   1 . 9 0 6   1 1 . 5 4   7   3 3   2 7 2   2 1 1   1 6 1   1 2 1   1 4 4 . 3 1   4 . 5 1 6   7 . 3 1   8   4 6   5 8   1 6 1   1 5 9   1 2 3   7 4 . 0 3   7 . 1 2 5   6 . 4 6   9   4 7   2 9 4   1 8 5   1 6 3   1 2 2   1 4 8 . 9 3   5 . 5 7 8   8 . 4 3   1 0   4 1   2 2 0   1 9 1   1 6 5   1 2 0   2 2 3 . 7 9   2 . 6 2 5   1 5 . 6 2     4 1 3           1 5 0 9 . 0   4 6 . 3 7 7   8 . 9 1     Evaluation Warning : The document was created with Spire.PDF for Python.
                                        I S S N :   1 6 9 3 - 6 9 3 0   T E L K O M N I K A     V o l .   9 ,   N o .   3 ,     D e c e m b e r   2 0 1 1   :     4 4 5     4 5 2   4 5 0 4 . 2 .   A n a l y s i s   o f   T e s t i n g   R e s u l t   T h e   r e s u l t s   a n d   t e s t   a n a l y s i s   a f t e r   s e v e r a l   t e s t i n g ,   t h e   r e s u l t s   o f   t h e   t e s t i n g   s y s t e m   i s   d i v i d e d   i n   3   ( t h r e e )   s e k e n a r i o   i s   a s   f o l l o w s :   T a b l e   1   p r e s e n t s   t h e   r e s u l t   a n d   t e s t   a n a l y s i s   s e c e n a r i o   u s i n g   t h e   s p e e d   o f   m o t i o n   I   m o t o r   v e r t i c a l   a n d   h o r i z o n t a l   w i t h   t h e   s p e e d   c o n s t a n t   t e m p e r a t u r e s ,   i . e .   w i t h   5 π   r a d / s e c o n d .   F i r s t   t e s t   s h o w s   t h e   l o c a t i o n   o f   t h e   t a r g e t   i n   p i x e l   c o o r d i n a t e s   i s   a t   t h e   p o i n t   ( 8 0 . 8 0 )   w i t h   a   d i s t a n c e   o f   8 9 . 4 4   p i x e l s   f r o m   t h e   c e n t e r   p o i n t   o f   t h e   t a r g e t .   I n   t h e   f i r s t   t e s t   t a r g e t   c a n   b e   l o c k e d   i n   a   t i m e   o f   3 . 4 0 7   s e c o n d s   b y   t a k i n g   2 2   f r a m e s .   O t h e r w i s e   t h e   t a r g e t   e n d   p o i n t   i s   l o c k e d   a t   t h e   p o i n t   ( x ,   y   p i x e l s )   ( 1 6 0 . 1 2 1 ) .   F i g u r e   5   s h o w s   t h e   t a r g e t   m o v e m e n t   t o w a r d s   t h e   c e n t e r   p o i n t .   T h e   f i g u r e   5   s h o w s   t h e   c h a n g e   i n   t h e   c e n t e r   o f   t h e   t a r g e t   p e r   u n i t   t i m e .   W h e r e   X   a n d   Y   v a l u e s   w i l l   c h a n g e   w i t h   t h e   m o v e m e n t   f u s i l   d o w n   t h e n   m o v e   t o   t h e   l e f t .   F i g u r e   o f   f u s i l   m o v e m e n t   t o w a r d s   t h e   t a r g e t   a r e   p r e s e n t e d   i n   F i g u r e   5 .         F i g u r e   5 .   C h a n g e s   t o   t h e   x y   f r o m   c e n t e r   p o i n t   p e r   u n i t   t i m e .       T h e   t e s t i n g   r e s u l t s   o f   t h e   s y s t e m   i n   s c e n a r i o   I   o f   s t a t i o n a r y   t a r g e t s   w i t h   m o v e m e n t   c o n t r o l s   t h e   d i r e c t i o n   ( r i g h t ,   l e f t ,   u p ,   d o w n )   g e t   a   b e t t e r   a c c u r a c y .   P r o v e n   a t   e v e r y   l o c k   t h e   t a r g e t   o n   a   d i f f e r e n t   l o c a t i o n   a l w a y s   f i n d s   t h e   c o r r e c t   r e s u l t   ( t h e   f i n a l   c o o r d i n a t e s   o f   t h e   t a r g e t   i s   i n   t h e   t o l e r a n c e   o f   t h e   c e n t e r   p o i n t   s h o t ) .   T e s t   r e s u l t s   w i t h   t w o - w a y   c o n t r o l   c a n   b e   s h o w n   i n   T a b l e   2 .             F i g u r e   6 .   T h e   m o v e m e n t   i n   c e n t r a l   p o i n t   t a r g e t   d i s t a n c e   p e r   u n i t   o f   t i m e   t o   t a r g e t   s i l e n c e .   Evaluation Warning : The document was created with Spire.PDF for Python.
T E L K O M N I K A     I S S N :   1 6 9 3 - 6 9 3 0       A u t o m a t e d   N a v i g a t i o n   S y s t e m   b a s e d   o n   W e a p o n - T a r g e t   A s s i g n m e n t   ( G a y u h   T i t i s   P e r m a n a )   4 5 1   O n   t h e   o t h e r   h a n d ,   t h e   t e s t   r e s u l t   t h e   s c e n a r i o   I   u n d e r   c o n t r o l   o f   t h e   d i r e c t i o n   a n d   c o n t r o l   o f   t w o - w a y   t o w a r d s   t h e   t a r g e t   i n   a   s t a t i o n a r y   c o n d i t i o n   i s   p r o v e n   t o   l o c k   t h e   t a r g e t   w e l l .   C o n t r o l   t w o - w a y   g i v e   a   m o r e   s u b t l e   m o v e m e n t   o f   t h e   c o n t r o l   u s i n g   o n e - w a y .   C h a n g e   t h e   v a l u e   o f   d x   ( x   t a r g e t   -   x   c e n t e r )   w i t h   v a l u e   c h a n g e ( t a r g e t   y   -   y   c e n t e r )   i s   n o t   a l w a y s   w a l k   i n   b a l a n c e .   I f   t h e   v a l u e   o f   d x >   d y   d y   w i l l   b e   f a s t e r   t o w a r d   t h e   c e n t r a l   y   v a l u e .   T h i s   i s   b e c a u s e   v e r t i c a l   m o v e m e n t   f u s i l   ( y )   a n d   h o r i z o n t a l   ( x )   h a s   t h e   s a m e   s p e e d ,   s o   i f   d x   a n d   d y   h a v e   d i f f e r e n t   v a l u e s   w i l l   r e s u l t   i n   t h e   a c h i e v e m e n t   o f   t a r g e t s   a g a i n s t   x y   x y   c e n t e r   r e q u i r e s   a   d i f f e r e n t   t i m e .       T a b l e   2 .   T e s t   r e s u l t s   S c e n a r i o   1   A n a l y s i s   a n d   c o n t r o l   o f   t w o - w a y   L u c a s   K a n a d e   N o   F r a m e   n u m b e r   T a r g e t   c o o r d i n a t   D i s t a n c e   ( p x l )   T i m e   ( s )   S p e e d   ( F r a m e / s e c )   I n i t   X   I n i t   Y   C u r r   X   C u r r   Y   1   4 8   3 0 5   7 1   1 6 0   1 1 8   1 5 3 . 0 6   3 . 2 1 9   1 4 . 9 1   2   4 8   2 4   1 9 9   1 6 5   1 2 4   1 5 7 . 2 8   3 . 2 1 9   1 4 . 9 1   3   3 2   2 3 6   5 3   1 6 2   1 1 8   1 0 1 . 3 2   2 . 0 1 6   1 5 . 8 7   4   3 4   1 7   1 3 0   1 5 9   1 1 8   1 4 3 . 3 5   2 . 2 0 3   1 5 . 4 3   5   1 7   1 0 0   1 3 2   1 5 7   1 2 5   6 1 . 1 9   1 . 2 8 2   1 3 . 2 6   6   1 7   1 8 3   2 0 2   1 6 2   1 2 0   8 5 . 1 6   1 . 2 6 5   1 3 . 4 4   7   8 9   2 8 8   1 7 6   1 6 1   1 2 4   1 3 9 . 7 1   5 . 9 3 8   1 4 . 9 9   8   7 8   5 0   5 8   1 6 0   1 1 6   1 2 6 . 2 7   5 . 2 1 9   1 4 . 9 5   9   4 5   2 7 9   1 7 8   1 6 1   1 1 6   1 3 2 . 3 8   2 . 9 6 9   1 5 . 1 6   1 0   2 4   5 6   1 4 6   1 6 0   1 1 9   1 0 7 . 2 0   1 . 6 8 8   1 4 . 2 2       T a b l e   3 .   T h e   r e s u l t s   o f   s e c o n d   s c e n a r i o   w i t h   L u c a s   K a n a d e   m e t h o d   N o   F r a m e   N u m b e r   T a r g e t   c o o r d i n a t   T i m e   ( s )   M o v e m e n t   I n i t   X   I n i t   Y   C u r r   X   C u r r   Y   1   3 7 3   1 5 0   1 5 2   1 6 1   1 2 5   2 7 . 3 9   F r e e   m o v i n g   2   2 1 9   2 3 4   8 4   1 6 3   1 2 4   1 6 . 8 7 5   F r e e   m o v i n g   3   1 4 9   1 7 0   1 9 0   1 6 4   1 1 7   1 0 . 0 6 2   F r e e   m o v i n g   4   1 6 4   7 3   1 1 0   1 6 4   1 2 2   1 0 . 9 3 7   F r e e   m o v i n g   5   1 7 7   1 0 6   1 2 4   1 5 5   1 2 1   1 1 . 8 7 5   F r e e   m o v i n g   6   5 4 6   1 9 4   4 6   1 5 7   1 1 5   3 7 . 5 9 4   C i r c u l a r   m o v i n g   7   1 4 3   1 5 9   1 3 6   1 6 2   1 2 3   1 0 . 3 9 1   U p   -   m o v i n g   8   1 8 5   1 6 9   1 0 9   1 5 4   1 1 5   1 3 . 1 4 1   D o w n   -   m o v i n g   9   1 8 0   1 8 2   1 3 3   1 5 7   1 2 5   1 3 , 0 1 6   R i g h t   -   m o v i n g   1 0   1 4 2   1 8 5   1 2 5   1 6 1   1 2 3   1 0 . 0 7 8   L e f t   -   m o v i n g       T e s t   R e s u l t s   a n d   A n a l y s i s   s c e n a r i o   s c e n a r i o   I I   T e s t i n g   c o n d u c t e d   o n   a   d y n a m i c   t a r g e t .   F r o m   t h e   r e s u l t s   o b t a i n e d   o n   t h e   t e s t i n g   t h e r e   a r e   s e v e r a l   c o n d i t i o n s   a t   t h e   t i m e   o f   l o c k i n g   t h e   t a r g e t .   F u s i l   s p e e d   u s e d   w a s   5   c m / s e c .   I n   t h e   t e s t   s c e n a r i o   I I   -   1   t e s t   r e s u l t s   i n d i c a t e   t h a t   t h e r e   i s   a   p r o c e s s   l o c k   a s   m u c h   a s   1 8   t i m e s   i n   2 7 . 3 9   s e c o n d s ,   a n d   1 8   t i m e s   i n   a   s t a t e   t r a c k i n g .   T h e   c o n d i t i o n   w a s   c a u s e d   o f   t h e   m o v e m e n t   a n d   s p e e d   o f   t h e   t a r g e t   d o e s   n o t   r e g u l a r   t o   a l l o w   t h e   s t a t u s   o f   t h e   t a r g e t   w h i c h   i s   a l r e a d y   i n   l o c k e d   s t a t e   a n d   t h e n   a d d   a   s p e e d   t h a t   e x c e e d s   t h e   v e l o c i t y   o f   f u s i l ,   g i v i n g   r i s e   t o   t h e   d i s t a n c e   b e t w e e n   t h e   c e n t e r   o f   t h e   t a r g e t   w h i c h   c a n   c h a n g e   i t s   s t a t e   t o   a   t r a c k i n g .   T a b l e   3   s h o w s   t h e   r e s u l t s   o f   s e c o n d   s c e n a r i o   w i t h   l u c a s   k a n a d e   m e t h o d .   I n   t e s t   I I   -   6 ,   t h e   r e s u l t s   a r e   o b t a i n e d   f r o m   t h e s e   t e s t s   t h a t   t h e   i n i t i a l   v e l o c i t y   ( b e l o w   5   c m / s e c )   t a r g e t   c a n   b e   l o c k e d   p r o p e r l y ,   a f t e r   a   s p e e d   i s   m o r e   t h a n   5   c m / s e c ,   t h e   t a r g e t   c h a n g e d   t o   t r a c k i n g   t h e   s t a t u s   o f   t h e   t a r g e t .   T h i s   i s   d u e   t o   t h e   l i m i t e d   s p e e d   o f   m o t i o n   o f   g u n s h o t   t o o l .   T a b l e   4   s h o w s   t h e   r e s u l t s   o f   s e c o n d   s c e n a r i o   w i t h   C a m s h i f t   m e t h o d .   O n   s c e n a r i o   I I   f o u n d   a m b i g u i t y   i n   d e t e c t i n g   o f   t h e   t a r g e t   s y s t e m .   I t   i s   f o u n d   w h e n   t h e   t a r g e t   h a s   t h e   s a m e   c o l o r   a s   t h e   c o l o r   o f   o b j e c t s   t h a t   a r e   o n   a d j a c e n t   c o o r d i n a t e s .   F r o m   t h e   d a t a   o b t a i n e d   d u r i n g   t r a c k i n g   a   t a r g e t   t h a t   h a s   a   c o l o r   ( R   =   1 8 2   |   G   =   1 6 9   |   B   =   1 8 0 )   m o v i n g   t h r o u g h   t h e   o b j e c t s   t h a t   h a v e   t h e   s a m e   c o l o r   i n   R G B   ( R   =   1 8 2   |   G   =   1 6 9   |   B   =   1 8 0 ) .   T h e   s y s t e m   c a n   s t i l l   f i n d   t h e   o b j e c t   t h a t   i s   c o n s i d e r e d   a   t a r g e t   b y   m a t c h i n g   t h e   c o l o r   c h a r a c t e r i s t i c s .     T h e   c o l o r   m a t c h i n g   s y s t e m   d o e s   n o t   m a k e   m i s t a k e s   b u t   t h e   o b j e c t   i s   l o c k e d   b y   t h e   s y s t e m   b u t   n o t   t h e   i n i t i a l   o b j e c t   t h a t   h a v e   c h a r a c t e r i s t i c s   s i m i l a r   t o   t h e   t a r g e t   c o l o r .   T h i s   i s   d u e   t o   e i t h e r   C a m S h i f t   o r   L u c a s   K a n a d e   a l g o r i t h m   i s   m o t i o n   t r a c k i n g   a l g o r i t h m ,   w h i c h   s e a r c h e s   b a s e d   o n   c o l o r .   C o l o r   e q u a t i o n   i s   t h e   f u n d a m e n t a l   w e a k n e s s   o f   t h i s   s y s t e m .   T a b l e   5   s h o w s   t h e   r e s u l t s   o f   t h i r d   s c e n a r i o   w i t h   L u c a s   K a n a d e   m e t h o d .   Evaluation Warning : The document was created with Spire.PDF for Python.
                                        I S S N :   1 6 9 3 - 6 9 3 0   T E L K O M N I K A     V o l .   9 ,   N o .   3 ,     D e c e m b e r   2 0 1 1   :     4 4 5     4 5 2   4 5 2 T a b l e   4 .   T e s t   r e s u l t s   S c e n a r i o   2   w i t h   t h e   m e t h o d   C a m S h i f t   N o   F r a m e   n u m b e r   T a r g e t   c o o r d i n a t   D i s t a n c e   ( p x l )   T i m e   ( s )   I n i t   X   I n i t   Y   C u r r   X   C u r r   Y   1   2 9 8   9 3   5 4   1 6 0   1 1 5   9 4 . 0 5   3 6 . 9 5   2   1 9 9   1 2 7   1 5 9   1 5 6   1 2 0   5 1 . 0 9   3 0 . 2 2   3   1 7 2   1 6 3   1 8 2   1 5 8   1 2 2   6 2 . 0 7   1 2 . 0 3   4   1 2 7   2 4 9   5 9   1 6 0   1 1 5   1 0 7 . 9 0   8 . 5 2   5   3 8 9   1 1 9   7 0   1 5 5   1 1 8   6 4 . 6 6   3 7 . 1 6   6   1 9 2   1 5 5   1 4 3   1 5 9   1 1 9   2 3 . 5 4   1 2 . 9 5   7   2 0 2   1 0 7   9 8   1 6 1   1 2 0   5 7 . 3 8   1 3 . 6 4   8   2 2 1   1 6 0   1 2 6   1 6 3   1 1 7   6 . 0 0   1 4 . 7 0   9   3 4   1 0 3   9 9   1 5 6   1 1 6   1 9 4 . 4 0   2 . 3 1   1 0   1 8   1 6 0   8 8   1 6 5   1 2 0   3 2 . 0 0   1 . 2 5       T a b l e   5 .   T h e   r e s u l t s   o f   t h i r d   s c e n a r i o   w i t h   L u c a s   K a n a d e   m e t h o d   N o   I n i t   x   I n i t   y   C u r r   x   C u r r   y   T i m e   D i s t a n c e   f r a m e / s e c   f r a m e   n u m b e r   p i x e l / s e c   1   2 8   1 5 9   9 7   1 5 5   0 . 6 2 5   6 9 . 1 2   1 6 . 0 0   1 0 . 0 0   4 . 3 2   2   6 2   1 2 9   2 7 6   1 2 9   1 . 7 6 5   2 1 4 . 0 0   1 5 . 3 0   2 7 . 0 0   1 3 . 9 9   3   7 4   1 4 0   8 5   1 4 1   0 . 5   1 1 . 0 5   1 6 . 0 0   8 . 0 0   0 . 6 9   4   8 0   1 3 1   2 3 9   1 2 6   1 . 2 1 8   1 5 9 . 0 8   1 5 . 6 0   1 9 . 0 0   1 0 . 2 0   5   7 1   1 2 2   2 4 4   8 8   1 . 0 3 2   1 7 6 . 3 1   1 5 . 5 0   1 6 . 0 0   1 1 . 3 7       T h e   o b j e c t i v e   o f   t h e   t h i r d   t e s t i n g   s c e n a r i o   i s   t o   g e t   t h e   m a x i m u m   s p e e d   l i m i t   o f   m o v i n g   o b j e c t s   t h a t   c a n   s t i l l   b e   t r a c k e d   b y   t h e   s y s t e m .   B a s e d   o n   t h e   d a t a   o b t a i n e d   f r o m   t h e   e x p e r i m e n t   a   m a x i m u m   s p e e d   o f   m o v e m e n t   o f   t h e   s y s t e m   i s   1 1 . 3 7   p i x e l s / s e c .         5 .   C o n c l u s i o n     B a s e d   o n   t h e   a n l y s i s   o f   t h e   r e s u l t   w e   c o n c l u d e   t h a t   I m a g e - b a s e d   m o t i o n   t r a c k i n g   c o n t r o l l e r   c a n   b e   u s e d   a s   a   r i f l e   i n   t h e   d i r e c t i o n   o f   m o t i o n   d o   l o c k i n g   t h e   t a r g e t .   T h e   v e l o c i t y   g u n s h o t   e f f e c t   t h e   s u c c e s s   o f   l o c k i n g   t h e   t a r g e t .   F u s i l   v e l o c i t y   w i t h   t h e   s p e e d   o f   i m a g e   p r o c e s s i n g   o n   t h e   P C   m u s t   b e   b a l a n c e d .   R e s p o n s e   t i m e   s p e c i f i c a t i o n   u s i n g   b y   L u c a s   K a n a d e   m e t h o d   i s   f a s t e r   t h a n   u s i n g   C a m S h i f t ,   d u e   t o   L u c a s   K a n a d e   f e a t u r e   c o l o r   t a k e   o n   a   p i x e l   s o   t h e   s e a r c h   w i n d o w   b e c o m e s   s m a l l e r .   L o c k i n g   c o l o r s   u s i n g   C a m S h i f t   a n d   L u c a s   K a n a d e   a l g o r i t h m   h a s   a   w e a k n e s s ,   n a m e l y   w h e n   t h e   t a r g e t   i s   i n   a n   e n v i r o n m e n t   t h a t   h a s   t h e   s a m e   c o l o r   v a l u e .   T h e r e   a r e   m a n y   f u t u r e   w o r k s :   t h e   c o n t r o l   s y s t e m   o n   f u s i l   r e f i n e d   t o   o b t a i n   h i g h   p r e c i s i o n   m o t i o n   a n d   l i k e   u s i n g   a   c o n s e r v a t i v e   a n d   i n t e l l i g e n t   c o n t r o l   m e t h o d   a n d   i m p r o v e d   i m a g e   p r o c e s s i n g   c a p a b i l i t y   p e r   f r a m e   f o r   t h e   s y s t e m   t o   c a p t u r e   a   m o r e   r a p i d   m o v e m e n t .         R e f e r e n c e s   [ 1 ]     C a i   H ,   L i u   J ,   C h e n   Y ,   a n d   W a n g   H .   Su r v e y   o f   t h e   r e s e a r c h   o n   d y n a m i c   w e a p o n - t a r g e t   a s s i g n m e n t   p r o b l e m .   J o u r n a l   o f   S y s t e m s   E n g i n e e r i n g   a n d   El e c t r o n i c s .   2 0 0 6 ;   1 7 ( 3 ) :     5 5 9 - 5 6 5 .   [ 2 ]     L e e   Z .   J . ,   L e e   C .   Y .   a n d   S u   S.   F .   An   i m m u n i t y - b a s e d   a n t   c o l o n y   o p t i m i z a t i o n   a l g o r i t h m   f o r   s o l v i n g   w e a p o n t a r g e t   a s s i g n m e n t   p r o b l e m .   J o u r n a l   o f   Ap p l i e d   So f t   C o m p u t i n g .   2 0 0 2 ;   2 :   3 9 - 4 7 .   [ 3 ]     Sh a n g   G .   So l v i n g   W e a p o n - T a r g e t   As s i g n m e n t   Pr o b l e m s   b y   a   N e w   An t   C o l o n y   Al g o r i t h m .   Pr o c e e d i n g   o f   I n t e r n a t i o n a l   Sy m p o s i u m   o n   C o m p u t a t i o n a l   I n t e l l i g e n c e   a n d   D e s i g n .   2 0 0 8 .   2 2 1 - 2 2 4 .   [ 4 ]     W a c h o l d e r   E .   n e u r a l   n e t w o r k - b a s e d   o p t i m i z a t i o n   a l g o r i t h m   f o r   t h e   s t a t i c   w e a p o n - t a r g e t   a s s i g n m e n t   p r o b l e m .   O R SA  J o u r n a l   o n   C o m p u t i n g .   4 ( 1 9 8 9 ) :   2 3 2 - 2 4 6 .   [ 5 ]     Al f i a n s y a h   A.   U n i f i e d   En e r g y   Ap p r o a c h   f o r   B - Sp l i n e   Sn a k e   i n   M e d i c a l   I m a g e   S e g m e n t a t i o n .   T EL KO M N I KA   I n d o n e s i a n   J o u r n a l   o f   El e c t r i c a l   En g i n e e r i n g .   2 0 1 0 ;   8 ( 2 ) :     1 7 5 - 1 8 6 .   [ 6 ]     F i r d a u s y   K ,   R i y a d i   S,   Su t i k n o   T ,   M u c h l a s .   Ap l i k a s i   W e b c a m   u n t u k   s i s t e m   p e m a n t a u a n   r u a n g   b e r b a s i s   W e b .   T E L KO M N I KA   I n d o n e s i a n   J o u r n a l   o f   E l e c t r i c a l   E n g i n e e r i n g .   2 0 0 8 ;   6 ( 1 ) :   3 9 - 4 8 .   [ 7 ]     Z h o u   H . ,   Y u a n   Y .   a n d   Sh i   C .   O b j e c t   t r a c k i n g   u s i n g   s i f t   f e a t u r e s   a n d   m e a n   s h i f t .   J o u r n a l   o f   C o m p u t e r   Vi s i o n   a n d   I m a g e   U n d e r s t a n d i n g .   1 1 3 ( 2 0 0 9 ) ;   3 4 5 - 3 5 2 .   [ 8 ]     SL i   S.   X . ,   C h a n g   H . C .   a n d     Z h u   C .   F .   Ad a p t i v e   p y r a m i d   m e a n   s h i f t   f o r   g l o b a l   r e a l - t i m e   v i s u a l   t r a c k i n g .   J o u r n a l   o f   I m a g e   a n d   V i s i o n   C o m p u t i n g .   2 8 ( 2 0 1 0 ) :   4 2 4 - 4 3 7 .   [ 9 ]       D j a j a d i   A,   L a o d a   F ,   R u s y a d i   R ,   Pr a j o g o   T ,   Si n a g a   M .   M o d e l   Vi s i o n   o f   So r t i n g   Sy s t e m   Ap p l i c a t i o n   U s i n g   R o b o t i c   M a n i p u l a t o r .   T EL KO M N I KA   I n d o n e s i a n   J o u r n a l   o f   El e c t r i c a l   E n g i n e e r i n g .   2 0 1 0 ;   8 ( 2 ) :   1 3 7 - 1 4 8 .     Evaluation Warning : The document was created with Spire.PDF for Python.