It seems I have been succesfull with my Java implementation for the Active Boundaries indicator

Name:  ZA818.png
Views: 1017
Size:  60.7 KB


Although your result it is smoother than mine (do you smooth the AB with EMA or any other filter?), the overall path seems quite similar


Name:  ZA819.png
Views: 1033
Size:  62.2 KB

I am using the second method you propose at pag.110

Thanks