How to input 3D image into "randomPat​chExtracti​onDatastor​e"?

The 3D image is in (x,y,z) format with a name "image3d" in a "the3dimage.mat" file. The image file names are correct in the datastore. How to define the "ReadFcn" to input the 3d image into the "transform" as well as the "randomPatchExtractionDatastore"?
Thank you for your help.

Catégories

En savoir plus sur Mathematics and Optimization dans Centre d'aide et File Exchange

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by