data = gather(bim)
returns an image in the workspace formed by assembling all the blocks of the
blockedImage, bim. By default,
gather collects blocks from the coarsest level (level with the least
amount of data).
Create a blocked image using a modified version of image "tumor_091.tif" from the CAMELYON16 data set. The original image is a training image of a lymph node containing tumor tissue. The original image has eight resolution levels, and the finest level has resolution 53760-by-61440. The modified image has only three resolution levels. The spatial referencing of the modified image has been adjusted to enforce a consistent aspect ratio and to register features at each level.
bim = blockedImage('tumor_091R.tif');
Use gather to extract the coarsest resolution level. By default, gather returns the coarsest level.
level_coarsest = gather(bim);
Use gather to extract the finest resolution level. You must specify the resolution level. The finest resolution level is always numbered 1.
level_finest = gather(bim, "Level", 1);
Display the coarsest resolution level and finest resolution level side-by-side.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.