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

Add optional resegmentation of mask #302

Merged
merged 1 commit into from Sep 12, 2017

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Sep 7, 2017

Add functionality to resegment the mask prior to calculation of features (ony applies to firstorder / texture, no resegmentation possible prior to shape feature calculation). Introduces new parameter resegmentRange, a list of 2 floats which define the lower and upper threshold, respectively. Values outside the range specified are removed from the mask. After successful resegmentation, the resultant mask is rechecked to ensure it is still valid (using function imageoperations.checkMask()). A value of None (the default value) for the parameter resegmentRange disables resegmentation.

cc @Radiomics/developers

Add functionality to resegment the mask prior to calculation of features (ony applies to firstorder / texture, no resegmentation possible prior to shape feature calculation). Introduces new parameter `resegmentRange`, a list of 2 floats which define the lower and upper threshold, respectively. Values outside the range specified are removed from the mask. When the resultant size is too small (parameter `minimumROISize`, default 1), an error is logged and the original mask is used. A value of None (the default value) for the parameter `resegmentRange` disables resegmentation.
@JoostJM JoostJM merged commit 0a0eb4f into AIM-Harvard:master Sep 12, 2017
@JoostJM JoostJM deleted the add-resegementation branch September 13, 2017 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant