示例#1
0
 def __call__(self, image):
     if config.dimension() == 2:
         dbls = oofimage.grayify(image)
         bools = oofimage.threshold(dbls, self.T)
         oofimage.setFromBool(image, bools)
     elif config.dimension() == 3:
         image.threshold(self.T)
示例#2
0
 def __call__(self, image):
     if config.dimension() == 2:
         dbls = oofimage.grayify(image)
         bools = oofimage.threshold(dbls,self.T)
         oofimage.setFromBool(image,bools)
     elif config.dimension() == 3:
         image.threshold(self.T)
示例#3
0
 def __call__(self, image):
     dbls = oofimage.grayify(image)
     bools = oofimage.threshold(dbls, self.T)
     oofimage.setFromBool(image, bools)
示例#4
0
 def __call__(self, image):
     dbls = oofimage.grayify(image)
     bools = oofimage.threshold(dbls, .5)
     hough = imageops.houghTrans(bools)
示例#5
0
 def __call__(self, image):
     dbls = oofimage.grayify(image)
     bool1 = oofimage.threshold(dbls, .5)
     imageops.compare(bool1, self.val)
示例#6
0
 def __call__(self, image):
     dbls = oofimage.grayify(image)
     bools = oofimage.threshold(dbls,self.T)
     oofimage.setFromBool(image,bools)
示例#7
0
 def __call__(self, image):
     dbls = oofimage.grayify(image)
     bools = oofimage.threshold(dbls,.5)
     hough = imageops.houghTrans(bools)
示例#8
0
 def __call__(self,image):
     dbls=oofimage.grayify(image)
     bool1=oofimage.threshold(dbls,.5)
     imageops.compare(bool1,self.val)