Esempio n. 1
0
 def test_ccf_objects_2D_31x20(self):
     """test ccf*: objects 2D, 31x20.........................."""
     from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
     A = self.internal_test_image(31, 20)
     B = self.internal_test_image2(31, 20)
     self.internal_check_ccf(A, B, ccf(A, B, False), ccfn(A, B, False),
                             ccfp(A, B, False), ccfnp(A, B, False),
                             ccfpl(A, B, False), ccfnpl(A, B, False),
                             ccf(A, B, True), ccfn(A, B, True),
                             ccfp(A, B, True), ccfnp(A, B, True),
                             ccfpl(A, B, True), ccfnpl(A, B, True))
Esempio n. 2
0
 def test_ccf_objects_2D_21x31(self):
     """test ccf*: objects 2D, 21x31.........................."""
     from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
     A = self.internal_test_image(21, 31)
     B = self.internal_test_image2(21, 31)
     self.internal_check_ccf(A, B, ccf(A, B, False), ccfn(A, B, False),
                             ccfp(A, B, False), ccfnp(A, B, False),
                             ccfpl(A, B, False), ccfnpl(A, B, False),
                             ccf(A, B, True), ccfn(A, B, True),
                             ccfp(A, B, True), ccfnp(A, B, True),
                             ccfpl(A, B, True), ccfnpl(A, B, True))
Esempio n. 3
0
 def test_ccf_circle_2D_31x20(self):
     """test ccf*: circle 2D, 31x20.........................."""
     from utilities import model_circle
     from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
     A = model_circle(7, 31, 20)
     B = model_circle(4, 31, 20)
     self.internal_check_ccf(A, B, ccf(A, B, False), ccfn(A, B, False),
                             ccfp(A, B, False), ccfnp(A, B, False),
                             ccfpl(A, B, False), ccfnpl(A, B, False),
                             ccf(A, B, True), ccfn(A, B, True),
                             ccfp(A, B, True), ccfnp(A, B, True),
                             ccfpl(A, B, True), ccfnpl(A, B, True))
Esempio n. 4
0
	def test_ccf_objects_2D_31x20(self):
		"""test ccf*: objects 2D, 31x20.........................."""
		from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
		A = self.internal_test_image(31, 20)
		B = self.internal_test_image2(31, 20)
		self.internal_check_ccf(A, B, ccf(A,B,False), ccfn(A,B,False), ccfp(A,B,False), ccfnp(A,B,False), ccfpl(A,B,False), ccfnpl(A,B,False)
									, ccf(A,B,True ), ccfn(A,B,True ), ccfp(A,B,True ), ccfnp(A,B,True ), ccfpl(A,B,True ), ccfnpl(A,B,True ) )
Esempio n. 5
0
	def test_ccf_objects_2D_21x31(self):
		"""test ccf*: objects 2D, 21x31.........................."""
		from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
		A = self.internal_test_image(21, 31)
		B = self.internal_test_image2(21, 31)
		self.internal_check_ccf(A, B, ccf(A,B,False), ccfn(A,B,False), ccfp(A,B,False), ccfnp(A,B,False), ccfpl(A,B,False), ccfnpl(A,B,False)
									, ccf(A,B,True ), ccfn(A,B,True ), ccfp(A,B,True ), ccfnp(A,B,True ), ccfpl(A,B,True ), ccfnpl(A,B,True ) )
Esempio n. 6
0
	def test_ccf_circle_2D_31x20(self):
		"""test ccf*: circle 2D, 31x20.........................."""
		from utilities import model_circle
		from fundamentals import ccf, ccfn, ccfnp, ccfnpl, ccfp, ccfpl
		A = model_circle(7, 31, 20)
		B = model_circle(4, 31, 20)
		self.internal_check_ccf(A, B, ccf(A,B,False), ccfn(A,B,False), ccfp(A,B,False), ccfnp(A,B,False), ccfpl(A,B,False), ccfnpl(A,B,False)
									, ccf(A,B,True ), ccfn(A,B,True ), ccfp(A,B,True ), ccfnp(A,B,True ), ccfpl(A,B,True ), ccfnpl(A,B,True ) )