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 Local Binary Pattern Image Filter #357

Merged
merged 3 commits into from
Mar 14, 2018
Merged

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Mar 7, 2018

Requires skimage to function. skimage is not added to the requirements and only imported when the function is called. If the package is unavailable, a warning is logged and no image is yielded (does not crash the extraction, but no features for LBP are calculated)

@JoostJM JoostJM force-pushed the add-lbp branch 2 times, most recently from 344d694 to 60b4be9 Compare March 13, 2018 09:10
@JoostJM JoostJM changed the title Add Local Binary Pattern 2D Image Filter Add Local Binary Pattern Image Filter Mar 14, 2018
@JoostJM JoostJM added this to the PyRadiomics 2.0 Release milestone Mar 14, 2018
JoostJM added 3 commits March 14, 2018 15:58
Requires `skimage` to function. `skimage` is not added to the requirements and only imported when the function is called. If the package is unavailable, a warning is logged and no image is yielded (does not crash the extraction, but no features for LBP are calculated)
Uses spherical harmonics implemented in `scipy` and defines an icosphere (implemented in `trimesh`) to sample neighbours. Derived images are returned for each level, with an additional derived image for the kurtosis.

To reduce computation time/cost, LBP is only calculated for voxels included in the segmentation. To implement this, the signature
of a filter function is changed (in addition to the image, the mask is also passed to the function). Update the examples, feature extractor and
documentation accordingly.
@JoostJM JoostJM merged commit 62b3cbd into AIM-Harvard:master Mar 14, 2018
@JoostJM JoostJM deleted the add-lbp branch March 21, 2018 10:15
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.

1 participant