-
Notifications
You must be signed in to change notification settings - Fork 65
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
Perfusion-related fixes (PHI, PerfusionPCA, GUI/CLI) #1476
Perfusion-related fixes (PHI, PerfusionPCA, GUI/CLI) #1476
Conversation
Check needed to be done for loading 4D and having 4D loaded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Accidentally put this on.
/*auto originalDirection = imageInfo.GetImageDirections(); | ||
ImageTypeFloat3D::DirectionType originalDirectionIn3D; | ||
for (int i = 0; i < 3; i++) | ||
{ | ||
for (int j = 0; j < 3; j++) | ||
{ | ||
originalDirectionIn3D[i][j] = originalDirection[i][j]; | ||
} | ||
} | ||
imageManager->SetOriginalDirection(originalDirectionIn3D); | ||
*/ | ||
//auto tempImage = cbica::GetImageOrientation< ImageTypeFloat4D >(imagePerf); | ||
//imageManager->SetOriginalOrientation(tempImage.first); | ||
//imagePerf = ChangeImageDirectionToIdentity< ImageTypeFloat4D >(tempImage.second); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for this commented code to be present? If yes, then please place a comment here.
//currentSubjectDir.setFilter(QDir::Files | QDir::Readable); | ||
//QStringList perfNameFilters, drawingNameFilters; | ||
//perfNameFilters << "*perf*.nii.gz" << "*DSC*.nii.gz"; | ||
//auto possibleInputFiles = currentSubjectDir.entryList(perfNameFilters); | ||
//drawingNameFilters << "*mask*.nii.gz" << "*labels*.nii.gz"; | ||
//auto possibleDrawingFiles = currentSubjectDir.entryList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this? If so, then comment, otherwise please remove.
I'll remove that commented code in the PR that updates the docs and version. Thanks @sarthakpati ! |
Fixed #1472
Fixed #1473
Fixed #1474
Fixed #1475
Seems to have also fixed #1450
Summary:
Adds a text indicator of 4D slice number to the slider bar.
Clarifies perfusionPCA filename requirements (but doesn't make them more intelligent).
Fixes loading of 4D and 3D images together.
Adds batch mode and time-points parameters to PHI (EGFRvIIISurrogateIndex).
Also disables self-host mac builds in the Azure pipeline. @sarthakpati may need to configure the requirements on GitHub side, not sure about that.