How can I create

4 vues (au cours des 30 derniers jours)
donna
donna le 18 Juil 2020
Modifié(e) : donna le 23 Juil 2020
I refer to this URL to create
here is my codes.

Réponse acceptée

Kenta
Kenta le 20 Juil 2020
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)

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by