Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 56ee3805 authored by NADAL Morgane's avatar NADAL Morgane
Browse files

Created PySide2 Image Verification algo (still some bugs!!)

parent d84ad67e
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,9 @@ dijkstra_costs = in_.DijkstraCosts(image, som_nfo["map"], ext_nfo["map"])
# -- Soma-Extention
print("\n--- Soma <-> Extension")
max_straight_sq_dist_c = in_.ToPixel(max_straight_sq_dist_c, size_voxel_in_micron)
max_weighted_length_c = in_.ToPixel(max_weighted_length_c, size_voxel_in_micron)
candidate_conn_nfo = cn_.CandidateConnections(
somas,
som_nfo["influence_map"],
......
......@@ -56,8 +56,8 @@ ext_min_area_c: 0.24050024 * 100
;ext_min_area_c: 100 # pixels
[Connexions]
max_straight_sq_dist_c: 30 ** 2
max_weighted_length_c: 20.0
max_straight_sq_dist_c: (30 ** 2) * 0.24050024
max_weighted_length_c: 20.0 * 0.24050024
[Program Running]
with_plot: True
......
......@@ -37,16 +37,16 @@ with_plot = False
soma_low_c = 0.15
soma_high_c = 0.7126
ext_low_c = 0.2 # 0.02 # 0.2 # ext_low_c = 9.0e-4
ext_high_c = 0.6 # 0.04 # 0.6 # high_ext = 8.0e-3
ext_low_c = 3 #1e-7 ##0.2 # 0.02 # 0.2 # ext_low_c = 9.0e-4
ext_high_c = 1e-10 #1.2e-7 ##0.6 # 0.04 # 0.6 # high_ext = 8.0e-3
# soma_selem_c = mp_.disk(2)
soma_selem_micron_c = 0.24050024 * 2
# ext_selem_c = mp_.disk(1)
ext_selem_micron_c = 0.24050024 * 1
max_straight_sq_dist_c = 30 ** 2
max_weighted_length_c = 20.0
max_straight_sq_dist_c = (30 ** 2) * 0.24050024
max_weighted_length_c = 20.0 * 0.24050024
soma_min_area_c = 1000 * 0.24050024
ext_min_area_c = 100 * 0.24050024
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment