Closedown
This commit is contained in:
17
script/test
17
script/test
@@ -1,17 +0,0 @@
|
||||
from ijutils import *
|
||||
import java.awt.Color as Color
|
||||
|
||||
|
||||
|
||||
def detect_samples(ip):
|
||||
aux = grayscale(ip, in_place=False)
|
||||
invert(aux)
|
||||
subtract_background(aux)
|
||||
auto_threshold(aux)
|
||||
binary_open(aux)
|
||||
return analyse_particles(aux, 250,1000,
|
||||
fill_holes = False, exclude_edges = True,print_table=True,
|
||||
output_image = "outlines", minCirc = 0.9, maxCirc = 1.0)
|
||||
|
||||
ip = load_array(img.getData().getMatrix())
|
||||
detect_samples(ip)
|
||||
Reference in New Issue
Block a user