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개)

카테고리

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