def windowed_histogram(image, selem, out=None, mask=None, shift_x=False, shift_y=False, n_bins=None):
 if (n_bins is None):
  n_bins = (int(image.max()) + 1)
 return _apply_vector_per_pixel(generic_cy._windowed_hist, image, selem, out=out, mask=mask, shift_x=shift_x, shift_y=shift_y, out_dtype=np.double, pixel_size=n_bins)

def windowed_histogram ( image , selem , out = None , mask = None , shift_x = False , shift_y = False , n_bins = None ) : if ( n_bins is None ) : n_bins = ( int ( image . max ( ) ) + 1 ) return _apply_vector_per_pixel ( generic_cy . _windowed_hist , image , selem , out = out , mask = mask , shift_x = shift_x , shift_y = shift_y , out_dtype = np . double , pixel_size = n_bins )
normalized sliding window histogram parameters image : ndarray image array .