Visual Descriptor Learning from Monocular Video

Total Page:16

File Type:pdf, Size:1020Kb

Visual Descriptor Learning from Monocular Video Visual Descriptor Learning from Monocular Video Umashankar Deekshith 1 a , Nishit Gajjar 1 b , Max Schwarz1 c and Sven Behnke1 d 1Autonomous Intelligent Systems group of University of Bonn, Germany [email protected], [email protected] Keywords: Dense Correspondence, Deep Learning, Pixel Descriptors Abstract: Correspondence estimation is one of the most widely researched and yet only partially solved area of computer vision with many applications in tracking, mapping, recognition of objects and environment. In this paper, we propose a novel way to estimate dense correspondence on an RGB image where visual descriptors are learned from video examples by training a fully convolutional network. Most deep learning methods solve this by training the network with a large set of expensive labeled data or perform labeling through strong 3D generative models using RGB-D videos. Our method learns from RGB videos using contrastive loss, where relative labeling is estimated from optical flow. We demonstrate the functionality in a quantitative analysis on rendered videos, where ground truth information is available. Not only does the method perform well on test data with the same background, it also generalizes to situations with a new background. The descriptors learned are unique and the representations determined by the network are global. We further show the applicability of the method to real-world videos. 1 INTRODUCTION Many of the problems in computer vision, like 3D reconstruction, visual odometry, simultaneous local- ization and mapping (SLAM), object recognition, de- pend on the underlying problem of image correspon- dence (see Fig. 1). Correspondence methods based on sparse visual descriptors like SIFT (Lowe, 2004) have been shown to be useful for applications like cam- era calibration, panorama stitching and even robot localization. However, SIFT and similar hand de- Figure 1: Point tracking using the learned descriptors in signed features require a textured image. They per- monocular video. Two different backgrounds are shown to represent the network’s capability to generate global corre- form poorly for images or scenes which lack sufficient spondences. A square patch of 25 pixels are selected (left) texture. In such situations, dense feature extractors and the nearest neighbor for those pixels based on the pixel are better suited than sparse keypoint-based methods. representation is shown for the other images. With the advancement in deep learning in recent years, the general trend is that neural networks can be trained to outperform hand designed feature methods In their work, (Schmidt et al., 2017) and (Flo- for any function using sufficient training data. How- rence et al., 2018) have shown approaches for self- ever, supervised training approaches require signifi- supervised visual descriptor learning using raw RGB- cant effort because they require labeled training data. D sequence of images. Their approach shows that it Therefore, it is useful to have a way to train the model is possible to generate dense descriptors for an ob- in a self-supervised fashion, where the training labels ject or a complete scene and that these descriptors are are created automatically. consistent across videos with different backgrounds and camera alignments. The dense descriptors are a https://orcid.org/0000-0002-0341-5768 learned using contrastive loss (Hadsell et al., 2006). b https://orcid.org/0000-0001-7610-797X The method unlocks a huge potential for robot ma- c https://orcid.org/0000-0002-9942-6604 nipulation, navigation, and self learning of the envi- d https://orcid.org/0000-0002-5040-7525 ronment. However, for obtaining the required corre- Figure 2: Learned dense object descriptors. Top: Stills from a monocular video demonstrating full 6D movement of the object. Bottom: Normalized output of the trained network where each pixel is represented uniquely, visualized as an RGB image. The objects were captured in different places under different lighting conditions, viewpoints giving the object a geometric transformation in a 3D space. It can be seen here that the descriptor generated is independent of these effects. This video sequence has not been seen during training. spondence information for training, the authors rely to limit the learning of meaningful visual descriptors on 3D reconstruction from RGB-D sensors. This lim- for the foreground object, such that these descriptors its the applicability of their method (i.e. shiny and are as far apart in descriptor space as possible. transparent objects cannot be learned). In this work, we show that it is possible to learn Every day a large quantity of videos are generated visual descriptors for monocular images through self- from basic point and shoot cameras. Our aim is to supervised learning by training them using contrastive learn the visual descriptors from an RGB video with- loss for images labeled from optical flow information. out any additional information. We follow a similar We further demonstrate applicability in experiments approach to (Schmidt et al., 2017) by implementing on synthetic and real data. a self-supervised visual descriptor learning network which learns dense object descriptors (see Fig. 2). In- stead of the depth map, we rely on the movement of the object of interest. To find an alternate way 2 Related Work of self learning the pixel correspondences, we turn to available optical flow methods. The traditional Traditionally, dense correspondence estimation al- dense optical flow method of (Farneback,¨ 2000) and gorithms were of two kinds. One with focus on new deep learning based optical flow methods (Sun learning generative models with strong priors (Hinton et al., 2017; Ilg et al., 2017) provide the information et al., 1995), (Sudderth et al., 2005). These algorithms which is the basis of our approach to generate self- were designed to capture similar occurrence of fea- supervised training data. Optical flow gives us a map- tures. Another set of algorithms use hand-engineered ping of pixel correspondences within a sequence of methods. For example, SIFT or HOG performs clus- images. Loosely speaking, our method turns relative tering over training data to discover the feature classes correspondence from optical flow into absolute corre- (Sivic et al., 2005), (C. Russell et al., 2006). Re- spondence using our learned descriptors. cently, the advances in deep learning and their abil- To focus the descriptor learning on the object of ity to reliably capture high dimensional features di- interest, we employ a generic foreground segmenta- rectly from the data has made a lot of progress in tion method (Chen et al., 2014), which provides a correspondence estimation, outperforming the tradi- foreground object mask. We use this foreground mask tional methods. (Taylor et al., 2012) have proposed a method where a regression forest is used to predict used relative labeling to train a fully convolutional dense correspondence between image pixels and ver- network. The idea presented by them is for the de- tices of an articulated mesh model. Similarly, (Shot- scriptor to be encoded with the identity of the point ton et al., 2013) use a random forest given only a sin- that projects onto the pixel so that it is invariant to gle acquired image, to deduce the pose of an RGB-D lighting, viewpoint, deformation and any other vari- camera with respect to a known 3D scene. (Brach- able other than the identity of the surface that gener- mann et al., 2014) jointly train an objective over both ated the observation. (Florence et al., 2018) train the 3D object coordinates and object class labeling to de- network for single-object and multi-object descriptors termine to address the problem of estimating the 6D using a modified pixel-wise contrastive loss function Pose of specific objects from a single RGB-D im- which (similar to (Schmidt et al., 2017)) minimizes age. Semantic segmentation of images as presented the feature distance between the matching pixels and by (Long et al., 2014; Hariharan et al., 2015) use neu- pushes that of non-matching pixels to be at least a ral network that produce dense correspondence of im- configurable threshold away from each other. Their ages. (Guler¨ et al., 2018) propose a method to estab- aim is to train a robotic arm to generate training data lish dense correspondence between RGB image and consisting of objects of interests and then training a surface based representation of human body. All of FCN network to distinctively identify different parts these methods rely on labeled data. To avoid the ex- of the same object and multiple objects. In these pensive labeling process, we use relative labels for methods, an RGB-D video is used and a strong 3D pixels generated before training with minimum com- generative model is used to automatically label cor- putation and no human intervention. respondences. In absence of the depth information, a Relative labeling has been in use for various appli- dense optical flow between subsequent frames of an cations. (Wang et al., 2014) introduced a multi-scale RGB video can provide the correlation between pix- network with triplet sampling algorithm that learns a els in different frames. For image segmentation to se- fine-grained image similarity model directly from im- lect the dominant object in the scene, we refer to the ages. For image retrieval using deep hashing, (Zhang solution given by (Chen et al., 2014) and (Jia et al., et al., 2015) trained a deep CNN where discrimina- 2014). tive image features and hash functions are simulta- neously optimized using max-margin loss on triplet units. However, these methods also require labeled 3 Method data. (Wang and Gupta, 2015) propose a method for image patch detection where they employ rela- Our aim is to train a visual descriptor network us- tive labeling for data points. Here they try to track ing an RGB video to get a non-linear function which patches in videos where two patches connected by W xHx3 can translate an RGB image R to a descriptor a track should have similar visual representation and WxHxD image R .
Recommended publications
  • Image-Based Query by Example Using MPEG-7 Visual Descriptors
    UNIVERSITAT POLITÈCNICA DE CATALUNYA Universitat Politecnica` de Catalunya Enginyeria Tecnica` Superior de Telecomunicacions Image and Video Processing Group Image-Based Query by Example Using MPEG-7 Visual Descriptors Degree’s Final Project Dissertation by Carles Ventura Royo Advisors: Ferran Marques` Acosta Jordi Pont Tuset Barcelona, March 2010 Abstract This project presents the design and implementation of a Content-Based Image Re- trieval (CBIR) system where queries are formulated by visual examples through a graphical interface. Visual descriptors and similarity measures implemented in this work followed mainly those defined in the MPEG-7 standard although, when neces- sary, extensions are proposed. Despite the fact that this is an image-based system, all the proposed descriptors have been implemented for both image and region queries, allowing the future system upgrade to support region-based queries. This way, even a contour shape descriptor has been developed, which has no sense for the whole image. The system has been assessed on different benchmark databases; namely, MPEG-7 Common Color Dataset, and Corel Dataset. The evaluation has been performed for isolated descriptors as well as for combinations of them. The strategy studied in this work to gather the information obtained from the whole set of computed descriptors is weighting the rank list for each isolated descriptor. i Acknowledgments I would like to express my greatest appreciation to my advisors, Ferran Marqu`esand Jordi Pont, for their support, stimulating suggestions and encouragement throughout the course of this research work. I would also like to thank all my colleagues and friends for their help and useful suggestions, in particular Xavier Gir´o,and Albert Gil.
    [Show full text]
  • A Comparative Study of Image Descriptors in Recognizing Human Faces Supported by Distributed Platforms
    electronics Article A Comparative Study of Image Descriptors in Recognizing Human Faces Supported by Distributed Platforms Eissa Alreshidi 1, Rabie A. Ramadan 1,2 , Md. Haidar Sharif 1 , Omer Faruk Ince 3 and Ibrahim Furkan Ince 4,5,* 1 College of Computer Science and Engineering, University of Hail, Hail 55476, Saudi Arabia; [email protected] (E.A.); [email protected] (R.A.R.); [email protected] (M.H.S.) 2 Department of Computer Engineering, Faculty of Engineering, Cairo University, Giza 12613, Egypt 3 Center for Intelligent and Interactive Robotics, Korea Institute of Science and Technology, Seoul 02792, Korea; [email protected] 4 Department of Electronics Engineering, Kyungsung University, Busan 48434, Korea 5 Department of Computer Engineering, Nisantasi University, Istanbul 34485, Turkey * Correspondence: [email protected] Abstract: Face recognition is one of the emergent technologies that has been used in many appli- cations. It is a process of labeling pictures, especially those with human faces. One of the critical applications of face recognition is security monitoring, where captured images are compared to thousands, or even millions, of stored images. The problem occurs when different types of noise manipulate the captured images. This paper contributes to the body of knowledge by proposing an innovative framework for face recognition based on various descriptors, including the following: Color and Edge Directivity Descriptor (CEDD), Fuzzy Color and Texture Histogram Descriptor (FCTH), Color Histogram, Color Layout, Edge Histogram, Gabor, Hashing CEDD, Joint Composite Citation: Alreshidi, E.; Ramadan, Descriptor (JCD), Joint Histogram, Luminance Layout, Opponent Histogram, Pyramid of Gradient R.A.; Sharif, M..H.; Ince, O.F.; Ince, I.F.
    [Show full text]
  • CENTRIST: a VISUAL DESCRIPTOR for SCENE CATEGORIZATION 1 CENTRIST: a Visual Descriptor for Scene Categorization Jianxin Wu, Member, IEEE and James M
    CENTRIST: A VISUAL DESCRIPTOR FOR SCENE CATEGORIZATION 1 CENTRIST: A Visual Descriptor for Scene Categorization Jianxin Wu, Member, IEEE and James M. Rehg, Member, IEEE Abstract—CENTRIST (CENsus TRansform hISTogram), a new visual descriptor for recognizing topological places or scene categories, is introduced in this paper. We show that place and scene recognition, especially for indoor environments, require its visual descriptor to possess properties that are different from other vision domains (e.g. object recognition). CENTRIST satisfies these properties and suits the place and scene recognition task. It is a holistic representation and has strong generalizability for category recognition. CENTRIST mainly encodes the structural properties within an image and suppresses detailed textural information. Our experiments demonstrate that CENTRIST outperforms the current state-of-the-art in several place and scene recognition datasets, compared with other descriptors such as SIFT and Gist. Besides, it is easy to implement and evaluates extremely fast. Index Terms—Place recognition, scene recognition, visual descriptor, Census Transform, SIFT, Gist F 1 INTRODUCTION The input images in scene recognition are usually NOWING “Where am I” has always being an impor- captured by a person, and are ensured to be rep- K tant research topic in robotics and computer vision. resentative or characteristic of the underlying scene Various research problems have been studied in order category. It is usually easy for a person to look at to answer different facets of this question. For example, an input image and determine its category label. the following three research themes aim at revealing the In this paper we are interested in recognizing places location of a robot or determining where an image is or scene categories using images taken by a usual recti- taken.
    [Show full text]
  • Local Features for Visual Object Matching and Video Scene Detection
    Antti Hietanen LOCAL FEATURES FOR VISUAL OBJECT MATCHING AND VIDEO SCENE DETECTION Master’s Thesis Examiners: Professor Joni-Kristian Kämäräinen Examiners and topic approved in the Computing and Elec- trical Engineering Faculty Council meeting on 4th Novem- ber 2015 ABSTRACT TAMPERE UNIVERSITY OF TECHNOLOGY Master’s Degree Programme in Information Technology ANTTI HIETANEN: Local features for visual object matching and video scene de- tection Master of Science Thesis, 63 pages September 2015 Major: Signal Processing Examiner: Prof. Joni-Kristian Kämäräinen Keywords: Local features, Feature detector, Feature descriptor, Object class matching, Scene boundary detection Local features are important building blocks for many computer vision algorithms such as visual object alignment, object recognition, and content-based image retrieval. Local features are extracted from an image by a local feature detector and then the detected features are encoded using a local feature descriptor. The resulting features based on the descriptors, such as histograms or binary strings, are used in matching to find similar features between objects in images. In this thesis, we deal with two research problem in the context of local features for object detection: we extend the original local feature detector and descriptor performance benchmarks from the wide baseline setting to the intra-class matching; and propose local features for consumer video scene boundary detection. In the intra-class matching, the visual appearance of objects semantic class can be very different (e.g., Harley Davidson and Scooter in the same motorbike class) and making the task more difficult than wide baseline matching. The performance of different local feature detectors and descriptors are evaluated over three different image databases and results for more advance analysis are reported.
    [Show full text]
  • A Review on Near-Duplicate Detection of Images Using
    A Review on Near‑Duplicate Detection of Images using Computer Vision Techniques K. K. Thyagharajan, [email protected] Professor & Dean (Academic) RMD Engineering College Tamil Nadu, INDIA G. Kalaiarasi [email protected] Assistant Professor Sathyabama Institute of Science and Technology Chennai, INDIA Abstract Nowadays, digital content is widespread and simply redistributable, either lawfully or unlawfully. For example, after images are posted on the internet, other web users can modify them and then repost their versions, thereby generating near-duplicate images. The presence of near-duplicates affects the performance of the search engines critically. Computer vision is concerned with the automatic extraction, analysis and understanding of useful information from digital images. The main application of computer vision is image understanding. There are several tasks in image understanding such as feature extraction, object detection, object recognition, image cleaning, image transformation, etc. There is no proper survey in literature related to near duplicate detection of images. In this paper, we review the state-of-the-art computer vision-based approaches and feature extraction methods for the detection of near duplicate images. We also discuss the main challenges in this field and how other researchers addressed those challenges. This review provides research directions to the fellow researchers who are interested to work in this field. Key words: Near duplicate image, visually similar image, duplicate detection of images, forgery, image data base 1 1 Introduction There is a huge number of digital images on the web and it is common to see multiple versions of the same image. The increasing use of low-cost imaging devices and the availability of large databases of digital photos and movies makes the retrieval of digital media a frequent activity for a number of applications.
    [Show full text]
  • Image Classification Using Bag of Visual Words and Novel COSFIRE Descriptors
    Image Classification using Bag of Visual Words and Novel COSFIRE Descriptors Matthew Grech Supervisor: Dr. George Azzopardi University of Malta Faculty of ICT University of Malta May 2016 Submitted in partial fulfillment of the requirements for the degree of B.Sc. ICTin Artificial Intelligence (Hons.) Abstract The main task of a keypoint descriptor is to describe an interesting patch(keypoint) in an image. This project proposes a new keypoint descriptor, based on the trainable COSFIRE filters that are used for keypoint detection and pattern recognition, to describe keypoints found in an image. A keypoint is a particular patch within an image that is deemed to be an interesting patch by a keypoint detector. A visual descriptor effectively describes the detected keypoints by being robust to changes in different image conditions while also being distinctive between different keypoints. We analyse the popular Bag of Visual Words (BOVW) image classification model, by examining each step of this model and choosing the best design configuration, starting from the extraction and description of the image keypoints to the classification of unseen image dataset. The proposed solution takes into consideration the configuration parameters found in the COSFIRE filters to effectively construct the novel keypoint descriptor. Differ- ent COSFIRE descriptor configurations were proposed in this project and their per- formance was assessed, along with other popular keypoint descriptors, on the popular procedure defined by [1], where different image conditions, such as variation of view- point or blur, are taken into account to test the descriptor’s effectiveness. The best COSFIRE descriptor was then chosen along with the state-of-the-art SIFT descriptor [2] to evaluate their accuracy rate using the BoVW model.
    [Show full text]
  • Visual Descriptor Learning from Monocular Video
    Visual Descriptor Learning from Monocular Video Umashankar Deekshith a, Nishit Gajjar b, Max Schwarz c and Sven Behnke d Autonomous Intelligent Systems Group of University of Bonn, Germany [email protected], [email protected] Keywords: Dense Correspondence, Deep Learning, Pixel Descriptors. Abstract: Correspondence estimation is one of the most widely researched and yet only partially solved area of computer vision with many applications in tracking, mapping, recognition of objects and environment. In this paper, we propose a novel way to estimate dense correspondence on an RGB image where visual descriptors are learned from video examples by training a fully convolutional network. Most deep learning methods solve this by training the network with a large set of expensive labeled data or perform labeling through strong 3D generative models using RGB-D videos. Our method learns from RGB videos using contrastive loss, where relative labeling is estimated from optical flow. We demonstrate the functionality in a quantitative analysis on rendered videos, where ground truth information is available. Not only does the method perform well on test data with the same background, it also generalizes to situations with a new background. The descriptors learned are unique and the representations determined by the network are global. We further show the applicability of the method to real-world videos. 1 INTRODUCTION Many of the problems in computer vision, like 3D reconstruction, visual odometry, simultaneous local- ization and mapping (SLAM), object recognition, de- pend on the underlying problem of image correspon- dence (see Fig. 1). Correspondence methods based on sparse visual descriptors like SIFT (Lowe, 2004) have been shown to be useful for applications like cam- era calibration, panorama stitching and even robot localization.
    [Show full text]
  • Indoor Versus Outdoor Scene Recognition for Navigation of a Micro
    Ganesan and Balasubramanian Visual Computing for Industry, Biomedicine, and Art Visual Computing for Industry, (2019) 2:20 https://doi.org/10.1186/s42492-019-0030-9 Biomedicine, and Art ORIGINAL ARTICLE Open Access Indoor versus outdoor scene recognition for navigation of a micro aerial vehicle using spatial color gist wavelet descriptors Anitha Ganesan and Anbarasu Balasubramanian* Abstract In the context of improved navigation for micro aerial vehicles, a new scene recognition visual descriptor, called spatial color gist wavelet descriptor (SCGWD), is proposed. SCGWD was developed by combining proposed Ohta color-GIST wavelet descriptors with census transform histogram (CENTRIST) spatial pyramid representation descriptors for categorizing indoor versus outdoor scenes. A binary and multiclass support vector machine (SVM) classifier with linear and non-linear kernels was used to classify indoor versus outdoor scenes and indoor scenes, respectively. In this paper, we have also discussed the feature extraction methodology of several, state-of-the-art visual descriptors, and four proposed visual descriptors (Ohta color-GIST descriptors, Ohta color-GIST wavelet descriptors, enhanced Ohta color histogram descriptors, and SCGWDs), in terms of experimental perspectives. The proposed enhanced Ohta color histogram descriptors, Ohta color-GIST descriptors, Ohta color-GIST wavelet descriptors, SCGWD, and state-of-the-art visual descriptors were evaluated, using the Indian Institute of Technology Madras Scene Classification Image Database two, an Indoor-Outdoor Dataset, and the Massachusetts Institute of Technology indoor scene classification dataset [(MIT)-67]. Experimental results showed that the indoor versus outdoor scene recognition algorithm, employing SVM with SCGWDs, produced the highest classification rates (CRs)—95.48% and 99.82% using radial basis function kernel (RBF) kernel and 95.29% and 99.45% using linear kernel for the IITM SCID2 and Indoor-Outdoor datasets, respectively.
    [Show full text]
  • Event Curation and Classification Technique Based on Object Detection
    International Journal of Multidisciplinary and Current Educational Research (IJMCER) ISSN: 2581-7027 ||Volume|| 3 ||Issue|| 1 ||Pages 209-217 ||2021|| Event Curation and Classification Technique based on Object Detection 1,P Venkateshwarlu , 2,Dr. B. Manjula 1,Research Scholar, Department of Computer Science, Kakatiya University, Warangal, Telangana, India. 2,Assistant Professor, Dept, of CS, Kakatiya University, Warangal, Telangana, India. ABSTRACT : In the present era of image classification keypoint selection and keypoint descriptors role is very crucial and in this paper we have presented a new “key point descriptor algorithm” using “Bag of Visual Words (BoW)” method to classify the images which detects keypoints using COSEFIRE filters by extracting the keypoint regions or visual patches. A visual descriptor has to describe the keypoints detected in a testing image in a robust manner and can easily accommodate the changes based on image conditions such as blur image, rotated image, compressed image, and light conditions and based on the results attained we refer COSEFIRE 85 filter to be the most appropriate as it provides acceptable results over our personal image data set. KEYWORDS: Bag of Visual Words, COSEFIRE, keypoint, image descriptor, classification. I. INTRODUCTION The image classification is the process of keeping two or more images with similar components or keypoints into a group or category by describing the vital features of a image with training set is identified and associated with labels in training set as shown in figure 1 denotes the images in test set which has to be classified based on existing data set using the proposed methodology. Figure 1.
    [Show full text]
  • Empirical Comparison of Visual Descriptors for Ulcer Recognition in Wireless Capsule Endoscopy Video
    EMPIRICAL COMPARISON OF VISUAL DESCRIPTORS FOR ULCER RECOGNITION IN WIRELESS CAPSULE ENDOSCOPY VIDEO Ouiem Bchir 1, Mohamed Maher Ben Ismail 1 and Nourah AL_Aseem 1,2 1Computer Science Department, College of Computer and Information Sciences, King Saud University 1,2 Computer Science Department, College of Engineering and Computer Sciences, Prince Sattam Bin Abdulaziz University ABSTRACT In this work, we empirically compare the performance of various visual descriptors for ulcer detection using real Wireless Capsule Endoscopy WCE video frames. This comparison is intended to determine which visual descriptor represents better WCE frames, and yields more accurate gastrointestinal ulcer detection. The extracted visual descriptors are fed to the ulcer recognition system which relies on Support Vector Machine (SVM) classification to categorize WCE frames as “ulcer” or “non-ulcer”. KEYWORDS Visual descriptors, Ulcer detection, Wireless Capsule Endoscopy. 1. I NTRODUCTION A disease can be defined as a particular abnormal case, a disorder of structure or function, which impacts a specific side or all of an organism [1].Wireless Capsule Endoscopy (WCE) is an advanced technology which is used to recognize internal diseases[2], especially ulcer of the digestive tract. Its main advantages are flexibility, accuracy, pain free, and reasonable cost [3]. WCE system consists of three components: an electronic capsule sensing system, a recording device, and a computer for image review and interpretation[4].More specifically, WCE is a small capsule containing a miniature camera that is swallowed by the patient, and captures around 50,000 frames of the gastro-intestinal track that are transmitted to the receiver in a real time manner.
    [Show full text]