Outline of object recognition
Object recognition – technology in the field of computer vision for finding and identifying objects in an image or video sequence. Humans recognize a multitude of objects in images with little effort, despite the fact that the image of the objects may vary somewhat in different view points, in many different sizes and scales or even when they are translated or rotated. Objects can even be recognized when they are partially obstructed from view. This task is still a challenge for computer vision systems. Many approaches to the task have been implemented over multiple decades.
Approaches based on CAD-like object models
[edit]- Edge detection
- Primal sketch
- Marr, Mohan and Nevatia[1]
- Lowe
- Olivier Faugeras
Recognition by parts
[edit]- Generalized cylinders (Thomas Binford)
- Geons (Irving Biederman)
- Dickinson, Forsyth and Ponce
Appearance-based methods
[edit]- Use example images (called templates or exemplars) of the objects to perform recognition
- Objects look different under varying conditions:
- Changes in lighting or color
- Changes in viewing direction
- Changes in size/shape
- A single exemplar is unlikely to succeed reliably. However, it is impossible to represent all appearances of an object.
Edge matching
[edit]- Uses edge detection techniques, such as the Canny edge detection, to find edges.
- Changes in lighting and color usually don't have much effect on image edges
- Strategy:
- Detect edges in template and image
- Compare edges images to find the template
- Must consider range of possible template positions
- Measurements:
- Good – count the number of overlapping edges. Not robust to changes in shape
- Better – count the number of template edge pixels with some distance of an edge in the search image
- Best – determine probability distribution of distance to nearest edge in search image (if template at correct position). Estimate likelihood of each template position generating image
Divide-and-Conquer search
[edit]- Strategy:
- Consider all positions as a set (a cell in the space of positions)
- Determine lower bound on score at best position in cell
- If bound is too large, prune cell
- If bound is not too large, divide cell into subcells and try each subcell recursively
- Process stops when cell is “small enough”
- Unlike multi-resolution search, this technique is guaranteed to find all matches that meet the criterion (assuming that the lower bound is accurate)
- Finding the Bound:
- To find the lower bound on the best score, look at score for the template position represented by the center of the cell
- Subtract maximum change from the “center” position for any other position in cell (occurs at cell corners)
- Complexities arise from determining bounds on distance[citation needed]
Greyscale matching
[edit]- Edges are (mostly) robust to illumination changes, however they throw away a lot of information
- Must compute pixel distance as a function of both pixel position and pixel intensity
- Can be applied to color also
Gradient matching
[edit]- Another way to be robust to illumination changes without throwing away as much information is to compare image gradients
- Matching is performed like matching greyscale images
- Simple alternative: Use (normalized) correlation
Histograms of receptive field responses
[edit]- Avoids explicit point correspondences
- Relations between different image points implicitly coded in the receptive field responses
- Swain and Ballard (1991),[2] Schiele and Crowley (2000),[3] Linde and Lindeberg (2004, 2012)[4][5]
Large modelbases
[edit]- One approach to efficiently searching the database for a specific image to use eigenvectors of the templates (called eigenfaces)
- Modelbases are a collection of geometric models of the objects that should be recognized
Feature-based methods
[edit]Feature detection |
---|
Edge detection |
Corner detection |
Blob detection |
Ridge detection |
Hough transform |
Structure tensor |
Affine invariant feature detection |
Feature description |
Scale space |
- a search is used to find feasible matches between object features and image features.
- the primary constraint is that a single position of the object must account for all of the feasible matches.
- methods that extract features from the objects to be recognized and the images to be searched.
- surface patches
- corners
- linear edges
Interpretation trees
[edit]- A method for searching for feasible matches, is to search through a tree.
- Each node in the tree represents a set of matches.
- Root node represents empty set
- Each other node is the union of the matches in the parent node and one additional match.
- Wildcard is used for features with no match
- Nodes are “pruned” when the set of matches is infeasible.
- A pruned node has no children
- Historically significant and still used, but less commonly
Hypothesize and test
[edit]- General Idea:
- Hypothesize a correspondence between a collection of image features and a collection of object features
- Then use this to generate a hypothesis about the projection from the object coordinate frame to the image frame
- Use this projection hypothesis to generate a rendering of the object. This step is usually known as backprojection
- Compare the rendering to the image, and, if the two are sufficiently similar, accept the hypothesis
- Obtaining Hypothesis:
- There are a variety of different ways of generating hypotheses.
- When camera intrinsic parameters are known, the hypothesis is equivalent to a hypothetical position and orientation – pose – for the object.
- Utilize geometric constraints
- Construct a correspondence for small sets of object features to every correctly sized subset of image points. (These are the hypotheses)
- Three basic approaches:
- Obtaining Hypotheses by Pose Consistency
- Obtaining Hypotheses by Pose Clustering
- Obtaining Hypotheses by Using Invariants
- Expense search that is also redundant, but can be improved using Randomization and/or Grouping
- Randomization
- Examining small sets of image features until likelihood of missing object becomes small
- For each set of image features, all possible matching sets of model features must be considered.
- Formula:
- (1 – Wc)k = Z
- W = the fraction of image points that are “good” (w ~ m/n)
- c = the number of correspondences necessary
- k = the number of trials
- Z = the probability of every trial using one (or more) incorrect correspondences
- Grouping
- If we can determine groups of points that are likely to come from the same object, we can reduce the number of hypotheses that need to be examined
- Randomization
Pose consistency
[edit]- Also called Alignment, since the object is being aligned to the image
- Correspondences between image features and model features are not independent – Geometric constraints
- A small number of correspondences yields the object position – the others must be consistent with this
- General Idea:
- If we hypothesize a match between a sufficiently large group of image features and a sufficiently large group of object features, then we can recover the missing camera parameters from this hypothesis (and so render the rest of the object)
- Strategy:
- Generate hypotheses using small number of correspondences (e.g. triples of points for 3D recognition)
- Project other model features into image (backproject) and verify additional correspondences
- Use the smallest number of correspondences necessary to achieve discrete object poses
- General Idea:
- Each object leads to many correct sets of correspondences, each of which has (roughly) the same pose
- Vote on pose. Use an accumulator array that represents pose space for each object
- This is essentially a Hough transform
- Strategy:
- For each object, set up an accumulator array that represents pose space – each element in the accumulator array corresponds to a “bucket” in pose space.
- Then take each image frame group, and hypothesize a correspondence between it and every frame group on every object
- For each of these correspondences, determine pose parameters and make an entry in the accumulator array for the current object at the pose value.
- If there are large numbers of votes in any object's accumulator array, this can be interpreted as evidence for the presence of that object at that pose.
- The evidence can be checked using a verification method
- Note that this method uses sets of correspondences, rather than individual correspondences
- Implementation is easier, since each set yields a small number of possible object poses.
- Improvement
- The noise resistance of this method can be improved by not counting votes for objects at poses where the vote is obviously unreliable
- § For example, in cases where, if the object was at that pose, the object frame group would be invisible.
- These improvements are sufficient to yield working systems
- There are geometric properties that are invariant to camera transformations
- Most easily developed for images of planar objects, but can be applied to other cases as well
- An algorithm that uses geometric invariants to vote for object hypotheses
- Similar to pose clustering, however instead of voting on pose, we are now voting on geometry
- A technique originally developed for matching geometric features (uncalibrated affine views of plane models) against a database of such features
- Widely used for pattern-matching, CAD/CAM, and medical imaging.
- It is difficult to choose the size of the buckets
- It is hard to be sure what “enough” means. Therefore, there may be some danger that the table will get clogged.
- Keypoints of objects are first extracted from a set of reference images and stored in a database
- An object is recognized in a new image by individually comparing each feature from the new image to this database and finding candidate matching features based on Euclidean distance of their feature vectors.
- Lowe (2004)[6][7]
Speeded Up Robust Features (SURF)
[edit]- A robust image detector & descriptor
- The standard version is several times faster than SIFT and claimed by its authors to be more robust against different image transformations than SIFT
- Based on sums of approximated 2D Haar wavelet responses and made efficient use of integral images.
- Bay et al. (2008)[8]
Bag of words representations
[edit]Genetic algorithm
[edit]Genetic algorithms can operate without prior knowledge of a given dataset and can develop recognition procedures without human intervention. A recent project achieved 100 percent accuracy on the benchmark motorbike, face, airplane and car image datasets from Caltech and 99.4 percent accuracy on fish species image datasets.[9][10]
Other approaches
[edit]- 3D object recognition and reconstruction[11]
- Biologically inspired object recognition
- Artificial neural networks and Deep Learning especially convolutional neural networks
- Context[12][13]
- Explicit and implicit 3D object models
- Fast indexing[14]
- Global scene representations[12]
- Gradient histograms
- Stochastic grammars[15]
- Intraclass transfer learning
- Object categorization from image search
- Reflectance[16]
- Shape-from-shading[17]
- Template matching
- Texture[18]
- Topic models[13]
- Unsupervised learning
- Window-based detection
- Deformable Part Model
- Bingham distribution[19]
Applications
[edit]Object recognition methods has the following applications:
- Activity recognition[20]
- Automatic image annotation[21][22]
- Automatic target recognition
- Android Eyes - Object Recognition[23]
- Computer-aided diagnosis[24]
- Image panoramas[25]
- Image watermarking[26]
- Global robot localization[27]
- Face detection[28]
- Optical Character Recognition[29]
- Manufacturing quality control[30]
- Content-based image retrieval[31]
- Object Counting and Monitoring[32]
- Automated parking systems[33]
- Visual Positioning and tracking[34]
- Video stabilization[35]
- Pedestrian detection
- Intelligent speed assistance (in car and other vehicles)
Surveys
[edit]- Daniilides and Eklundh, Edelman.
- Roth, Peter M. & Winter, Martin (2008). "SURVEYOFAPPEARANCE-BASED METHODS FOR OBJECT RECOGNITION" (PDF). Technical Report. ICG-TR-01/08. Archived from the original (PDF) on 2015-09-21. Retrieved 2016-02-26.
See also
[edit]- Histogram of oriented gradients
- Convolutional neural network
- OpenCV
- Scale-invariant feature transform (SIFT)
- Object detection
- Scholarpedia article on scale-invariant feature transform and related object recognition methods
- SURF
- Template matching
- Integral channel feature
- Lists
Notes
[edit]- ^ Rahesh Mohan & Rakamant Nevatia (1992). "Perceptual organization for scene segmentation and description" (PDF). IEEE Trans Pattern Anal Mach Intell.
- ^ Swain, Michael J.; Ballard, Dana H. (1991-11-01). "Color indexing". International Journal of Computer Vision. 7 (1): 11–32. doi:10.1007/BF00130487. ISSN 1573-1405. S2CID 8167136.
- ^ Schiele, Bernt; Crowley, James L. (2000-01-01). "Recognition without Correspondence using Multidimensional Receptive Field Histograms". International Journal of Computer Vision. 36 (1): 31–50. doi:10.1023/A:1008120406972. ISSN 1573-1405. S2CID 2551159.
- ^ O. Linde and T. Lindeberg "Object recognition using composed receptive field histograms of higher dimensionality", Proc. International Conference on Pattern Recognition (ICPR'04), Cambridge, U.K. II:1-6, 2004.
- ^ O. Linde; T. Lindeberg (2012). "Composed Complex-Cue Histograms: An Investigation of the Information Content in Receptive Field Based Image Descriptors for Object Recognition". Computer Vision and Image Understanding. 116 (4): 538–560. doi:10.1016/j.cviu.2011.12.003.
- ^ Lowe, D. G., "Distinctive image features from scale-invariant keypoints", International Journal of Computer Vision, 60, 2, pp. 91-110, 2004.
- ^ Lindeberg, Tony (2012). "Scale invariant feature transform". Scholarpedia. 7 (5): 10491. Bibcode:2012SchpJ...710491L. doi:10.4249/scholarpedia.10491.
- ^ Bay, Herbert; Ess, Andreas; Tuytelaars, Tinne; Van Gool, Luc (2008). "Speeded-Up Robust Features (SURF)". Computer Vision and Image Understanding. 110 (3): 346–359. CiteSeerX 10.1.1.205.738. doi:10.1016/j.cviu.2007.09.014. S2CID 14777911.
- ^ "New object recognition algorithm learns on the fly". Gizmag.com. 20 January 2014. Retrieved 2014-01-21.
- ^ Lillywhite, K.; Lee, D. J.; Tippetts, B.; Archibald, J. (2013). "A feature construction method for general object recognition". Pattern Recognition. 46 (12): 3300. Bibcode:2013PatRe..46.3300L. doi:10.1016/j.patcog.2013.06.002.
- ^ Brown, Matthew, and David G. Lowe. "Unsupervised 3D object recognition and reconstruction in unordered datasets." 3-D Digital Imaging and Modeling, 2005. 3DIM 2005. Fifth International Conference on. IEEE, 2005.
- ^ a b Oliva, Aude, and Antonio Torralba. "The role of context in object recognition." Trends in cognitive sciences 11.12 (2007): 520-527.
- ^ a b Niu, Zhenxing, et al. "Context aware topic model for scene recognition." 2012 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2012.
- ^ Stein, Fridtjof, and Gérard Medioni. "Structural indexing: Efficient 3-D object recognition." IEEE Transactions on Pattern Analysis & Machine Intelligence 2 (1992): 125-145.
- ^ Zhu, Song-Chun, and David Mumford. "A stochastic grammar of images." Foundations and Trends in Computer Graphics and Vision 2.4 (2007): 259-362.
- ^ Nayar, Shree K., and Ruud M. Bolle. "Reflectance based object recognition." International journal of computer vision 17.3 (1996): 219-240.
- ^ Worthington, Philip L., and Edwin R. Hancock. "Object recognition using shape-from-shading." IEEE Transactions on Pattern Analysis and Machine Intelligence 23.5 (2001): 535-542.
- ^ Shotton, Jamie, et al. "Textonboost for image understanding: Multi-class object recognition and segmentation by jointly modeling texture, layout, and context." International journal of computer vision 81.1 (2009): 2-23.
- ^ "Better robot vision". KurzweilAI. Retrieved 2013-10-09.
- ^ Donahue, Jeffrey, et al. "Long-term recurrent convolutional networks for visual recognition and description." Proceedings of the IEEE conference on computer vision and pattern recognition. 2015.
- ^ Karpathy, Andrej, and Li Fei-Fei. "Deep visual-semantic alignments for generating image descriptions." Proceedings of the IEEE conference on computer vision and pattern recognition. 2015.
- ^ . Proceedings of the European Conference on Computer Vision. pp. 97–112. Archived from the original on 2005-03-05.
- ^ "Android Eyes Computer Vision".Martha J. Farah "Visual Agnosia", Computer Vision Computing Cognitive Neuroscience, MIT Press, 2011-05-01, Pages 760-781, ISSN 1468-4233 [1][dead link]
- ^ Esteva, Andre, et al. "Dermatologist-level classification of skin cancer with deep neural networks." Nature 542.7639 (2017): 115.
- ^ Brown, M., and Lowe, D.G., "Recognising Panoramas Archived 2014-12-25 at the Wayback Machine," ICCV, p. 1218, Ninth IEEE International Conference on Computer Vision (ICCV'03) - Volume 2, Nice,France, 2003
- ^ Li, L., Guo, B., and Shao, K., "Geometrically robust image watermarking using scale-invariant feature transform and Zernike moments," Chinese Optics Letters, Volume 5, Issue 6, pp. 332-335, 2007.
- ^ Se,S., Lowe, D.G., and Little, J.J.,"Vision-based global localization and mapping for mobile robots", IEEE Transactions on Robotics, 21, 3 (2005), pp. 364-375.
- ^ Thomas Serre, Maximillian Riesenhuber, Jennifer Louie, Tomaso Poggio, "On the Role of Object-Specific features for Real World Object Recognition in Biological Vision." Artificial Intelligence Lab, and Department of Brain and Cognitive Sciences, Massachusetts Institute of Technology, Center for Biological and Computational Learning, Mc Govern Institute for Brain Research, Cambridge, MA, USA
- ^ Permaloff, Anne; Grafton, Carl (1992). "Optical Character Recognition". PS: Political Science and Politics. 25 (3): 523–531. doi:10.2307/419444. ISSN 1049-0965. JSTOR 419444. S2CID 64806776.
- ^ Christian Demant, Bernd Streicher-Abel, Peter Waszkewitz, "Industrial image processing: visual quality control in manufacturing" Outline of object recognition at Google Books
- ^ Nuno Vasconcelos "Image Indexing with Mixture Hierarchies" Archived 2011-01-18 at the Wayback Machine Compaq Computer Corporation, Proc. IEEE Conference in Computer Vision and Pattern Recognition, Kauai, Hawaii, 2001
- ^ Heikkilä, Janne; Silvén, Olli (2004). "A real-time system for monitoring of cyclists and pedestrians". Image and Vision Computing. 22 (7): 563–570. doi:10.1016/j.imavis.2003.09.010.
- ^ Jung, Ho Gi; Kim, Dong Suk; Yoon, Pal Joo; Kim, Jaihie (2006). "Structure Analysis Based Parking Slot Marking Recognition for Semi-automatic Parking System". In Yeung, Dit-Yan; Kwok, James T.; Fred, Ana; Roli, Fabio; de Ridder, Dick (eds.). Structural, Syntactic, and Statistical Pattern Recognition. Lecture Notes in Computer Science. Vol. 4109. Berlin, Heidelberg: Springer. pp. 384–393. doi:10.1007/11815921_42. ISBN 978-3-540-37241-7.
- ^ S. K. Nayar, H. Murase, and S.A. Nene, "Learning, Positioning, and tracking Visual appearance" Proc. Of IEEE Intl. Conf. on Robotics and Automation, San Diego, May 1994
- ^ Liu, F.; Gleicher, M.; Jin, H.; Agarwala, A. (2009). "Content-preserving warps for 3D video stabilization". ACM Transactions on Graphics. 28 (3): 1. CiteSeerX 10.1.1.678.3088. doi:10.1145/1531326.1531350.
References
[edit]- Elgammal, Ahmed "CS 534: Computer Vision 3D Model-based recognition", Dept of Computer Science, Rutgers University;
- Hartley, Richard and Zisserman, Andrew "Multiple View Geometry in computer vision", Cambridge Press, 2000, ISBN 0-521-62304-9.
- Roth, Peter M. and Winter, Martin "Survey of Appearance-Based Methods for Object Recognition", Technical Report ICG-TR-01/08, Inst. for Computer Graphics and Vision, Graz University of Technology, Austria; January 15, 2008.
- Collins, Robert "Lecture 31: Object Recognition: SIFT Keys", CSE486, Penn State
- IPRG Archived 2020-12-28 at the Wayback Machine Image Processing - Online Open Research Group
- Christian Szegedy Archived 2015-09-06 at the Wayback Machine, Alexander Toshev Archived 2015-10-04 at the Wayback Machine and Dumitru Erhan. Deep Neural Networks for Object Detection. Advances in Neural Information Processing Systems 26 Archived 2020-09-05 at the Wayback Machine, 2013. page 2553–2561.