lcat.featurization package

Submodules

lcat.featurization.body_depth module

Body depth featurization module.

lcat.featurization.body_depth.featurize_center(scan)[source]

Featurize the given scan, returning body depth statistics.

lcat.featurization.center module

X, Y and Z featurization module.

lcat.featurization.center.featurize_center(scan)[source]

Featurize the given scan, returning tracheal distance statistics.

lcat.featurization.characteristics module

Characteristics featurization module.

lcat.featurization.characteristics.featurize_characteristics(scan)[source]

Featurize the given scan, returning nodule characteristics.

lcat.featurization.region_properties module

X, Y and Z featurization module.

lcat.featurization.region_properties.calculate_equivalent_diameter(nodule_mask, unit_cell)[source]

Calculate and return the equivalent diameter of a sphere with the same volume as the given nodule.

lcat.featurization.region_properties.calculate_max_intensity(nodule_mask, intensity_image)[source]

Calculate and return the maximum intensity of the nodule represented by nodule_mask in intensity_image

lcat.featurization.region_properties.calculate_mean_intensity(nodule_mask, intensity_image)[source]

Calculate and return the average intensity of the nodule represented by nodule_mask in intensity_image

lcat.featurization.region_properties.calculate_min_intensity(nodule_mask, intensity_image)[source]

Calculate and return the minimum intensity of the nodule represented by nodule_mask in intensity_image

lcat.featurization.region_properties.calculate_volume(nodule_mask, unit_cell)[source]

Calculate and return the volume occupied by the nodule represented by the given nodule_mask.

lcat.featurization.region_properties.featurize_region_properties(scan)[source]

Featurize the given scan, returning tracheal distance statistics.

lcat.featurization.registry module

Feature registry module of Lung Cancer Action Team package.

lcat.featurization.registry.featurize_scan(scan)[source]

Featurize the given scan, using all available featurizers. Returns a pandas DataFrame with all featurizer results, indexed by patient_id and nodule_id using a MultiIndex.

lcat.featurization.registry.featurize_scan_single(scan, featurizer_name)[source]

Featurize the given scan, using the specified featurizer. Returns a pandas DataFrame with all featurizer results, indexed by patient_id and nodule_id using a MultiIndex.

lcat.featurization.registry.register_featurizer(featurizer_name)[source]

Function decorator which registers the given function under the argument featurizer_name as a featurizer. The function must accept a single scan and return a pandas DataFrame containing columns representing features and rows representing nodules. The Index must specify the nodule_id for each nodule.

lcat.featurization.tracheal_distance module

Tracheal distance featurization module.

lcat.featurization.tracheal_distance.featurize_tracheal_distance(scan)[source]

Featurize the given scan, returning tracheal distance statistics.

Module contents

Featurization package of the Lung Cancer Action Team toolkit.