Пример #1
0
		def compute():
			print analysis_strategy.histogram(self.args.histogram[0],
					int(self.args.histogram[1]))
	def _(self, image):
		n_buckets = 4
		h = analysis_strategy.histogram(image, n_buckets)
		ok (h[0]) == 6
 def _(self, image):
     n_buckets = 4
     h = analysis_strategy.histogram(image, n_buckets)
     ok(h[0]) == 6
Пример #4
0
 def compute():
     print analysis_strategy.histogram(self.args.histogram[0],
                                       int(self.args.histogram[1]))