get handles using contrast feature