def METHOD_NAME(mask_type, h, w):
    """
    create mask according to shape
    """
    mask = np.zeros((h, w, 3))
    coords = shape_coords(h, w, mask_type)
    for i in range(h):
        for j in range(w):
            if in_polygon(i, j, coords):
                mask[i, j, :] = 1
    return mask