Skip to main content

Module utils

Module utils 

Source
Expand description

Utility Functions for Hyperdimensional Computing

This module provides general-purpose utility functions that support HDC operations including pattern matching, overlap calculations, and feature analysis helpers.

Functionsยง

analyze_patch_for_feature
Analyze image patch for specific feature types
calculate_intersection_area
Calculate bounding box intersection area
calculate_overlap
Calculate overlap between two pattern matches
calculate_union_area
Calculate bounding box union area
filter_matches_by_confidence
Filter pattern matches by confidence threshold
merge_nearby_matches
Merge nearby pattern matches
non_maximum_suppression
Non-maximum suppression for pattern matches