InsightSoftwareConsortium / InsightSoftwareConsortium/ITKSphinxExamples
Add example notebook for interfacing with Numpy
Offen
area:Bridge
Good first issue
type:Python Notebook
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 59
- Forks
- 70
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 12
Beschreibung
- Demonstrate initializing a numpy array and converting to ITK image format with `itk.image_from_array` and `itk.image_view_from_array`
- Demonstrate manipulating an ITK image as a numpy array with `itk.array_from_image` and `itk.array_view_from_image`
- Demonstrate ITK's ~KJI~ IJK notation vs numpy's ~IJK~ KJI notation with `itk.size(image)` vs `image.shape`
EDIT: Fixed `image_view_from_array` and `array_view_from_image`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.