InsightSoftwareConsortium / InsightSoftwareConsortium/ITKSphinxExamples

Add example notebook for interfacing with Numpy

オープン
#344 コメント 6 件 リアクション 0 件 担当者 1 名 @andinet が担当を希望しています GitHub で見る
area:Bridge Good first issue type:Python Notebook
主要言語
Jupyter Notebook
スター
59
フォーク
70
平均マージ
1日 15時間
マージ済み PR(30日)
12

説明

- 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`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。