To classify images into categories, you generate a histogram of visual word occurrences that represent an image. These histograms, called a bag of visual words, are used to train an image category classifier. You can also use the Computer Vision System Toolbox™ functions to search by image, also known as a content-based image retrieval (CBIR) system. CBIR systems are used to retrieve images from a collection of images that are similar to a query image.
|Image Labeler||Label ground truth in a collection of images|
This example shows how to create a Content Based Image Retrieval (CBIR) system using a customized bag-of-features workflow.
Retrieve images from a collection of images similar to a query image using a content-based image retrieval (CBIR) system.
Use the Computer Vision System Toolbox functions for image category classification by creating a bag of visual words.
Interactively label rectangular ROIs for object detection, pixels for semantic segmentation, and scenes for image classification.