Datastore to manage blocks of big image data
A bigimageDatastore
object manages a collection of image blocks
that belong to one or more bigimage
objects. A
bigimageDatastore
is analogous to an imageDatastore
, which
manages a collection of unrelated images.
bigds = bigimageDatastore(images)
creates a datastore that
manages a collection of image blocks at the finest resolution level of one or more
bigimage
objects, Images.
bigds = bigimageDatastore(images,levels,
also uses name-value pairs to set one or more Properties except for
Name,Value
)BlockLocationSet
. You can specify multiple name-value pairs.
Enclose each property name in quotes.
bigimageDatastore(bigimg,3,'BlockSize',[128
128],'IncompleteBlocks','pad')
creates a datastore that reads blocks of size
128-by-128 at resolution level 3 from big image bigimg
and zero-pads
partial edge blocks.bigds = bigimageDatastore(images,'BlockLocationSet',blockLocationSet)
creates a datastore that reads blocks from bigimage
objects,
Images, using the
resolution level, block size, and block positions specified by BlockLocationSet.
bigds = bigimageDatastore(images,'BlockLocationSet',blockLocationSet,
also uses name-value pairs to set one or more of the BorderSize, IncompleteBlocks,
PadMethod, and ReadSize properties. You
can specify multiple name-value pairs. Enclose each property name in quotes.Name,Value
)
bigimageDatastore(bigimg,'BlockLocationSet',bls,'ReadSize',4)
creates a datastore that reads four blocks at a time from big images
bigimg
according to the position, block size, and resolution level
specified by bls
.combine | Combine data from multiple datastores |
countEachLabel | Count number of pixel labels for each class of
bigimageDatastore |
hasdata | Determine if data is available to read |
numpartitions | Number of datastore partitions |
partition | Partition bigimageDatastore |
preview | Preview subset of data in datastore |
read | Read data from bigimageDatastore |
readRelative | Read neighboring block from bigimageDatastore using relative
position |
reset | Reset datastore to initial state |
shuffle | Shuffle data in datastore |
transform | Transform datastore |
isPartitionable | Determine whether datastore is partitionable |
isShuffleable | Determine whether datastore is shuffleable |
[1]