Skip to content

Episode 4, Exercise 3 Image coordinates, Slicing and Projections #22

@sommerc

Description

@sommerc

Brief description

  1. Use example data-sets with different imaging modalites to map the physical meaning of an array axis. E.g. Time is first axis then Y and X. Or ZYX. (Optional) Mention typical ordering patterns such as TZCYX and singleton dimensions and how to deal with them.
  2. Introduce:
    • numpy indexing to retrieve single pixel values / or together with : to effectively bind a dimension
    • python slices (start, stop) and their use in numpy arrays to access spatial subregions (2D)
    • mixture the two: to select axis aligned sub-slices from 3D data
  3. Add the step to effectively sub-sampling arrays. Exampels: Temproral and spatal. Negative step for mirroring
  4. Intruduce mean, max, median projections and give examples applying them to example data sets.

Learning objective(s)

covered

Volunteer(s)

@sommerc

Metadata

Metadata

Assignees

No one assigned

    Labels

    exercise-proposalProposed exercises for the new curriculum

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions