Introduction to VivoScript – Part III: Automated Segmentation
Histogram based auto-thresholding (based on Otsu’s algorithm) is a great way to automatically segment two Gaussian distributions of values, e.g. background vs. animal. In this post we are looking into automating this process and placing the segmentation function into a library file so it can be reused in other scripts.