This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import zarr | |
from matplotlib import pyplot as plt | |
from PIL import Image | |
from tqdm import tqdm | |
import open3d as o3d | |
Image.MAX_IMAGE_PIXELS = None | |
# Taken from ThaumatoAnakalyptor by Julian Schiliger | |
def orient_uvs(vertices): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import open3d as o3d | |
import numpy as np | |
import igl | |
from PIL import Image | |
from scipy.spatial import Delaunay | |
Image.MAX_IMAGE_PIXELS = None | |
def find_affine_2dtransform(src_pts, dst_pts): | |
""" |