Skip to main content

A simple library that extracts brain features from a Brain Tomography.

Project description

Brain Feature Extractor

A simple library that extracts brain features from a Brain Tomography. The constructed features refer to the regions:

  • cerebrospinal fluid;

  • clacification;

  • gray matter;

  • white matter;

  • ischemic stroke;

  • hemorrhagic stroke.

NOTE: The input image must be a file in DICOM format.

Installation


pip install brain-radiodensity-feature-extractor

Get started

How to extract features from a brain scan:

from brain_feature_extractor import BrainFeatureExtractorGMM



# Instancing the MGABTD-percent extractor

extractor = BrainFeatureExtractorGMM(percentage=0.3, pixel_level_feature=False)



# Extracting features from the image

print(extractor.extract_features(path='sample/image157_isquemico.dcm', verbose=True))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page