Add threaded calculations for filtering and circle detection