Skip to content

feature/thomas-intensity-changes-b - #243

Merged
trautmane merged 41 commits into
newsolverfrom
feature/thomas-intensity-changes-b
Aug 17, 2026
Merged

feature/thomas-intensity-changes-b#243
trautmane merged 41 commits into
newsolverfrom
feature/thomas-intensity-changes-b

Conversation

@trautmane

@trautmane trautmane commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

This pull request involves changing tile identifiers to improve render order, adding beam intensity correction as a spark pipeline step, and persisting/reusing within-MFOV match data during beam intensity correction and MFOV-as-tile processing.

trautmane added 30 commits July 31, 2026 13:29
…separate BeamCorrectionParameters class that can be more easily reused by spark pipelines
…CorrectionType parameter with possible values: OVERWRITE_SOURCE, WRITE_TO_TARGET, or SKIP
…sWithDifferentMFOVs method to removeMatchPairsThatReferenceTilesOutsideThisCollection
…service since we generate that match data in an earlier intensity correction step. The MFOVAsTileParameters deriveSfovMatchData field determines whether matches are simply read or are generated during the pre-alignment process. In "small" tests using 5 Google nodes with two w61_s140_r00 z layers, the run with deriveSfovMatchData=false took 61 minutes and the run with deriveSfovMatchData=true took 79 minutes.
…ive. This makes it a little clearer that you are excluding cross MFOV match pair patching when you specify a negative weight (rather than leaving the weight unspecified).
@trautmane
trautmane requested a review from minnerbe August 11, 2026 16:13
…hat wasted compute time (e.g. 15 minutes of a 90-minute run)

@minnerbe minnerbe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together, @trautmane! I have skimmed the code and only dug into a few targeted spots. All looks good to me. As always, my review comments are mostly just suggestions.


if (excludeSameMfovNeighbors && (pMfov.equals(MultiSemUtilities.getMagcMfovForTileId(qTileId)))) {
continue;
} else if (excludeDifferentMfovNeighbors && (! pMfov.equals(MultiSemUtilities.getMagcMfovForTileId(qTileId)))) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For readability, consider declaring final boolean isSameMfov = pMfov.equals(MultiSemUtilities.getMagcMfovForTileId(qTileId)).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree adding isSameMfov would improve readability, but because this spot in the code is heavily used for FIB-SEM data sets I prefer to save time (for the FIBSEM data sets) by not doing the multi-SEM string conversion and comparison unless the parameters indicate this is a multi-SEM stack.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment to explain this in the code

@trautmane
trautmane merged commit ff9f85f into newsolver Aug 17, 2026
2 checks passed
@trautmane
trautmane deleted the feature/thomas-intensity-changes-b branch August 17, 2026 20:19
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.

2 participants