Lines Matching refs:scale
60 def scale_img(img, scale=1.0): argument
62 dim = (int(img.shape[1]*scale), int(img.shape[0]*scale))
104 … self.xnorm, self.ynorm, self.wnorm, self.hnorm, self.scale = its.image.chart_located_per_argv()
120 self.scale = 1.0
185 self.scale = s_factor
192 for scale in numpy.arange(scale_start, scale_stop, scale_step):
193 scene_scaled = scale_img(scene_gray, scale)
200 print ' scale factor: %.3f, opt val: %.f' % (scale, opt_val)
219 self.scale = scale_start + scale_step * match_index
220 print 'Optimum scale factor: %.3f' % self.scale
225 top_left = (int(top_left_scaled[0]/self.scale),
226 int(top_left_scaled[1]/self.scale))
227 bottom_right = (int(bottom_right_scaled[0]/self.scale),
228 int(bottom_right_scaled[1]/self.scale))