For 3D randomPatc​hExtractio​nDatastore​, does the PatchesPerImage include the 3rd dimension?

1 view (last 30 days)
For 3D randomPatchExtractionDatastore, does the PatchesPerImage include the 3rd dimension?
Say, by setting PatchesPerImage=8, will it produce 2x2x2 cubes of patches?
Thanks.

Answers (1)

KH TOHIDUL ISLAM
KH TOHIDUL ISLAM on 18 Jan 2023
  • A 3-element vector of positive integers for 3-D patches. PatchSize has the form [r c p] where r specifies the number of rows, c specifies the number of columns, and p specifies the number of planes in the patch.

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!