28 lines
460 B
Python
Executable File
28 lines
460 B
Python
Executable File
#run("pip")
|
|
from pip import *
|
|
|
|
ip = load_image("{data}/img/img3.png")
|
|
|
|
auto_threshold(ip)
|
|
|
|
#binary_outline(ip)
|
|
#binary_fill_holes(ip)
|
|
ip.show()
|
|
|
|
|
|
|
|
(results,output_img)=analyse_particles(ip, 100,1000, print_table=True)
|
|
output_img.show()
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
#static int SHOW_MASKS
|
|
#static int SHOW_NONE
|
|
#static int SHOW_OUTLINES
|
|
#static int SHOW_OVERLAY_MASKS
|
|
#static int SHOW_OVERLAY_OUTLINES
|
|
#static int SHOW_PROGRESS
|
|
#static int SHOW_RESULTS
|
|
#static int SHOW_ROI_MASKS |