Deep Learning Data Preprocessing

Manage and preprocess data for deep learning

Preprocessing data is a common first step in the deep learning workflow to prepare raw data in a format that the network can accept. For example, you can resize image input to match the size of an image input layer. You can also preprocess data to enhance desired features or reduce artifacts that can bias the network. For example, you can normalize or remove noise from input data.

You can preprocess image input with operations such as resizing by using datastores and functions available in MATLAB® and Deep Learning Toolbox™. Other MATLAB toolboxes offer functions, datastores, and apps for labeling, processing, and augmenting deep learning data. Use specialized tools from other MATLAB toolboxes to process data for domains such as image processing, object detection, semantic segmentation, signal processing, audio processing, and text analytics.

Apps

Image LabelerLabel images for computer vision applications
Video LabelerLabel video for computer vision applications
Ground Truth LabelerLabel ground truth data for automated driving applications
Signal LabelerLabel signals for analysis or machine and deep learning applications
Audio LabelerDefine and visualize ground-truth labels

Topics

Preprocess Deep Learning Data

Preprocess Images for Deep Learning

Learn how to resize images for training, prediction, and classification, and how to preprocess images using data augmentation, transformations, and specialized datastores.

Preprocess Volumes for Deep Learning

Read and preprocess volumetric image and label data for 3-D deep learning.

Preprocess Data for Domain-Specific Deep Learning Applications

Perform deterministic or randomized data processing for domains such as image processing, object detection, semantic segmentation, signal and audio processing, and text analytics.

Label Ground Truth Training Data

Label Pixels for Semantic Segmentation (Computer Vision Toolbox)

Label pixels for semantic segmentation using Image Labeler, Video Labeler, or Ground Truth Labeler app.

Get Started with the Ground Truth Labeler (Automated Driving Toolbox)

Interactively label rectangular ROIs, polylines, or pixels in a video or image sequence by using the Ground Truth Labeler app.

Automatically Label Signals (Signal Processing Toolbox)

Perform automated labeling of signals.

Label Audio Using Audio Labeler (Audio Toolbox)

Interactively define and visualize ground-truth labels for audio datasets.

Customize Datastores

Datastores for Deep Learning

Learn how to use datastores in deep learning applications.

Prepare Datastore for Image-to-Image Regression

This example shows how to prepare a datastore for training an image-to-image regression network using the transform and combine functions of ImageDatastore.

Train Network Using Out-of-Memory Sequence Data

This example shows how to train a deep learning network on out-of-memory sequence data by transforming and combining datastores.

Classify Text Data Using Convolutional Neural Network

This example shows how to classify text data using a convolutional neural network.

Classify Out-of-Memory Text Data Using Deep Learning

This example shows how to classify out-of-memory text data with a deep learning network using a transformed datastore.