applied a threshold on the NCC value to remove noise. (Not widely tested yet)

Signed-off-by: Enliang <ezheng@cs.unc.edu>