def corner_shi_tomasi(image, sigma=1):
 (Axx, Axy, Ayy) = structure_tensor(image, sigma)
 response = (((Axx + Ayy) - np.sqrt((((Axx - Ayy) ** 2) + (4 * (Axy ** 2))))) / 2)
 return response

def corner_shi_tomasi ( image , sigma = 1 ) : ( Axx , Axy , Ayy ) = structure_tensor ( image , sigma ) response = ( ( ( Axx + Ayy ) - np . sqrt ( ( ( ( Axx - Ayy ) ** 2 ) + ( 4 * ( Axy ** 2 ) ) ) ) ) / 2 ) return response
compute shi-tomasi corner measure response image .