blsMerged = mergeBlockLocationSets(bls1,bims1,bls2,bims2)
merges two block location sets, bls1 and bls2.
Each block location set selects blocks from the corresponding array of blocked images,
bims1 or bims2, respectively.
[blsMerged,bimsAll] = mergeBlockLocationSets(bls1,bims1,bls2,bims2)
also returns the set of all blocked images contributing to the merged block location
set.
The tissue regions occupy a large portion of the image. When selecting tissue blocks, reduce the size of the data set by adding a gap between sampled blocks. The returned blockLocationSet object contains 184 tissue blocks.
Display the relatively homogeneous regions. Define a homogeneous region as a region in which at least 90% of pixels are true in the stained region, as defined by the mask.
The homogeneous regions occupy a much smaller portion of the image. To select a balanced number of blocks, oversample the homogeneous blocks. The returned blockLocationSet object contains 166 homogeneous blocks.
bls1 — First set of block locations blockLocationSet object
First set of block locations, specified as a blockLocationSet object.
bims1 — First set of blocked images blockedImage object | array of blockedImage objects
First set of blocked images, specified as a blockedImage
object or an array of blockedImage objects. These images correspond to
the images sampled by bls1.
bls2 — Second set of block locations blockLocationSet object
Second set of block locations, specified as a blockLocationSet object.
bims2 — Second set of blocked images blockedImage object | array of blockedImage objects
Second set of blocked images, specified as a blockedImage
object or an array of blockedImage objects. These images correspond to
the images sampled by bls2
blsMerged — Merged set of block locations blockLocationSet object
Merged set of block locations, returned as a blockLocationSet object.
bimsAll — Blocked images array of blockedImage objects
All blocked images, returned as an array of blockedImage objects.
If bims1 and bims2 are identical, then
bimsAll is also identical to bims1 and
bims2. Otherwise, bimsAll is equal to
[bims1bims2].
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.