Field of view
The amount of physical space covered by an image is its field of view, which is calculated from two properties:
- Array shape, the number of data elements on each axis. Can be accessed with the
shapeattribute. - Sampling resolution, the amount of physical space covered by each pixel. Sometimes available in metadata (e.g.,
meta['sampling']).
For this exercise, multiply the array shape and sampling resolution along each axis to calculate the field of view of vol. All values are in millimeters.
Este ejercicio forma parte del curso
Biomedical Image Analysis in Python
Ejercicio interactivo práctico
Pon en práctica la teoría con uno de nuestros ejercicios interactivos
Empezar ejercicio