Support #1314 » process_img.py
| 1 |
#!/usr/bin/env python
|
|---|---|
| 2 |
# -*- coding: utf-8 -*-
|
| 3 |
# ˅
|
| 4 |
|
| 5 |
# ˄
|
| 6 |
|
| 7 |
|
| 8 |
class ProcessImg(object): |
| 9 |
# ˅
|
| 10 |
|
| 11 |
# ˄
|
| 12 |
|
| 13 |
def def __init__(self, self, gamma, alpha, config): |
| 14 |
# ˅
|
| 15 |
pass
|
| 16 |
# ˄
|
| 17 |
|
| 18 |
def operation0(self): |
| 19 |
# ˅
|
| 20 |
pass
|
| 21 |
# ˄
|
| 22 |
|
| 23 |
def AlphaBlend(self, img1, img2, alpha): |
| 24 |
# ˅
|
| 25 |
pass
|
| 26 |
# ˄
|
| 27 |
|
| 28 |
def AlphaGamma(self, image, gamma, alpha): |
| 29 |
# ˅
|
| 30 |
pass
|
| 31 |
# ˄
|
| 32 |
|
| 33 |
def CalculateOverlap(self, img1, img2): |
| 34 |
# ˅
|
| 35 |
pass
|
| 36 |
# ˄
|
| 37 |
|
| 38 |
def CropImage(self, path): |
| 39 |
# ˅
|
| 40 |
pass
|
| 41 |
# ˄
|
| 42 |
|
| 43 |
# ˅
|
| 44 |
|
| 45 |
# ˄
|
| 46 |
|
| 47 |
|
| 48 |
# ˅
|
| 49 |
|
| 50 |
# ˄
|