Skip to content

ENH: Add option to use 26 neighbor kernel for SegmentFeatures class. - #1373

Merged
joeykleingers merged 6 commits into
BlueQuartzSoftware:developfrom
imikejackson:issue/issue_1321_26_neighbor_segment
Oct 21, 2025
Merged

ENH: Add option to use 26 neighbor kernel for SegmentFeatures class.#1373
joeykleingers merged 6 commits into
BlueQuartzSoftware:developfrom
imikejackson:issue/issue_1321_26_neighbor_segment

Conversation

@imikejackson

@imikejackson imikejackson commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Summary

API and Parameters were added to the "Segment Features" filters to use all 26 connected neighbors or the default 6 face neighbors.

  • Documentation for each filter was updated
  • Unit test was updated
  • All effected pipelines were updated

@imikejackson
imikejackson requested a review from JDuffeyBQ July 22, 2025 16:21
@imikejackson
imikejackson force-pushed the issue/issue_1321_26_neighbor_segment branch 2 times, most recently from 5077c6f to 11a9ee5 Compare July 22, 2025 19:50
@imikejackson
imikejackson force-pushed the issue/issue_1321_26_neighbor_segment branch from 11a9ee5 to 32ea4cd Compare August 7, 2025 16:48
@imikejackson
imikejackson force-pushed the issue/issue_1321_26_neighbor_segment branch from 32ea4cd to f5a5d7b Compare September 5, 2025 16:30
@imikejackson
imikejackson force-pushed the issue/issue_1321_26_neighbor_segment branch from f5a5d7b to 54d3a04 Compare September 29, 2025 12:06
@imikejackson
imikejackson force-pushed the issue/issue_1321_26_neighbor_segment branch from 54d3a04 to 66270ed Compare October 6, 2025 19:32
imikejackson and others added 4 commits October 16, 2025 12:12
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>
@joeykleingers
joeykleingers force-pushed the issue/issue_1321_26_neighbor_segment branch from 66270ed to 8d589bb Compare October 16, 2025 18:03
Comment thread src/simplnx/Utilities/SegmentFeatures.hpp Outdated
Comment thread src/simplnx/Utilities/SegmentFeatures.cpp Outdated
joeykleingers and others added 2 commits October 21, 2025 10:01
Co-authored-by: Jared Duffey <jared.duffey@bluequartz.net>
Co-authored-by: Jared Duffey <jared.duffey@bluequartz.net>
@joeykleingers
joeykleingers merged commit c7f0f1d into BlueQuartzSoftware:develop Oct 21, 2025
6 checks passed
@imikejackson
imikejackson deleted the issue/issue_1321_26_neighbor_segment branch October 21, 2025 19:07
imikejackson added a commit to imikejackson/simplnx that referenced this pull request Jul 24, 2026
… refills

* The IsPeriodic option (added in BlueQuartzSoftware#1291) has been silently ignored since
  the BlueQuartzSoftware#1373 neighbor refactor dropped the wrap logic from the shared
  SegmentFeatures driver. getFaceNeighbors/getAllNeighbors now take
  isPeriodic and emit the wrap-around neighbor for boundary cells (each
  axis wraps independently; axes of extent 1 never wrap), and the driver
  reports when a Feature crosses a periodic boundary, matching the
  documented behavior. Pinned by periodic-wrap tests for EBSD (face) and
  Scalar (face and 26-neighbor schemes).
* The burst worklist was shrunk to size 1 after every feature, so the
  first accepted neighbor of each subsequent feature re-grew it by 100k
  elements and re-wrote 100k -1 sentinels that nothing ever reads. The
  list now keeps its high-water size across features and is never
  sentinel-filled; only indices below the live count are read.

Fixes BlueQuartzSoftware#1690
Fixes BlueQuartzSoftware#1691

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
imikejackson added a commit to imikejackson/simplnx that referenced this pull request Jul 27, 2026
… refills

* The IsPeriodic option (added in BlueQuartzSoftware#1291) has been silently ignored since
  the BlueQuartzSoftware#1373 neighbor refactor dropped the wrap logic from the shared
  SegmentFeatures driver. getFaceNeighbors/getAllNeighbors now take
  isPeriodic and emit the wrap-around neighbor for boundary cells (each
  axis wraps independently; axes of extent 1 never wrap), and the driver
  reports when a Feature crosses a periodic boundary, matching the
  documented behavior. Pinned by periodic-wrap tests for EBSD (face) and
  Scalar (face and 26-neighbor schemes).
* The burst worklist was shrunk to size 1 after every feature, so the
  first accepted neighbor of each subsequent feature re-grew it by 100k
  elements and re-wrote 100k -1 sentinels that nothing ever reads. The
  list now keeps its high-water size across features and is never
  sentinel-filled; only indices below the live count are read.

Fixes BlueQuartzSoftware#1690
Fixes BlueQuartzSoftware#1691

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants