示例#1
0
 def __init__(self, vPoints=None, bPoints=None,
              gPoints=None, rPoints=None, dtype=numpy.uint8):
     BGRFuncFilter.__init__(self,
                            utils.createCurveFunc(vPoints),
                            utils.createCurveFunc(bPoints),
                            utils.createCurveFunc(gPoints),
                            utils.createCurveFunc(rPoints), dtype)
示例#2
0
 def __init__(self, vPoints = None, bPoints = None,
              gPoints = None, rPoints = None, dtype = numpy.uint8):
     BGRFuncFilter.__init__(self,
                            utils.createCurveFunc(vPoints),
                            utils.createCurveFunc(bPoints),
                            utils.createCurveFunc(gPoints),
                            utils.createCurveFunc(rPoints), dtype)
示例#3
0
 def __init__(self, vPoints=None, bPoints=None,
              gPoints=None, rPoints=None, dtype=numpy.uint8):
     super().__init__(
         utils.createCurveFunc(vPoints),
         utils.createCurveFunc(bPoints),
         utils.createCurveFunc(gPoints),
         utils.createCurveFunc(rPoints), dtype)
示例#4
0
 def __init__(self,
              vpoints=None,
              rpoints=None,
              gpoints=None,
              bpoints=None,
              dtype=numpy.uint8):
     BGRFuncFilter.__init__(self, utils.createCurveFunc(vpoints),
                            utils.createCurveFunc(rpoints),
                            utils.createCurveFunc(gpoints),
                            utils.createCurveFunc(bpoints), dtype)
示例#5
0
 def __init__(self,
              vPoints = None,
              bPoints = None,
              gPoints = None,
              rPoints = None,
              dtype = numpy.uint8):
     """
     初期化する
     :param vPoints:
     :type vPoints: list[tuple]
     :param bPoints:
     :type bPoints: list[tuple]
     :param gPoints:
     :type gPoints: list[tuple]
     :param rPoints:
     :type rPoints: list[tuple]
     :param dtype:
     :return:
     """
     BGRFuncFilter.__init__(self,
                            utils.createCurveFunc(vPoints),
                            utils.createCurveFunc(bPoints),
                            utils.createCurveFunc(gPoints),
                            utils.createCurveFunc(rPoints))
示例#6
0
 def __init__(self, vPoints, dtype=numpy.uint8):
     VFuncFilter.__init__(self, utils.createCurveFunc(vPoints), dtype)
示例#7
0
 def __init__(self, points, dtype=numpy.uint8):
     VFuncFilters(utils.createCurveFunc(points), dtype)
示例#8
0
 def __init__(self, vPoints, dtype = numpy.uint8):
     VFuncFilter.__init__(self, utils.createCurveFunc(vPoints),dtype)