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
cdcc8f12
Commit
cdcc8f12
authored
5 years ago
by
NADAL Morgane
Browse files
Options
Downloads
Patches
Plain Diff
modified selem (in micron) in prms + in other fcts
parent
c753b56b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
brick/general/feedback.py
+4
-4
4 additions, 4 deletions
brick/general/feedback.py
nutrimorph.py
+1
-1
1 addition, 1 deletion
nutrimorph.py
with
5 additions
and
5 deletions
brick/general/feedback.py
+
4
−
4
View file @
cdcc8f12
...
@@ -57,10 +57,10 @@ def PlotSomas(somas: Sequence[soma_t], som_nfo: dict, axes: dict) -> None:
...
@@ -57,10 +57,10 @@ def PlotSomas(somas: Sequence[soma_t], som_nfo: dict, axes: dict) -> None:
for
soma
in
somas
:
for
soma
in
somas
:
axes
[
soma
.
uid
]
=
ot_
.
PlotLMap
(
som_nfo
[
"
lmp
"
],
labels
=
soma
.
uid
)
axes
[
soma
.
uid
]
=
ot_
.
PlotLMap
(
som_nfo
[
"
lmp
"
],
labels
=
soma
.
uid
)
pl_
.
title
(
f
"
Soma.
{
soma
.
uid
}
"
)
pl_
.
title
(
f
"
Soma.
{
soma
.
uid
}
"
)
#
pl_.matshow(som_nfo["influence_map"].max(axis=0)), pl_.title("Soma Influencess")
pl_
.
matshow
(
som_nfo
[
"
influence_map
"
].
max
(
axis
=
0
)),
pl_
.
title
(
"
Soma Influencess
"
)
#
pl_.show(block=True)
pl_
.
show
(
block
=
True
)
#
pl_.matshow(som_nfo["dist_to_closest"].max(axis=0)), pl_.title("Soma Distances")
pl_
.
matshow
(
som_nfo
[
"
dist_to_closest
"
].
max
(
axis
=
0
)),
pl_
.
title
(
"
Soma Distances
"
)
#
pl_.show(block=True)
pl_
.
show
(
block
=
True
)
def
PlotExtensions
(
def
PlotExtensions
(
...
...
This diff is collapsed.
Click to expand it.
nutrimorph.py
+
1
−
1
View file @
cdcc8f12
...
@@ -96,7 +96,7 @@ image = io_.imread(data_path)
...
@@ -96,7 +96,7 @@ image = io_.imread(data_path)
# Image size verification - simple version without user interface
# Image size verification - simple version without user interface
image
=
in_
.
ImageVerification
(
image
,
channel
)
image
=
in_
.
ImageVerification
(
image
,
channel
)
# TODO make a user friendly interface (PySide2)
BUT bug with the importat
ion of
Shiboken2 on Windows8.1.
# TODO make a user friendly interface (PySide2)
/!\ conflicts between some vers
ion
s
of
PySide2 and Python3
image
=
image
[:,
512
:,
512
:]
# 562
image
=
image
[:,
512
:,
512
:]
# 562
img_shape
=
image
.
shape
img_shape
=
image
.
shape
...
...
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