Closedown

This commit is contained in:
gac-S_Changer
2017-07-07 15:24:54 +02:00
parent 960a644a9b
commit d5e31e6c48
2 changed files with 8 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ img.backgroundEnabled=False
REF = (0,96,125)
line = load_image("{images}/line.png", title="Line")
#line = load_image("{images}/line360.png", title="Line")
line.getProcessor().setBackgroundValue(0.0)
@@ -36,7 +37,7 @@ for m in AutoThresholder.getMethods():
renderer = show_panel(aux.bufferedImage)
time.sleep(1.0)
"""
binary_dilate(ip, dark_background=False)
#binary_dilate(ip, dark_background=False)
#binary_fill_holes(ip, dark_background=False)
#binary_open(ip, dark_background=Tr)
@@ -49,8 +50,10 @@ renderer = show_panel(ip.bufferedImage)
line = sub_image(line, 325, 325, 512, 512)
ip = sub_image(ip, 325, 325, 512, 512)
#line = sub_image(line, 325, 325, 512, 512)
#ip = sub_image(ip, 325, 325, 512, 512)
line = sub_image(line, 453, 453, 256, 256)
ip = sub_image(ip, 453, 453, 256, 256)
#op = op_fft(ip, line, "correlate")

View File

@@ -18,7 +18,8 @@ puck_layout = (
(14, 'C', 120, 4, 40.89, 180.40, 198.40, 189.40, 160.89, 59.06 , -170.46, 64.95 , -187.47),
(15, 'C', 120, 5, 30.00, 111.90, 129.90, 120.90, 150.00, 55.95 , -96.91 , 64.95 , -112.50),
(16, 'D', 180, 1, 0.00 , 57.00 , 75.00 , 66.00 , 180.00, 0.00 , -57.00 , 0.00 , -75.00),
(17, 'D', 180, 2, 0.00 , 132.00, 150.00, 141.00, 180.00, 0.00 , -132.00, 0.00 , -150.00),
(17, 'D', 180, 2, 0.00 , 132.00, 150.00
, 141.00, 180.00, 0.00 , -132.00, 0.00 , -150.00),
(18, 'D', 180, 3, 19.11, 180.40, 198.40, 189.40, 199.11, -59.06 , -170.46, -64.95 , -187.47),
(19, 'D', 180, 4, 40.89, 180.40, 198.40, 189.40, 220.89, -118.09, -136.38, -129.87, -149.98),
(20, 'D', 180, 5, 30.00, 111.90, 129.90, 120.90, 210.00, -55.95 , -96.91 , -64.95 , -112.50),