This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

15
script/image/image9.py Executable file
View File

@@ -0,0 +1,15 @@
run("pip")
ip1 = load_image("{data}/img/grid.png", title="Grid")
ip2 = load_image("{data}/img/square.png", title="Square")
grayscale(ip1)
grayscale(ip2)
cor = op_fft(ip1, ip2, "correlate", True)
con = op_fft(ip1, ip2, "convolve", True)
dec = op_fft(con, ip2, "deconvolve", True)
create_stack([ip1,ip2,grayscale(cor,False),grayscale(con,False),grayscale(dec,False)]).show()