-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactoring #1
Comments
|
|
|
To-Do list
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refactor Christian's MALPEM package to make it a MIRTK extension package which uses MIRTK commands instead of deprecated IRTK binaries.
MIRTK replacements
seg_maths
(NiftySeg):mirtk.calculate_element_wise
-bin
: use (current image>0) to binariseseg_maths image.nii -bin mask.nii
mirtk.calculate_element_wise('image.nii', '-threshold-le', 0, '-pad', 0, '-set', 1, '-out', 'mask.nii')
-thr
-uthr
-mul
-add
-sub
-div
cl_create4D
:mirtk.combine_images
cl_pairwiseSymDOF
:mirtk.average_dofs
cl_apply_mask
mirtk.calculate_element_wise('scan.nii', '-mask', 'mask.nii', '-pad', -1, '-out', brain.nii')
convert
:mirtk.convert_image
cl_extract_frame
:mirtk.extract_image_volume
cl_averageDOFs
:mirtk.average_dofs
dofinvert
:mirtk.invert_dof
dofcombine
:mirtk.compose_dofs
ireg
:mirtk.register
transformation
:mirtk.transform_image
display
: Usemirtk.rendering.screenshots
module for report generation.Custom tools
cl_compute_volume
: Consider adding this to core MIRTK applicationscl_gaussian_fusion
cl_malpem
cl_malpem4D
pincram-0.2.3_ireg.sh
(see below)scale.sh
(see below)External dependencies
N4
(also used by Draw-EM package, see here... though binary shouldn't be in repo)The text was updated successfully, but these errors were encountered: