DOC: Compute Feature Phases Binary describes a per-Cell output, but writes one value per Feature
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- cpp
- 領域
- backend, documentation
調査の方向性
src/Plugins/SimplnxCore/docs/ComputeFeaturePhasesBinaryFilter.md と src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ComputeFeaturePhasesBinaryFilter.cpp のパラメーター定義を読みます。ドキュメント、出力パラメーターのヘルプテキスト、separator を更新し、混在するマスクの動作を含めて、Feature Id でインデックス付けされた Feature ごとの配列について説明します。これらの説明で一貫して Feature Attribute Matrix を指定できれば完了です。preflight 検証と例示テストについては、issue で未解決の質問として残されています。
索引モデルが issue の本文から書いたものです。
説明
Summary
The documentation and the parameter text of Compute Feature Phases Binary describe a per-Cell output, but the filter writes one value per Feature. A user who follows the documentation gets an array that does not contain what the documentation says.
What the documentation says now
- The documentation page says that the filter "assigns a binary Ensemble Id number to each Cell", and that "every true Cell is assigned Ensemble 1 and every false Cell is assigned Ensemble 0" (ComputeFeaturePhasesBinaryFilter.md line 9).
- The output Attribute Matrix parameter is named Cell Data Attribute Matrix, with the help text "The Cell Data Attribute Matrix within the Image Geometry where the Binary Phases Array will be created". The output parameters are under the separator Output Cell Data (ComputeFeaturePhasesBinaryFilter.cpp lines 63-68).
How the filter works now
- The algorithm uses the Feature Id of each Cell as the output index:
featurePhasesCache[featureId] = maskBuffer[index] != 0(ComputeFeaturePhasesBinary.cpp lines 105-109). Output tuple n is the value for Feature n. - When the Cells of one Feature have different mask values, the last Cell of that Feature in Cell order sets the value of the Feature.
- The output array gets the tuple shape of the selected Attribute Matrix (ComputeFeaturePhasesBinaryFilter.cpp line 98). When a user selects the Cell Attribute Matrix, as the parameter name tells them to, the result is a Cell-sized array. Its first tuples hold one value per Feature, and the other tuples stay 0.
- This matches the legacy DREAM3D filter
FindFeaturePhasesBinary, which creates its output in the Cell Feature Attribute Matrix by default (FindFeaturePhasesBinary.cpp line 56). The output parameter name Binary Feature Phases Array Name and its help text ("to specify to which Ensemble each Feature belongs") also describe a per-Feature array. - The exemplar test selects the Cell Attribute Matrix (
EBSD Scan Data) as the output location, and compares with a legacy exemplar that is stored there (ComputeFeaturePhasesBinaryTest.cpp line 47).
What is requested
- The documentation page describes the per-Feature output: the output is indexed by Feature Id, it belongs in a Feature Attribute Matrix, and the last Cell of a Feature with mixed mask values sets the value of that Feature.
- The output Attribute Matrix parameter, its help text and the Output Cell Data separator describe a Feature Attribute Matrix.
Still open: whether preflight should also reject an output Attribute Matrix that is not a Feature Attribute Matrix, and whether the exemplar test should move its output to the Feature Attribute Matrix.
- 主要言語
- C++
- スター
- 18
- フォーク
- 15
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BlueQuartzSoftware/simplnx のほかの issue
-
bug Filter
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BlueQuartzSoftware/simplnx#1891 ·
メンテナーはふだん 4 日以内に返信
-
bug Filter
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BlueQuartzSoftware/simplnx#1860 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
BlueQuartzSoftware/simplnx#1847 ·
メンテナーはふだん 4 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
BlueQuartzSoftware/simplnx#1846 ·
メンテナーはふだん 4 日以内に返信
-
bug Filter
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BlueQuartzSoftware/simplnx#1844 ·
メンテナーはふだん 4 日以内に返信
BlueQuartzSoftware/simplnx の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ROCm/FastFlowLM#887 ·
メンテナーはふだん 1 日以内に返信
-
paraview 6.2.0 uses Abseil 20260526 symbols but does not pin libabseil (undefined symbol with libabseil 20260817)対応中かも @jschueller が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
bug medium priority openmp tokenizer wrong result
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
apache/casbin-cpp#277 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
iamaisim/ProjectAirSim#241 ·
メンテナーはふだん 1 日以内に返信