Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Dimension incompatibility of NRRD files with ITK-snap

オープン
#76 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

まず、DeepAtlas パイプラインが出力 NRRD ファイルを書き込む場所を追跡し、表示されているヘッダーがどのように生成されるかを調べます。ALDH1L1.nrrd を使用して ITK-Snap で失敗を再現し、その後、ヘッダーを手動で書き直さなくても生成されたファイルを読み取れることを確認します。

索引モデルが issue の本文から書いたものです。

説明

The output NRRD files from the DeepAtlas pipeline cannot be read by ITK-snap visualization software.
The problem seems to be linked to the header setting.

Here is the error encountered:
/data/hippogang/build/buildbot/Nightly/itk/v5.2.1/itk/Modules/IO/NRRD/src/itkNrrdImageIO.cxx:292: itk::ERROR: NrrdImageIO(0x561df21fdfb0): ReadImageInformation: Error reading /gpfs/bbp.cscs.ch/project/proj137/piluso/atlas-densities/data/ccfv2/marker_volumes/ALDH1L1.nrrd:
[nrrd] nrrdLoad: trouble reading "/gpfs/bbp.cscs.ch/project/proj137/piluso/atlas-densities/data/ccfv2/marker_volumes/ALDH1L1.nrrd"
[nrrd] nrrdRead: trouble
[nrrd] _nrrdRead: trouble reading NRRD file
[nrrd] _nrrdFormatNRRD_read: trouble parsing space directions info |(25,0,0) (0,25,0) (0,0,25)|
[nrrd] _nrrdReadNrrdParse_space_directions: trouble getting space vector 4 of 4
[nrrd] _nrrdSpaceVectorParse: hit end of string before seeing (

with the header being:
OrderedDict([('type', 'float'), ('dimension', 4), ('space dimension', 3), ('sizes', array([528, 320, 456, 3])), ('space directions', array([[25., 0., 0.], [ 0., 25., 0.], [ 0., 0., 25.]])), ('endian', 'little'), ('encoding', 'gzip'), ('space origin', array([0., 0., 0.]))])

When rewriting the raw data in modifying the header:
OrderedDict([('type', 'float'), ('dimension', 3), ('sizes', array([528, 320, 456])), ('endian', 'little'), ('encoding', 'gzip')])
ITK-snap is able to read the output NRRD file.

主要言語
Python
スター
4
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BlueBrain/Deep-Atlas のほかの issue

BlueBrain/Deep-Atlas の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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