Add iteration to sigma detection.
Add iteration to sigma detection.

Untill no more pixels removed or number of iterations = 5

jason-neal/equanimous-octo-tribble,jason-neal/equanimous-octo-tribble,jason-neal/equanimous-octo-tribble