def histograms(img, nbins):
 return _histograms.histograms(img, nbins)

def histograms ( img , nbins ) : return _histograms . histograms ( img , nbins )
calculate the channel histograms of the current image .