Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NutriMorph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DEBREUVE Eric
NutriMorph
Commits
56ee3805
Commit
56ee3805
authored
5 years ago
by
NADAL Morgane
Browse files
Options
Downloads
Patches
Plain Diff
Created PySide2 Image Verification algo (still some bugs!!)
parent
d84ad67e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
nutrimorph.py
+3
-0
3 additions, 0 deletions
nutrimorph.py
parameters.ini
+2
-2
2 additions, 2 deletions
parameters.ini
parameters.py
+4
-4
4 additions, 4 deletions
parameters.py
with
9 additions
and
6 deletions
nutrimorph.py
+
3
−
0
View file @
56ee3805
...
...
@@ -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
"
],
...
...
This diff is collapsed.
Click to expand it.
parameters.ini
+
2
−
2
View file @
56ee3805
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
parameters.py
+
4
−
4
View file @
56ee3805
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment