def extract_spatial_features(image, fv):
    s = np.sum(image)
    m = np.mean(image)
    v = np.var(image)
    fv.extend([s, m, v])
    sobel_fv = sobel_features(image)
    fv.extend(sobel_fv)
Example #2
0
def extract_spatial_features(image, fv):
    s = np.sum(image)
    m = np.mean(image)
    v = np.var(image)
    fv.extend([s, m, v])
    sobel_fv = sobel_features(image)
    fv.extend(sobel_fv)
Example #3
0
def extract_spatial_features(image, fv):
    sobel_fv = sobel_features(image)
    fv.extend(sobel_fv)
def extract_spatial_features(image, fv):
    sobel_fv = sobel_features(image)
    fv.extend(sobel_fv)