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.

类别

帮助中心File Exchange 中查找有关 Mathematics and Optimization 的更多信息

产品

版本

R2021b

提问:

2022-11-18

Community Treasure Hunt

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

Start Hunting!

Translated by