How can I create

2 ビュー (過去 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 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by