This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Image Category Classification and Image Retrieval

Create a bag of visual words for image classification and content-based image retrieval (CBIR) systems

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.

Apps

Image LabelerLabel images for computer vision applications
Video LabelerLabel video for computer vision applications

Functions

expand all

trainImageCategoryClassifierTrain an image category classifier
bagOfFeaturesBag of visual words object
imageCategoryClassifierPredict image category
invertedImageIndexSearch index that maps visual words to images
evaluateImageRetrievalEvaluate image search results
indexImagesCreate image search index
retrieveImagesSearch image set for similar image
imageDatastoreDatastore for image data

Topics

Image Classification with Bag of Visual Words

Use the Computer Vision System Toolbox functions for image category classification by creating a bag of visual words.

Get Started with the Image Labeler

Interactively label rectangular ROIs for object detection, pixels for semantic segmentation, and scenes for image classification.

Featured Examples