def run(self, ips, snap, img, para=None): pts = find_maximum(self.ips.img, para['tol'], False) ips.roi = ROI([Points(pts[:, ::-1])]) ips.update()
def run(self, ips, snap, img, para = None): cimg = feature.corner_moravec(img, window_size=para['size']) pts = feature.corner_peaks(cimg, min_distance=1) ips.roi = ROI([Points(pts[:,::-1])])
def run(self, ips, snap, img, para = None): cimg = feature.corner_shi_tomasi(img, sigma=para['sigma']) pts = feature.corner_peaks(cimg, min_distance=1) ips.roi = ROI([Points(pts[:,::-1])])
def run(self, ips, snap, img, para = None): cimg = feature.corner_kitchen_rosenfeld(img, mode='constant', cval=para['cval']) pts = feature.corner_peaks(cimg, min_distance=1) ips.roi = ROI([Points(pts[:,::-1])])