Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Change collapse strategy. #419

Merged
merged 1 commit into from
Jan 6, 2023
Merged

ENH: Change collapse strategy. #419

merged 1 commit into from
Jan 6, 2023

Conversation

ntustison
Copy link
Member

No description provided.

@ntustison ntustison merged commit 417f484 into master Jan 6, 2023
@ntustison ntustison deleted the CollapseGuess branch January 6, 2023 04:09
@@ -33,7 +33,7 @@ py::capsule sliceImage( py::capsule antsImage, int plane, int slice)

filter->SetExtractionRegion( desiredRegion );
filter->SetInput( itkImage );
filter->SetDirectionCollapseToSubmatrix();
filter->SetDirectionCollapseToGuess();
Copy link
Member

Choose a reason for hiding this comment

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

what does this do? just concerned about backward compatibility issues as I have lots of data processed the old way ( sub matrix )

Copy link
Member

Choose a reason for hiding this comment

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

perhaps better to add a command line option and keep the old behavior as default

@ntustison
Copy link
Member Author

Sure. I'll add a command line option. I was just getting annoyed with that exception for a non-positive definite sub-matrix but your solution is better.

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