主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

使用深度学习进行图像处理

使用深度神经网络执行图像处理任务,例如去除图像噪声和执行图像到图像的转换(需要 Deep Learning Toolbox™)

深度学习使用神经网络直接从数据中学习有用的特征表示。例如,您可以使用预训练神经网络来识别和去除图像中的噪声等项。

A noisy image is passed to a trained denoising network, which returns a denoised image.

函数

全部展开

augmentedImageDatastore变换批量以增强图像数据
blockedImageDatastore用于 blockedImage 对象中的图像块的数据存储 (自 R2021a 起)
denoisingImageDatastoreDenoising image datastore
imageDatastore图像数据的数据存储
randomPatchExtractionDatastoreDatastore for extracting random 2-D or 3-D random patches from images or pixel label images
transform变换数据存储
combine合并来自多个数据存储的数据
jitterColorHSVRandomly alter color of pixels
randomWindow2dRandomly select rectangular region in image (自 R2021a 起)
randomCropWindow3dCreate randomized cuboidal cropping window
centerCropWindow2dCreate rectangular center cropping window
centerCropWindow3dCreate cuboidal center cropping window
RectangleSpatial extents of 2-D rectangular region
CuboidSpatial extents of 3-D cuboidal region
randomAffine2dCreate randomized 2-D affine transformation
randomAffine3dCreate randomized 3-D affine transformation
affineOutputViewCreate output view for warping images
imeraseRemove image pixels within rectangular region of interest (自 R2021a 起)
resize2dLayer2-D resize layer
resize3dLayer3-D resize layer
dlresizeResize spatial dimensions of dlarray object
DepthToSpace2DLayerDepth to space layer (自 R2021a 起)
SpaceToDepthLayerSpace to depth layer
depthToSpaceRearrange dlarray data from depth dimension into spatial blocks (自 R2021a 起)
spaceToDepthRearrange spatial blocks of dlarray data along depth dimension (自 R2021a 起)
encoderDecoderNetworkCreate encoder-decoder network (自 R2021a 起)
blockedNetworkCreate network with repeating block structure (自 R2021a 起)
pretrainedEncoderNetworkCreate encoder network from pretrained network (自 R2021a 起)
cycleGANGeneratorCreate CycleGAN generator network for image-to-image translation (自 R2021a 起)
patchGANDiscriminatorCreate PatchGAN discriminator network (自 R2021a 起)
pix2pixHDGlobalGeneratorCreate pix2pixHD global generator network (自 R2021a 起)
addPix2PixHDLocalEnhancerAdd local enhancer network to pix2pixHD generator network (自 R2021a 起)
unitGeneratorCreate unsupervised image-to-image translation (UNIT) generator network (自 R2021a 起)
unitPredictPerform inference using unsupervised image-to-image translation (UNIT) network (自 R2021a 起)
denoiseImageDenoise image using deep neural network
denoisingNetwork获取图像去噪网络
dnCNNLayersGet denoising convolutional neural network layers

主题

预处理图像数据以进行深度学习

创建用于图像处理应用的神经网络

MATLAB 中进行深度学习

  • 在 MATLAB 中进行深度学习 (Deep Learning Toolbox)
    通过使用卷积神经网络进行分类和回归来探索 MATLAB 的深度学习能力,包括预训练网络和迁移学习,以及在 GPU、CPU、集群和云上进行训练。
  • 使用深度学习进行语义分割 (Computer Vision Toolbox)
    此示例说明如何使用语义分割网络来分割图像。

精选示例