Lines Matching refs:patch
514 patch = get_image_patch(y, patch_x, patch_y, patch_w, patch_h)
515 luma = compute_image_means(patch)[0]
1550 patch = yuv_img[y : y + h, x : x + w]
1552 'luma': numpy.std(patch[:, :, 0]),
1553 'chroma_u': numpy.std(patch[:, :, 1]),
1554 'chroma_v': numpy.std(patch[:, :, 2]),
1713 patch = img[int(y):int(y+h), int(x):int(x+w)]
1717 write_image(patch/_CH_FULL_SCALE, patch_path)
1718 cropped_patch = patch[patch_margin:-patch_margin,
1773 patch = img[y:y+h, x:x+w]
1774 slanted_edge_patch = patch[patch_margin:-patch_margin,