Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(24)  |  Call(6)  |  Derive(2)  |  Import(16)

src/l/i/licenseplates-HEAD/src/LocalBinaryPatternizer.py   licenseplates(Download)
from Histogram import Histogram
from math import ceil
 
class LocalBinaryPatternizer:
    """This class generates a Local Binary Pattern of a given image."""
 
            for j in xrange(cells_in_width):
                self.histograms[i].append(Histogram(self.bins, 0, self.bins))
 
    def pattern_3x3(self, y, x, value):
    def get_single_histogram(self):
        """Create a single histogram of the local binary patterns in the
        image."""
        h = Histogram(self.bins, 0, self.bins)
 

src/d/a/datagram-0.1/datagram/__init__.py   datagram(Download)
    #__import__(module, globals(), locals(), [])
 
from Histogram import Histogram
from Distribution import Distribution, distributions
from fit import fit, fit_np, KS_statistics

src/l/i/licenseplates-HEAD/src/test_histogram.py   licenseplates(Download)
#!/usr/bin/python
from Histogram import Histogram
 
his = Histogram(10, 10, 110)
his.add(10)