Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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

Training Image Labeler Label images for training a classifier

Functions

trainImageCategoryClassifier Train an image category classifier
bagOfFeatures Bag of visual words object
imageCategoryClassifier Predict image category
invertedImageIndex Search index that maps visual words to images
evaluateImageRetrieval Evaluate image search results
indexImages Create image search index
retrieveImages Search image set for similar image
imageDatastore Create ImageDatastore object for collections of image data

Topics

Image Retrieval Using Customized Bag of Features

This example shows how to create a Content Based Image Retrieval (CBIR) system using a customized bag-of-features workflow.

Image Retrieval with Bag of Visual Words

Retrieve images from a collection of images similar to a query image using a content-based image retrieval (CBIR) system.

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.

Label Images for Classification Model Training

Label objects in images.

Was this topic helpful?