AFQ.recognition.criteria#
Attributes#
Functions#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Filters streamlines by how well they match |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Warp ROIs and apply distance-transform conversion |
|
|
|
|
|
|
|
Module Contents#
- AFQ.recognition.criteria.criteria_order_chunk_local = ['length', 'endpoint_dists', 'cross_midline', 'start', 'end', 'prob_map', 'primary_axis',...[source]#
- AFQ.recognition.criteria.criteria_order_pre_other_bundles = ['length', 'endpoint_dists', 'cross_midline', 'start', 'end', 'prob_map', 'primary_axis',...[source]#
- AFQ.recognition.criteria.criteria_order_post_other_bundles = ['orient_mahal', 'isolation_forest', 'qb_thresh'][source]#
- AFQ.recognition.criteria.valid_noncriterion = ['space', 'mahal', 'inc_addtol', 'exc_addtol', 'exact_endpoints', 'ORG_spectral_subbundles',...[source]#
- AFQ.recognition.criteria.prob_map(b_sls, bundle_def, preproc_plan, prob_threshold, img, **kwargs)[source]#
- AFQ.recognition.criteria.curvature(b_sls, bundle_def, mapping, img, save_intermediates, **kwargs)[source]#
Filters streamlines by how well they match a curve in orientation and shape but not scale
- AFQ.recognition.criteria.recobundles(b_sls, mapping, bundle_def, reg_template, img, refine_reco, save_intermediates, rng, rb_recognize_params, **kwargs)[source]#
- AFQ.recognition.criteria.clean_by_other_bundle(b_sls, bundle_def, img, other_bundle_name, other_bundle_sls, **kwargs)[source]#
- AFQ.recognition.criteria.mahalanobis(b_sls, bundle_def, clip_edges, cleaning_params, **kwargs)[source]#
- AFQ.recognition.criteria._prepare_bundle_def(bundle_dict, bundle_name, mapping, img)[source]#
Warp ROIs and apply distance-transform conversion
- AFQ.recognition.criteria._validate_criteria(bundle_def, bundle_name, bundle_dict, recognized_bundles_dict)[source]#
- AFQ.recognition.criteria._run_chunk_local(bundle_def, chunk_streamlines, bundle_name, img, preproc_plan, save_intermediates, vox_dim, tol, dist_to_atlas, **segmentation_params)[source]#