Closedown
This commit is contained in:
@@ -9,8 +9,9 @@ line = load_image("{images}/line.png", title="Line")
|
||||
line.getProcessor().setBackgroundValue(0.0)
|
||||
|
||||
#renderer = show_panel(line.bufferedImage)
|
||||
ip = get_image()
|
||||
|
||||
#ip = get_image()
|
||||
ip = average_frames(5)
|
||||
ip =grayscale(ip)
|
||||
|
||||
smooth(ip)
|
||||
#bandpass_filter(ip, 30, 1000)
|
||||
@@ -32,7 +33,7 @@ for m in AutoThresholder.getMethods():
|
||||
renderer = show_panel(aux.bufferedImage)
|
||||
time.sleep(1.0)
|
||||
"""
|
||||
#binary_fill_holes(ip, dark_background=True)
|
||||
binary_dilate(ip, dark_background=False)
|
||||
#binary_fill_holes(ip, dark_background=False)
|
||||
#binary_open(ip, dark_background=Tr)
|
||||
|
||||
@@ -45,13 +46,16 @@ renderer = show_panel(ip.bufferedImage)
|
||||
|
||||
|
||||
|
||||
line = sub_image(line, 89, 89, 1024, 1024)
|
||||
ip = sub_image(ip, 89, 89, 1024, 1024)
|
||||
line = sub_image(line, 325, 325, 512, 512)
|
||||
ip = sub_image(ip, 325, 325, 512, 512)
|
||||
#op = op_fft(ip, line, "correlate")
|
||||
|
||||
|
||||
renderer = show_panel(ip.bufferedImage)
|
||||
|
||||
#renderer = show_panel(op.bufferedImage)
|
||||
#line.show()
|
||||
|
||||
"""
|
||||
vals = []
|
||||
for i in range (180):
|
||||
l = line.duplicate()
|
||||
@@ -64,8 +68,8 @@ for i in range (180):
|
||||
|
||||
#renderer = show_panel(op.bufferedImage)
|
||||
#time.sleep(0.001)
|
||||
|
||||
|
||||
plot(vals)
|
||||
"""
|
||||
#image_fft(ip)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user