This looks good. The missing region is due to how you specify the threshold range - you need to pay attention to cells that have points above and below the threshold value. Probably the simplest is to call threshold filter twice: first with InvertOff()
then with InvertOn()
.