Example #1
0
    def test_8_selfQuotient(self):
        '''selfQuotient Normalization: .....................................'''
        ilog = None
        if 'ilog' in list(globals().keys()):
            ilog = globals()['ilog']

        norm = pv.selfQuotientImage(self.tile)

        if ilog != None:
            ilog.log(norm, label="selfQuotient_Normalization")

        mat = norm.asMatrix2D()
        self.assertAlmostEqual(mat.mean(), 0.98861616849899292, delta=0.001)
        self.assertAlmostEqual(mat.std(), 0.1647989569275968, delta=0.001)
Example #2
0
 def test_8_selfQuotient(self):
     '''selfQuotient Normalization: .....................................'''
     ilog = None
     if 'ilog' in list(globals().keys()):
         ilog = globals()['ilog']
         
     norm = pv.selfQuotientImage(self.tile)
     
     if ilog != None:
         ilog.log(norm,label="selfQuotient_Normalization")
         
     mat = norm.asMatrix2D()
     self.assertAlmostEqual(mat.mean(),0.98861616849899292,delta=0.001)
     self.assertAlmostEqual(mat.std(),0.1647989569275968,delta=0.001)
Example #3
0
 def test_8_selfQuotient(self):
     '''selfQuotient Normalization: .....................................'''
     ilog = None
     if 'ilog' in globals().keys():
         ilog = globals()['ilog']
         
     norm = pv.selfQuotientImage(self.tile)
     
     if ilog != None:
         ilog.log(norm,label="selfQuotient_Normalization")
         
     mat = norm.asMatrix2D()
     self.assertAlmostEqual(mat.mean(),0.99385333061218262,places=3)
     self.assertAlmostEqual(mat.std(),0.089332874756000477,places=3)