partition
(Not recommended) Divide image set into subsets
The partition
function of the imageSet
object is not recommended. Instead, use the imageDatastore
object and its partition
function. For more information, see Version History.
Syntax
Description
[
partitions the input image set, set1,set2,...,setN
] = partition(imgSet
,groupSizes
)imgSet
, into subsets of size
groupSizes
.
[
partitions the input image set, set1,set2,...,setN
] = partition(imgSet
,groupPercentages
)imgSet
, in terms of
percentages.
[
additionally specifies a method, set1,set2,...,setN
] = partition(___,method
)'sequential'
or
'randomized'
.