filter_ridge_structures¶
-
nighres.filtering.
filter_ridge_structures
(input_image, structure_intensity='bright', output_type='probability', use_strict_min_max_filter=True, save_data=False, overwrite=False, output_dir=None, file_name=None)[source]¶ Filter Ridge Structures
Uses an image filter to make a probabilistic image of ridge structures.
Parameters: - input_image (niimg) – Image containing structure-of-interest
- structure_intensity ({'bright', 'dark', 'both}) – Image intensity of structure-of-interest’
- output_type ({'probability','intensity'}) – Whether the image should be normalized to reflect probabilities
- use_strict_min_max_filter (bool, optional) – Choose between the more specific recursive ridge filter or a more sensitive bidirectional filter (default is True)
- save_data (bool, optional) – Save output data to file (default is False)
- overwrite (bool) – Overwrite existing results (default is False)
- output_dir (str, optional) – Path to desired output directory, will be created if it doesn’t exist
- file_name (str, optional) – Desired base name for output files with file extension (suffixes will be added)
Returns: Dictionary collecting outputs under the following keys (suffix of output files in brackets)
- ridge_structure_image: Image that reflects the presensence of ridges in the image (_rdg-img)
Return type: Notes
Original Java module by Pierre-Louis Bazin.