diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-18 14:55:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-18 14:55:07 +0200 |
| commit | 1025033f2fc0ea3e399c1e4cebad6ddc46be84bb (patch) | |
| tree | 401c9ce6a89198f061d9eeab850044ae4ff8a5de | |
| parent | b07f27c0b94f782061d58956ed7f4038568d7b85 (diff) | |
img ops!!
| -rw-r--r-- | rpc/img_ops.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/img_ops.py b/rpc/img_ops.py index 69f6813..ffdddc5 100644 --- a/rpc/img_ops.py +++ b/rpc/img_ops.py @@ -2,6 +2,9 @@ import os import numpy as np import cv2 import math +from PIL import Image, ImageOps +from skimage.transform import resize +from scipy.misc import imresize def clamp(n,a,b): return max(a, min(n, b)) |
