
How can I create
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I refer to this URL to create
here is my codes.
0 comentarios
Respuesta aceptada
  Kenta
      
 el 20 de Jul. de 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)
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

