added threshold image example