feat(process): enhance segmentation correction with additional parameters
Added new configuration options (`area_threshold`, `closing_kernel_size`, `aspect_ratio_min`, `aspect_ratio_max`) for improved segmentation correction in processing pipeline. These changes preserve true nodes of Ranvier by filtering based on cluster size and aspect ratio, and fill interruptions in nerve segments using morphological operations. Updated the function and documentation to reflect these enhancements. This improves accuracy and reliability of image segmentation results.
Loading
Please register or sign in to comment