How can I create

5 次查看(过去 30 天)
donna
donna 2020-7-18
编辑: donna 2020-7-23
I refer to this URL to create
here is my codes.

采纳的回答

Kenta
Kenta 2020-7-20
The output you want is something like below, right?
Do not use preview function. First, specify the minibatch size as you want.
patchds = randomPatchExtractionDatastore(imds1,imds2,[16 16], ...
'DataAugmentation',augmenter,'PatchesPerImage',256)
patchds.MiniBatchSize=256;
Preview a set of augmented image patches and the corresponding smoothed image patches using read function.
patchesRead=read(patchds);
inputPatch=patchesRead.InputImage;
figure;montage(inputPatch)
Likewise, display the response images.
ResponsePatch=patchesRead.ResponseImage;
figure;montage(ResponsePatch)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by