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: Support regularization transform hardening in DICOM Scalar plugin #7362
Conversation
994d98b
to
d533d5a
Compare
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.
Thanks for working on this 👍
Another stylistic comment is that the commit message is longer than recommended.
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.
Sorry for all the nitpicks : )
But the diffusion issue is important since I don't think the current code will work.
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.
Ahhh, looks nice now : )
perfect, thanks for the review :) |
4881501
to
dc9e9d7
Compare
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.
Suggested commit message:
ENH: Add DICOM grouping frames by orientation and add harden transform option
Update the ScalarVolume DICOM plugin adding:
* subseries grouping by orientation
* harden transform option in the DICOM settings.
@jcfr ok, tomorrow I will squash and change the commit message, thanks! regarding the eps vs self.epsilon, I don't have strong preferences. However the default value of self.epsilon is 0.01. While we need a default value of 1.e-6 for the orientation check. We could multiply self.epsilon for a factor in |
To improve on #7362 (review):
I think this better describe what was implemented and help understand why.
Consider also updating: Slicer/Docs/user_guide/modules/dicom.md Lines 184 to 187 in ba80bdd
|
If the epsilon used in For context, see #7362 (comment) |
Agreed! |
0779fac
to
7ba13d2
Compare
@jcfr I have applied last round of feedback! |
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.
Thank you all for the reviews, this looks good to me. I just added a remark on improving comments.
Update the logic identifying sub-series (each loaded as independent volume node) to support grouping by orientation and add harden a new DICOM settings option to enable automatic hardening of the corresponding regularization transform. Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Thanks Andras for the feedback. comments applied! |
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.
Pending local testing is successful 🚀
@Punzo Could you confirm that you performed local testing using the latest version ? |
this PR adds: