Aan de slagGa gratis aan de slag

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 shape attribute.
  • 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.

Deze oefening maakt deel uit van de cursus

Biomedical Image Analysis in Python

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen