Closedown
This commit is contained in:
@@ -3,14 +3,14 @@ import java.awt.Color as Color
|
||||
|
||||
|
||||
#ip = load_array(img.getData().getMatrix())
|
||||
#ip = load_array(img.getOutput())
|
||||
ip = load_image("{images}/test3.png", title="Image")
|
||||
ip = load_image(img.getOutput())
|
||||
#ip = load_image("{images}/test3.png", title="Image")
|
||||
|
||||
|
||||
aux = grayscale(ip, in_place=False)
|
||||
aux.show()
|
||||
|
||||
convolve(aux, KERNEL_SOBEL); aux.repaintWindow()
|
||||
#convolve(aux, KERNEL_SOBEL); aux.repaintWindow()
|
||||
|
||||
invert(aux); aux.repaintWindow()
|
||||
subtract_background(aux); aux.repaintWindow()
|
||||
|
||||
Reference in New Issue
Block a user