Lines Matching refs:scale
29 def scale_img(img, scale=1.0): argument
31 dim = (int(img.shape[1]*scale), int(img.shape[0]*scale))
71 … self.xnorm, self.ynorm, self.wnorm, self.hnorm, self.scale = its.image.chart_located_per_argv()
87 self.scale = 1.0
152 self.scale = s_factor
159 for scale in numpy.arange(scale_start, scale_stop, scale_step):
160 scene_scaled = scale_img(scene_gray, scale)
164 print ' scale factor: %.3f, opt val: %.f' % (scale, opt_val)
183 self.scale = scale_start + scale_step * match_index
184 print 'Optimum scale factor: %.3f' % self.scale
189 top_left = (int(top_left_scaled[0]/self.scale),
190 int(top_left_scaled[1]/self.scale))
191 bottom_right = (int(bottom_right_scaled[0]/self.scale),
192 int(bottom_right_scaled[1]/self.scale))